CVE-2023-53044
JSON

5.5medium

dm stats: check for and propagate alloc_percpu failure

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before 2287d7b721471a3d58bcd829250336e3cdf1635e, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before 0d96bd507ed7e7d565b6d53ebd3874686f123b2e, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before 4a32a9a818a895671bd43e0c40351e60e4e9140b, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before c68f08cc745675a17894e1b4a5b5b9700ace6da4, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before 443c9d522397511a4328dc2ec3c9c63c73049756, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before a42180dd361584816bfe15c137b665699b994d90, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before 5b66e36a3efd24041b7374432bfa4dec2ff01e95, from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a before d3aa3e060c4a80827eb801fc448debc9daa7c46b and 1 more
Not affected: before 3.12, from 4.14.312 up to 4.14.*, from 4.19.280 up to 4.19.*, from 5.4.240 up to 5.4.*, from 5.10.177 up to 5.10.*, from 5.15.105 up to 5.15.*
CVE List
linux linux_kernelfrom 3.12 before 4.14.312, from 4.15 before 4.19.280, from 4.20 before 5.4.240, from 5.5 before 5.10.177, from 5.11 before 5.15.105, from 5.16 before 6.1.22, from 6.2 before 6.2.9, 6.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dm stats: comprobar y propagar el fallo de alloc_percpu. Comprueba el valor de retorno de alloc_precpu() y devuelve un error de dm_stats_init() si falla. Actualice alloc_dev() para que falle si dm_stats_init() falla. De lo contrario, se producirá una desreferencia de puntero nulo en dm_stats_cleanup(), incluso si dm-stats no se está utilizando activamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53044 changed 2026-11-05CVE Terms of Use
NVDCVE-2023-53044 changed 2026-11-05Public domain