CVE-2025-38715

Source
https://cve.org/CVERecord?id=CVE-2025-38715
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38715.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38715
Downstream
Related
Published
2025-09-04T15:33:09.954Z
Modified
2026-03-11T07:46:31.595460Z
Summary
hfs: fix slab-out-of-bounds in hfs_bnode_read()
Details

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

hfs: fix slab-out-of-bounds in hfsbnoderead()

This patch introduces isbnodeoffsetvalid() method that checks the requested offset value. Also, it introduces checkandcorrectrequestedlength() method that checks and correct the requested length (if it is necessary). These methods are used in hfsbnoderead(), hfsbnodewrite(), hfsbnodeclear(), hfsbnodecopy(), and hfsbnode_move() with the goal to prevent the access out of allocated memory and triggering the crash.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38715.json",
    "cna_assigner": "Linux"
}
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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
e7d2dc2421e821e4045775e6dc226378328de6f6
Fixed
67ecc81f6492275c9c54280532f558483c99c90e
Fixed
a1a60e79502279f996e55052f50cc14919020475
Fixed
fe2891a9c43ab87d1a210d61e6438ca6936e2f62
Fixed
384a66b89f9540a9a8cb0f48807697dfabaece4c
Fixed
efc095b35b23297e419c2ab4fc1ed1a8f0781a29
Fixed
fc7f732984ec91f30be3e574e0644066d07f2b78
Fixed
eec522fd0d28106b14a59ab2d658605febe4a3bb
Fixed
a431930c9bac518bf99d6b1da526a7f37ddee8d8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38715.json"