CVE-2021-47291CWE-125

CVE-2021-47291

High · published May 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
15.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00250 · 15.3th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-05-21T19:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.3, < 5.4.1365.4.136
linux/linux_kernel≥ 5.5, < 5.10.545.10.54
linux/linux_kernel≥ 5.11, < 5.13.65.13.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 21 MAY 14:35Z
    ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    cvelistv5