CVE-2021-47291

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*

History

23 Dec 2024, 16:47

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 - () https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 - Patch
References () https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 - () https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 - Patch
References () https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 - () https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 - Patch
References () https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 - () https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 - Patch
CPE cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-125

21 Nov 2024, 06:35

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ipv6: corrige otra slab fuera de los límites en fib6_nh_flush_exceptions. Mientras ejecutaba las autopruebas en un kernel habilitado para KASAN, observé una slab fuera de los límites muy similar al informado en la confirmación 821bbf79fe46 ("ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions"). Además, debemos ocuparnos del error de inicialización de fib6_metrics cuando la persona que llama proporciona un nh. La solución es similar: libera explícitamente la ruta en lugar de llamar a fib6_info_release en un objeto medio inicializado.
References () https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 - () https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 -
References () https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 - () https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 -
References () https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 - () https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 -
References () https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 - () https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 -

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2024-12-23 16:47


NVD link : CVE-2021-47291

Mitre link : CVE-2021-47291

CVE.ORG link : CVE-2021-47291


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read