CVE-2022-48999·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference Gwangun Jung reported a slab-out-of-bounds access in fib_nh_match: fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961 fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753 inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874 Separate nexthop objects are mutually exclusive with the legacy multipath spec. Fix fib_nh_match to return if the config for the to be deleted route contains a multipath spec while the fib_info is using a nexthop object.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update your Linux kernel to version 6.0.12 or later to resolve a memory access vulnerability in the IPv4 routing subsystem. This flaw affects kernel versions 5.16 through 6.0.11 and can be triggered when attempting to delete multipath routes that conflict with nexthop object configurations. Apply the patch immediately via your distribution's kernel update mechanism to prevent potential denial-of-service conditions.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — compare against affected range 5.16.x to 6.0.11
- Verify if IPv4 multipath routing is configured: ip route show | grep -i nexthop
- Search system logs for fib_nh_match or routing-related crashes: dmesg | grep -i 'fib_nh_match\|slab-out-of-bounds'
- After patching, confirm the new kernel is active by rebooting and re-running uname -r to verify version 6.0.12 or later
FAQ
What is CVE-2022-48999?
CVE-2022-48999 is a memory safety vulnerability in the Linux kernel's IPv4 routing table deletion logic that occurs when trying to remove a multipath route on systems using separate nexthop objects. The flaw causes an out-of-bounds memory access that can trigger a kernel panic or denial of service.
Is CVE-2022-48999 being actively exploited?
No, CVE-2022-48999 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the vulnerability can be easily triggered by local users with network configuration privileges.
What versions of Kernel are affected by CVE-2022-48999?
Linux kernel versions 5.16.0 through 6.0.11 are vulnerable. The fix was released in kernel 6.0.12 and backported to stable branches.
How do I check if my server is vulnerable to CVE-2022-48999?
Run 'uname -r' and verify your kernel version falls between 5.16 and 6.0.11. Additionally, check if multipath routing is configured with 'ip route show | grep nexthop' — if both conditions are true, your system is exposed.
Does Defensia detect CVE-2022-48999?
Yes — Defensia's CVE advisory scanner compares installed kernel versions against the NVD database. If a vulnerable kernel is installed on a monitored server, CVE-2022-48999 will appear in your dashboard with distribution-specific remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0b5394229ebae09afc07aabccb5ffd705ffd250e
- https://git.kernel.org/stable/c/25174d91e4a32a24204060d283bd5fa6d0ddf133
- https://git.kernel.org/stable/c/61b91eb33a69c3be11b259c5ea484505cd79f883
- https://git.kernel.org/stable/c/bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2
- https://git.kernel.org/stable/c/cc3cd130ecfb8b0ae52e235e487bae3f16a24a32
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48999. Free for 1 server.
Get started free