CVE-2025-37939: libbpf: Fix accessing BTF.ext core_relo header
In the Linux kernel, the following vulnerability has been resolved:
libbpf: Fix accessing BTF.ext corerelo header
Update btfextparseinfo() to ensure the corerelo header is present before reading its fields. This avoids a potential buffer read overflow reported by the OSS Fuzz project.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.13.11 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.14.2 - Compensating control
Update btf_ext_parse_info() to ensure the core_relo header is present before reading its fields.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-37939?
CVE-2025-37939 has a moderate severity level due to the potential for buffer read overflow.
How do I fix CVE-2025-37939?
To fix CVE-2025-37939, you should update your Linux kernel to the latest stable version that includes the patch.
What systems are vulnerable to CVE-2025-37939?
CVE-2025-37939 affects various versions of the Linux kernel that utilize the libbpf library.
What types of attacks can exploit CVE-2025-37939?
Exploitation of CVE-2025-37939 may lead to information disclosure through unintentional read access to memory.
When was CVE-2025-37939 disclosed?
CVE-2025-37939 was disclosed following reports from OSS Fuzz that identified its potential security risk.