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 fibnhmatch: fibnhmatch+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fibsemantics.c:961 fibtabledelete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fibtrie.c:1753 inetrtmdelroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874
Separate nexthop objects are mutually exclusive with the legacy multipath spec. Fix fibnhmatch to return if the config for the to be deleted route contains a multipath spec while the fib_info is using a nexthop object.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48999.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "net/ipv4/fib_semantics.c",
"function": "fib_nh_match"
},
"id": "CVE-2022-48999-0e4e05f2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2",
"digest": {
"function_hash": "24467297095619566418642673607930461828",
"length": 2581.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "net/ipv4/fib_semantics.c"
},
"id": "CVE-2022-48999-2a30c728",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2",
"digest": {
"line_hashes": [
"75970276996957437641903868848095067140",
"94843034923789233859639404707334870674",
"334439354182146355241657221448352791622",
"198622504568081929145273605493463388903",
"223381684205228652503598174845716597009",
"191935035747398470282198271102192399349",
"322084537092570966899245957223300671076"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "net/ipv4/fib_semantics.c",
"function": "fib_nh_match"
},
"id": "CVE-2022-48999-361a6e87",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b5394229ebae09afc07aabccb5ffd705ffd250e",
"digest": {
"function_hash": "24467297095619566418642673607930461828",
"length": 2581.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "net/ipv4/fib_semantics.c"
},
"id": "CVE-2022-48999-fdec607b",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b5394229ebae09afc07aabccb5ffd705ffd250e",
"digest": {
"line_hashes": [
"75970276996957437641903868848095067140",
"94843034923789233859639404707334870674",
"334439354182146355241657221448352791622",
"198622504568081929145273605493463388903",
"223381684205228652503598174845716597009",
"191935035747398470282198271102192399349",
"322084537092570966899245957223300671076"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48999.json"