CVE-2023-52619
JSON

5.5medium

pstore/ram: Fix crash when setting number of cpus to an odd number

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

Description

In the Linux kernel, the following vulnerability has been resolved: pstore/ram: Fix crash when setting number of cpus to an odd number When the number of cpu cores is adjusted to 7 or other odd numbers, the zone size will become an odd number. The address of the zone will become: addr of zone0 = BASE addr of zone1 = BASE + zone_size addr of zone2 = BASE + zone_size*2 ... The address of zone1/3/5/7 will be mapped to non-alignment va. Eventually crashes will occur when accessing these va. So, use ALIGN_DOWN() to make sure the zone size is even to avoid this bug.

Affected

Product or packageVersionsReported by
Linux Linuxfrom de83209249d64bad993f25d3ea4bba57683e2e2e before 8b69c30f4e8b69131d92096cb296dc1f217101e4, from de83209249d64bad993f25d3ea4bba57683e2e2e before e9f6ac50890104fdf8194f2865680689239d30fb, from de83209249d64bad993f25d3ea4bba57683e2e2e before a63e48cd835c34c38ef671d344cc029b1ea5bf10, from de83209249d64bad993f25d3ea4bba57683e2e2e before 2a37905d47bffec61e95d99f0c1cc5dc6377956c, from de83209249d64bad993f25d3ea4bba57683e2e2e before 75b0f71b26b3ad833c5c0670109c0af6e021e86a, from de83209249d64bad993f25d3ea4bba57683e2e2e before 0593cfd321df9001142a9d2c58d4144917dff7ee, from de83209249d64bad993f25d3ea4bba57683e2e2e before cd40e43f870cf21726b22487a95ed223790b3542, from de83209249d64bad993f25d3ea4bba57683e2e2e before d49270a04623ce3c0afddbf3e984cb245aa48e9c and 1 more
Not affected: before 4.10, from 4.19.307 up to 4.19.*, from 5.4.269 up to 5.4.*, from 5.10.210 up to 5.10.*, from 5.15.149 up to 5.15.*, from 6.1.77 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.307, from 4.20 before 5.4.269, from 5.5 before 5.10.210, from 5.11 before 5.15.149, from 5.16 before 6.1.77, from 6.2 before 6.6.16, from 6.7 before 6.7.4NVD
debian debian_linux10.0NVD

Classification

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: pstore/ram: Fix crash when setting number of cpus to an odd number When the number of cpu cores is adjusted to 7 or other odd numbers, the zone size will become an odd number. The address of the zone will become: addr of zone0 = BASE addr of zone1 = BASE + zone_size addr of zone2 = BASE + zone_size*2 ... The address of zone1/3/5/7 will be mapped to non-alignment va. Eventually crashes will occur when accessing these va. So, use ALIGN_DOWN() to make sure the zone size is even to avoid this bug.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pstore/ram: soluciona el fallo al establecer el número de CPU en un número impar. Cuando el número de núcleos de CPU se ajusta a 7 u otros números impares, el tamaño de la zona se convertirá en un número impar. La dirección de la zona se convertirá en: dirección de zona0 = BASE dirección de zona1 = BASE + tamaño_zona dirección de zona2 = BASE + tamaño_zona*2 ... La dirección de zona1/3/5/7 se asignará a va no alineada . Eventualmente se producirán fallas al acceder a estos va. Entonces, use ALIGN_DOWN() para asegurarse de que el tamaño de la zona sea uniforme para evitar este error.

References

https://git.kernel.org/stable/c/8b69c30f4e8b69131d92096cb296dc1f217101e4mailing-list, patch
https://git.kernel.org/stable/c/e9f6ac50890104fdf8194f2865680689239d30fbmailing-list, patch
https://git.kernel.org/stable/c/a63e48cd835c34c38ef671d344cc029b1ea5bf10mailing-list, patch
https://git.kernel.org/stable/c/2a37905d47bffec61e95d99f0c1cc5dc6377956cmailing-list, patch
https://git.kernel.org/stable/c/75b0f71b26b3ad833c5c0670109c0af6e021e86amailing-list, patch
https://git.kernel.org/stable/c/0593cfd321df9001142a9d2c58d4144917dff7eemailing-list, patch
https://git.kernel.org/stable/c/cd40e43f870cf21726b22487a95ed223790b3542mailing-list, patch
https://git.kernel.org/stable/c/d49270a04623ce3c0afddbf3e984cb245aa48e9cmailing-list, patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list

Sources

SourceRecordLicence
CVE ListCVE-2023-52619 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52619 changed 2026-06-17Public domain