# CVE-2023-52619: pstore/ram: Fix crash when setting number of cpus to an odd number

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-18T10:19:05.854Z
- Modified: 2026-06-17T06:43:10.787Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 4.10 (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.*; from 6.6.16 up to 6.6.*; from 6.7.4 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 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.4
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/8b69c30f4e8b69131d92096cb296dc1f217101e4> (mailing-list, patch)
- <https://git.kernel.org/stable/c/e9f6ac50890104fdf8194f2865680689239d30fb> (mailing-list, patch)
- <https://git.kernel.org/stable/c/a63e48cd835c34c38ef671d344cc029b1ea5bf10> (mailing-list, patch)
- <https://git.kernel.org/stable/c/2a37905d47bffec61e95d99f0c1cc5dc6377956c> (mailing-list, patch)
- <https://git.kernel.org/stable/c/75b0f71b26b3ad833c5c0670109c0af6e021e86a> (mailing-list, patch)
- <https://git.kernel.org/stable/c/0593cfd321df9001142a9d2c58d4144917dff7ee> (mailing-list, patch)
- <https://git.kernel.org/stable/c/cd40e43f870cf21726b22487a95ed223790b3542> (mailing-list, patch)
- <https://git.kernel.org/stable/c/d49270a04623ce3c0afddbf3e984cb245aa48e9c> (mailing-list, patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)

## Sources

- CVE List: [CVE-2023-52619](https://www.cve.org/CVERecord?id=CVE-2023-52619), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52619](https://nvd.nist.gov/vuln/detail/CVE-2023-52619), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52619 · Whole record: https://cve.day/CVE-2023-52619.json · Rebuilt by cve.day 2026-11-25T22:58:33.360Z
