CVE-2026-64360: hfs/hfsplus: zero-initialize buffer in hfs_bnode_read

Published Jul 25, 2026
·
Updated

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

hfs/hfsplus: zero-initialize buffer in hfsbnoderead

hfsbnoderead() can return early without writing to the output buffer when isbnodeoffsetvalid() fails or when checkandcorrectrequested length() corrects the length to zero. Callers such as hfsbnoderead u16() and hfsbnodereadu8() pass stack-allocated buffers and use the result unconditionally, leading to KMSAN uninit-value reports.

Rather than initializing at each individual call site, zero the buffer at the start of hfsbnoderead() before any validation checks. This ensures all callers in both hfs and hfsplus get a deterministic zero value regardless of which early-return path is taken.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=5.4.297<5.5
Linux Linux kernel>=5.10.241<5.10.261
Linux Linux kernel>=5.15.190<5.15.212
Linux Linux kernel>=6.1.149<6.1.178
Linux Linux kernel>=6.6.103<6.6.145
Linux Linux kernel>=6.12.43<6.12.96
Linux Linux kernel>=6.15.11<6.16
Linux Linux kernel>=6.16.2<6.18.39
Linux Linux kernel>=6.19<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:50 AM
Data Sourced
via MITRE·08:50 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What level of access does an attacker need?

The CVSS vector indicates local attack access and low privileges are required. No user interaction is required.

2

Which filesystem code paths are covered by the fix?

The change applies to callers in both the hfs and hfsplus code. It ensures early returns from hfs_bnode_read() leave callers with a deterministic zero value rather than uninitialized stack data.

3

What is the primary security impact?

The reported impact is availability only, rated High in the CVSS vector. The vector reports no confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203