Out-of-bounds read in Linux kernel - CVE-2024-26588

 

Out-of-bounds read in Linux kernel - CVE-2024-26588

Published: May 31, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU90363
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-26588
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to an out-of-bounds read error within the build_insn() function in arch/loongarch/net/bpf_jit.c. A local user can execute arbitrary code.


Affected software

Linux kernel
Ubuntu
linux-image-6.1.0-1035-oem (Ubuntu package)
linux-image-oem-22.04 (Ubuntu package)
linux-image-oem-22.04a (Ubuntu package)
linux-image-oem-22.04b (Ubuntu package)
linux-image-oem-22.04c (Ubuntu package)

How to mitigate CVE-2024-26588

Install update from vendor's website.

Linux kernel - addressed in versions 6.1.75, 6.6.14, 6.7.2, 6.8
linux-image-6.1.0-1035-oem (Ubuntu package) - update to 6.1.0-1035.35
linux-image-oem-22.04 (Ubuntu package) - update to 6.1.0.1035.36
linux-image-oem-22.04a (Ubuntu package) - update to 6.1.0.1035.36
linux-image-oem-22.04b (Ubuntu package) - update to 6.1.0.1035.36
linux-image-oem-22.04c (Ubuntu package) - update to 6.1.0.1035.36

External References

Related Security Bulletins