{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-48999",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-22T01:27:53.642Z",
        "datePublished": "2024-10-21T20:06:14.118Z",
        "dateUpdated": "2026-08-05T08:53:22.725Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:53:22.725Z"
            },
            "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."
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
                            "lessThan": "cc3cd130ecfb8b0ae52e235e487bae3f16a24a32",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
                            "lessThan": "0b5394229ebae09afc07aabccb5ffd705ffd250e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
                            "lessThan": "25174d91e4a32a24204060d283bd5fa6d0ddf133",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
                            "lessThan": "bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "493ced1ac47c48bb86d9d4e8e87df8592be85a0e",
                            "lessThan": "61b91eb33a69c3be11b259c5ea484505cd79f883",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "5.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.226",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.158",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.82",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.12",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-22T13:18:40.948Z"
                }
            }
        ]
    }
}