ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions (Linux Linux)

CVE-2021-47291
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 < 830251361425c5be044db4d826aaf304ea3d14c6 ; affected f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 < ce8fafb68051fba52546f8bbe8621f7641683680 ; affected f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 < 115784bcccf135c3a3548098153413d76f16aae0 ; affected f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74 < 8fb4792f091e608a0a1d353dfdf07ef55a719db5
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.136 ≤ 5.4.* ; unaffected 5.10.54 ≤ 5.10.* ; unaffected 5.13.6 ≤ 5.13.* ; unaffected 5.14 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD