Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2022-48999

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: 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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 493ced1ac47c48bb86d9d4e8e87df8592be85a0e to < cc3cd130ecfb8b0ae52e235e487bae3f16a24a32affected
  • 493ced1ac47c48bb86d9d4e8e87df8592be85a0e to < 0b5394229ebae09afc07aabccb5ffd705ffd250eaffected
  • 493ced1ac47c48bb86d9d4e8e87df8592be85a0e to < 25174d91e4a32a24204060d283bd5fa6d0ddf133affected
  • 493ced1ac47c48bb86d9d4e8e87df8592be85a0e to < bb20a2ae241be846bc3c11ea4b3a3c69e41d51f2affected
  • 493ced1ac47c48bb86d9d4e8e87df8592be85a0e to < 61b91eb33a69c3be11b259c5ea484505cd79f883affected

Linux Linux

Default version status: affected

  • 5.3affected
  • 0 to < 5.3unaffected
  • 5.4.226 to ≤ 5.4.*unaffected
  • 5.10.158 to ≤ 5.10.*unaffected
  • 5.15.82 to ≤ 5.15.*unaffected
  • 6.0.12 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References