Kernel memory disclosure via HFS+ Unicode over-read
Published Oct 28, 2025 · Updated Oct 28, 2025
Out-of-bounds read in the Linux kernel HFS+ filesystem allows local users to disclose kernel memory or crash the system via listxattr(). The hfsplus_listxattr path passes an hfsplus_attr_unistr buffer to hfsplus_uni2asc as the differently sized hfsplus_unistr type, letting its Unicode pointer exceed the allocation when ustrlen is oversized. Exploitation requires low-privileged local access and a mounted HFS+ volume containing a crafted attributes B-tree key; the bounded consequences are memory disclosure and a system crash.
Summary
What happened
Out-of-bounds read in the Linux kernel HFS+ filesystem allows local users to disclose kernel memory or crash the system via listxattr(). The hfsplus_listxattr path passes an hfsplus_attr_unistr buffer to hfsplus_uni2asc as the differently sized hfsplus_unistr type, letting its Unicode pointer exceed the allocation when ustrlen is oversized. Exploitation requires low-privileged local access and a mounted HFS+ volume containing a crafted attributes B-tree key; the bounded consequences are memory disclosure and a system crash.
The record
- CVE
- CVE-2025-40082
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13604b1d7e7b125fb428cddbec6b8d92baad25d5
- Affected versionversion=1ca69007e52a73bd8b84b988b61b319816ca8b01
- Affected versionversion=291bb5d931c6f3cd7227b913302a17be21cf53b0
- Affected versionversion=6.17
- Affected versionversion=6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9
- Affected versionversion=73f7da507d787b489761a0fa280716f84fa32b2f
- Affected versionversion=76a4c6636a69d69409aa253b049b1be717a539c5
- Affected versionversion=94458781aee6045bd3d0ad4b80b02886b9e2219b <857aefc70d4ae3b9bf1ae67434d27d0f79f80c9e
- Affected versionversion=94458781aee6045bd3d0ad4b80b02886b9e2219b <bea3e1d4467bcf292c8e54f080353d556d355e26
- Affected versionversion=ccf0ad56a779e6704c0b27f555dec847f50c7557
- Affected versionversion=f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo