CVEvulnerability
CVE-2021-47291
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-05-21
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
Description
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 configurations
• linux linux kernel (>= 5.3 < 5.4.136)
• linux linux kernel (>= 5.5 < 5.10.54)
• linux linux kernel (>= 5.11 < 5.13.6)
• linux linux kernel 5.14
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 Patch
- https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 Patch
- https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 Patch
- https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 Patch
- https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0 Patch
- https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6 Patch
- https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5 Patch
- https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680 Patch