Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2021-47291
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2021-47291

2024-05-2115:15:17
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
29
linux kernel
ipv6
vulnerability
fix
slab-out-of-bounds
self-tests
kasan
initialization
nvd

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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

Vulners
Node
linuxlinux_kernelRange5.35.4.136
OR
linuxlinux_kernelRange5.5.05.10.54
OR
linuxlinux_kernelRange5.11.05.13.6
OR
linuxlinux_kernelRange5.14.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/ipv6/route.c"
    ],
    "versions": [
      {
        "version": "f88d8ea67fbd",
        "lessThan": "830251361425",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f88d8ea67fbd",
        "lessThan": "ce8fafb68051",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f88d8ea67fbd",
        "lessThan": "115784bcccf1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f88d8ea67fbd",
        "lessThan": "8fb4792f091e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/ipv6/route.c"
    ],
    "versions": [
      {
        "version": "5.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.136",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.54",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13.6",
        "lessThanOrEqual": "5.13.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%