CVE-2021-47291

published 21 May 2024 · updated 5 Aug 2026

ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 115784bcccf135c3a3548098153413d76f16aae0, Kernel 830251361425c5be044db4d826aaf304ea3d14c6, Kernel 8fb4792f091e608a0a1d353dfdf07ef55a719db5 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions While running the self-tests on a KASAN enabled kernel, I observed a slab-out-of-bounds splat very similar to the one reported in commit 821bbf79fe46 ("ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions"). We additionally need to take care of fib6_metrics initialization failure when the caller provides an nh. The fix is similar, explicitly free the route instead of calling fib6_info_release on a half-initialized object.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.3, >=f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 <115784bcccf135c3a3548098153413d76f16aae0, >=f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 <830251361425c5be044db4d826aaf304ea3d14c6, >=f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 <8fb4792f091e608a0a1d353dfdf07ef55a719db5, >=f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 <ce8fafb68051fba52546f8bbe8621f7641683680115784bcccf135c3a3548098153413d76f16aae0, 830251361425c5be044db4d826aaf304ea3d14c6, 8fb4792f091e608a0a1d353dfdf07ef55a719db5, ce8fafb68051fba52546f8bbe8621f7641683680

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47291 severity on Zeptric[![CVE-2021-47291](https://zeptric.io/badge/cve/CVE-2021-47291.svg)](https://zeptric.io/cve/CVE-2021-47291)