CVE-2021-47291

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

HIGH
7.1
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.13.65.3 ≤ v < 5.10.545.3 ≤ v < 5.13.65.3 ≤ v < 5.145.3 ≤ v < 5.4.1365.5 ≤ v < 5.10.545.14 rc15.14 rc2f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74
Vendor states this is fixed in 115784bcccf135c3a3548098153413d76f16aae0 (fixed)
Vendor states this is fixed in 830251361425c5be044db4d826aaf304ea3d14c6 (fixed)
Vendor states this is fixed in 8fb4792f091e608a0a1d353dfdf07ef55a719db5 (fixed)
Vendor states this is fixed in ce8fafb68051fba52546f8bbe8621f7641683680 (fixed)
Vendor states this is fixed in 5.10.54 (unaffected)
Vendor states this is fixed in 5.13.6 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 5.4.136 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/115784bcccf135c3a3548098153413d76f16aae0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/830251361425c5be044db4d826aaf304ea3d14c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8fb4792f091e608a0a1d353dfdf07ef55a719db5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce8fafb68051fba52546f8bbe8621f7641683680

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card