CVE-2025-37939

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37939
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37939.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37939
Downstream
Published
2025-05-20T15:34:41Z
Modified
2025-10-10T05:48:07.377145Z
Summary
libbpf: Fix accessing BTF.ext core_relo header
Details

In the Linux kernel, the following vulnerability has been resolved:

libbpf: Fix accessing BTF.ext core_relo 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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf579164e9ea9cd41c7c1da931683a319d224890
Fixed
d529411ec44535308c5d59cbeff74be6fe14b479
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf579164e9ea9cd41c7c1da931683a319d224890
Fixed
3a67f60f0a8be10cea7a884a1a00e9feb6645657
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf579164e9ea9cd41c7c1da931683a319d224890
Fixed
0a7c2a84359612e54328aa52030eb202093da6e2

Affected versions

v6.*

v6.12
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1
v6.13.10
v6.13.2
v6.13.3
v6.13.4
v6.13.5
v6.13.6
v6.13.7
v6.13.8
v6.13.9
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2