Improper neutralization of directives in statically saved code (\'static code injection\') in Linux kernel - CVE-2024-44949

 

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 identifier: #VU96884
CSH Severity: Low
CVSS v4 BT: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2024-44949
CWE-ID: CWE-96
Exploitation vector: Local access
Exploit availability: No public exploit available

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

Linux kernel
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

Install update from vendor's repository.

Linux kernel - addressed in versions 5.15.174, 5.15.175, 6.1.119, 6.6.46, 6.10.5, 6.11
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

Related Security Bulletins