CVE-2023-52619 pstore/ram: Fix crash when setting number of cpus to an odd number
A misconfiguration of CPU count in the Linux kernel pstore/ram module causes a crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52619?
CVE-2023-52619 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 18 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-52619?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2023-52619?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-52619 being exploited?
There is no known exploitation of CVE-2023-52619 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2023-52619, DEBIAN-CVE-2023-52619, GHSA-qrpf-5jf3-p6pw, UBUNTU-CVE-2023-52619.