dm stats: check for and propagate alloc_percpu failure (Linux Linux)

CVE-2023-53044
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: dm stats: check for and propagate alloc_percpu failure Check alloc_precpu()'s return value and return an error from dm_stats_init() if it fails. Update alloc_dev() to fail if dm_stats_init() does. Otherwise, a NULL pointer dereference will occur in dm_stats_cleanup() even if dm-stats isn't being actively used.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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 fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < 2287d7b721471a3d58bcd829250336e3cdf1635e ; affected fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < 0d96bd507ed7e7d565b6d53ebd3874686f123b2e ; affected fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < 4a32a9a818a895671bd43e0c40351e60e4e9140b ; affected fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < c68f08cc745675a17894e1b4a5b5b9700ace6da4 ; affected fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < 443c9d522397511a4328dc2ec3c9c63c73049756 ; affected fd2ed4d252701d3bbed4cd3e3d267ad469bb832a < a42180dd361584816bfe15c137b665699b994d90
Linux · Linuxaffected 3.12 ; unaffected 0 < 3.12 ; unaffected 4.14.312 ≤ 4.14.* ; unaffected 4.19.280 ≤ 4.19.* ; unaffected 5.4.240 ≤ 5.4.* ; unaffected 5.10.177 ≤ 5.10.*

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