Vulnerabilities · 2021 · Linux
CVE-2021-47291
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 · Patch
- git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 · Patch
- git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 · Patch
- git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 · Patch
- nvd.nist.gov/vuln/detail/CVE-2021-47291
- cve.org/CVERecord?id=CVE-2021-47291
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.