CVE-2024-44949 parisc: fix a possible DMA corruption
A DMA alignment issue in the Linux kernel parisc architecture can cause data corruption when unrelated allocations share cache lines.
- 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-2024-44949?
CVE-2024-44949 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Sep 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:
parisc: fix a possible DMA corruption
ARCH_DMA_MINALIGN was defined as 16 - this is too small - it may be possible that two unrelated 16-byte allocations share a cache line. If one of these allocations is written using DMA and the other is written using cached write, the value that was written with DMA may be corrupted.
This commit changes ARCH_DMA_MINALIGN to be 128 on PA20 and 32 on PA1.1 - that's the largest possible cache line size.
As different parisc microarchitectures have different cache line size, we define arch_slab_minalign(), cache_line_size() and dma_get_cache_alignment() so that the kernel may tune slab cache parameters dynamically, based on the detected cache line size.
Which versions are affected by CVE-2024-44949?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-44949?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-44949 being exploited?
There is no known exploitation of CVE-2024-44949 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50254, BELL-CVE-2024-44949, DEBIAN-CVE-2024-44949, GHSA-wxc5-fq68-h9mh, ROOT-OS-DEBIAN-11-CVE-2024-44949, UBUNTU-CVE-2024-44949.