{"id":"CVE-2022-48999","state":"PUBLISHED","title":"ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: Handle attempt to delete multipath route when fib_info contains an nh reference\n\nGwangun Jung reported a slab-out-of-bounds access in fib_nh_match:\n    fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961\n    fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753\n    inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874\n\nSeparate nexthop objects are mutually exclusive with the legacy\nmultipath spec. Fix fib_nh_match to return if the config for the\nto be deleted route contains a multipath spec while the fib_info\nis using a nexthop object.","publishedAt":"2024-10-21T20:06:14.118Z","updatedAt":"2026-08-05T08:53:22.725Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"cc3cd130ecfb8b0ae52e235e487bae3f16a24a32","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"0b5394229ebae09afc07aabccb5ffd705ffd250e","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"25174d91e4a32a24204060d283bd5fa6d0ddf133","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"61b91eb33a69c3be11b259c5ea484505cd79f883","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/fib_semantics.c","tools/testing/selftests/net/fib_nexthops.sh"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.4.226","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.158","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.82","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.12","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/fib_semantics.c","tools/testing/selftests/net/fib_nexthops.sh"]}],"references":["https://git.kernel.org/stable/c/cc3cd130ecfb8b0ae52e235e487bae3f16a24a32","https://git.kernel.org/stable/c/0b5394229ebae09afc07aabccb5ffd705ffd250e","https://git.kernel.org/stable/c/25174d91e4a32a24204060d283bd5fa6d0ddf133","https://git.kernel.org/stable/c/bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2","https://git.kernel.org/stable/c/61b91eb33a69c3be11b259c5ea484505cd79f883"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48999.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48999","state":"PUBLISHED","datePublished":"2024-10-21T20:06:14.118Z","dateUpdated":"2026-08-05T08:53:22.725Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.642Z"},"containers":{"cna":{"title":"ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: Handle attempt to delete multipath route when fib_info contains an nh reference\n\nGwangun Jung reported a slab-out-of-bounds access in fib_nh_match:\n    fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961\n    fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753\n    inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874\n\nSeparate nexthop objects are mutually exclusive with the legacy\nmultipath spec. Fix fib_nh_match to return if the config for the\nto be deleted route contains a multipath spec while the fib_info\nis using a nexthop object."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"cc3cd130ecfb8b0ae52e235e487bae3f16a24a32","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"0b5394229ebae09afc07aabccb5ffd705ffd250e","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"25174d91e4a32a24204060d283bd5fa6d0ddf133","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2","versionType":"git"},{"version":"493ced1ac47c48bb86d9d4e8e87df8592be85a0e","status":"affected","lessThan":"61b91eb33a69c3be11b259c5ea484505cd79f883","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/fib_semantics.c","tools/testing/selftests/net/fib_nexthops.sh"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.4.226","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.158","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.82","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.12","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/fib_semantics.c","tools/testing/selftests/net/fib_nexthops.sh"]}],"references":[{"url":"https://git.kernel.org/stable/c/cc3cd130ecfb8b0ae52e235e487bae3f16a24a32"},{"url":"https://git.kernel.org/stable/c/0b5394229ebae09afc07aabccb5ffd705ffd250e"},{"url":"https://git.kernel.org/stable/c/25174d91e4a32a24204060d283bd5fa6d0ddf133"},{"url":"https://git.kernel.org/stable/c/bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2"},{"url":"https://git.kernel.org/stable/c/61b91eb33a69c3be11b259c5ea484505cd79f883"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Triggered via RTM_DELROUTE over rtnetlink (inet_rtm_delroute → fib_table_delete → fib_nh_match), which requires a local process with a netlink socket, not remote packet processing.\nAC:L - An attacker can reliably create a nexthop-object route and then delete it with a legacy multipath nexthop spec; no races or attacker-uncontrollable conditions are required.\nPR:L - RTM_DELROUTE/RTM_NEWNEXTHOP require CAP_NET_ADMIN, but that capability is available to an unprivileged user inside a user+network namespace (netlink_net_capable checks the netns user_ns).\nUI:N - Exploitation needs no victim action; the attacker sets up the nexthop route and issues the delete themselves.\nS:U - Impact is confined to the local kernel networking stack authority; this is not a VM/IOMMU/sandbox boundary cross.\nC:H - The bug is a slab out-of-bounds read of struct fib_nh fields past a zero-length fib_nh[] allocation; with a multipath nexthop group, fib_info_num_path() expands the OOB window across adjacent slab memory.\nI:N - The vulnerable path only reads and compares OOB memory for route matching; there is no out-of-bounds write or memory-corruption write primitive.\nA:H - The slab OOB access can oops/panic the kernel when it hits unmapped or poisoned memory, matching the reported KASAN slab-out-of-bounds crash."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T08:53:22.725Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.4.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.82"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.0.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48999","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:15:25.948167Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:18:40.948Z"}}]}}}