Improper neutralization of directives in statically saved code (\'static code injection\') in Linux kernel - CVE-2024-44949
Published: September 5, 2024 / Updated: May 12, 2025
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
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 2 unrelated 16-byte allocations share a cache line. If 1 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 is 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.
Affected software
Debian Linux
openEuler
linux (Debian package)
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
How to mitigate CVE-2024-44949
linux (Debian package) - update to 6.1.119-1
kernel - update to 6.6.0-46.0.0.51
bpftool - update to 6.6.0-46.0.0.51
bpftool-debuginfo - update to 6.6.0-46.0.0.51
kernel-debuginfo - update to 6.6.0-46.0.0.51
kernel-debugsource - update to 6.6.0-46.0.0.51
kernel-devel - update to 6.6.0-46.0.0.51
kernel-headers - update to 6.6.0-46.0.0.51
kernel-source - update to 6.6.0-46.0.0.51
kernel-tools - update to 6.6.0-46.0.0.51
kernel-tools-debuginfo - update to 6.6.0-46.0.0.51
kernel-tools-devel - update to 6.6.0-46.0.0.51
perf - update to 6.6.0-46.0.0.51
perf-debuginfo - update to 6.6.0-46.0.0.51
python3-perf - update to 6.6.0-46.0.0.51
python3-perf-debuginfo - update to 6.6.0-46.0.0.51
External References
- https://git.kernel.org/stable/c/642a0b7453daff0295310774016fcb56d1f5bc7f
- https://git.kernel.org/stable/c/533de2f470baac40d3bf622fe631f15231a03c9f
- https://git.kernel.org/stable/c/7ae04ba36b381bffe2471eff3a93edced843240f
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.174
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.175
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.119
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10.5
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.11
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.46