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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:16.573Z
- Modified: 2026-09-04T15:57:26.883Z
- Weaknesses: CWE-908
- Assigned by: Linux

## Description

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

hfs/hfsplus: zero-initialize buffer in hfs_bnode_read

hfs_bnode_read() can return early without writing to the output buffer
when is_bnode_offset_valid() fails or when check_and_correct_requested_
length() corrects the length to zero.  Callers such as hfs_bnode_read_
u16() and hfs_bnode_read_u8() 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 hfs_bnode_read() 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 67ecc81f6492275c9c54280532f558483c99c90e before 34684a04777358b2b40ac729e54c8e45359e46b3; from a1a60e79502279f996e55052f50cc14919020475 before 0b189b2204f1a2612dc68f8d139fb5b80539e710; from fe2891a9c43ab87d1a210d61e6438ca6936e2f62 before 8f72fd25a57a457866350359ddd27a43caa62c95; from 384a66b89f9540a9a8cb0f48807697dfabaece4c before 16ca053c2be5f4f3044dccf7fc19237dc820d394; from efc095b35b23297e419c2ab4fc1ed1a8f0781a29 before d2afc7ecee476f9251dd87444f7fb6a424410922; from a431930c9bac518bf99d6b1da526a7f37ddee8d8 before f3461b84a4865d9b5e70fbb71da72ae044a3bcd2; from a431930c9bac518bf99d6b1da526a7f37ddee8d8 before d5b45bad75cd2730b8452aed4d3b20a2b2a12576; from a431930c9bac518bf99d6b1da526a7f37ddee8d8 before d67aadee19ffdf3cc8520c5a4f4d5b2916d30baf; e7d2dc2421e821e4045775e6dc226378328de6f6; fc7f732984ec91f30be3e574e0644066d07f2b78; eec522fd0d28106b14a59ab2d658605febe4a3bb; from 5.10.241 before 5.10.261; and 8 more (not affected: before 6.17; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.4.297 before 5.5; from 5.10.241 before 5.10.261; from 5.15.190 before 5.15.212; from 6.1.149 before 6.1.178; from 6.6.103 before 6.6.145; from 6.12.43 before 6.12.96; from 6.15.11 before 6.16; from 6.16.2 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/34684a04777358b2b40ac729e54c8e45359e46b3> (patch)
- <https://git.kernel.org/stable/c/0b189b2204f1a2612dc68f8d139fb5b80539e710> (patch)
- <https://git.kernel.org/stable/c/8f72fd25a57a457866350359ddd27a43caa62c95> (patch)
- <https://git.kernel.org/stable/c/16ca053c2be5f4f3044dccf7fc19237dc820d394> (patch)
- <https://git.kernel.org/stable/c/d2afc7ecee476f9251dd87444f7fb6a424410922> (patch)
- <https://git.kernel.org/stable/c/f3461b84a4865d9b5e70fbb71da72ae044a3bcd2> (patch)
- <https://git.kernel.org/stable/c/d5b45bad75cd2730b8452aed4d3b20a2b2a12576> (patch)
- <https://git.kernel.org/stable/c/d67aadee19ffdf3cc8520c5a4f4d5b2916d30baf> (patch)

## Sources

- CVE List: [CVE-2026-64360](https://www.cve.org/CVERecord?id=CVE-2026-64360), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64360](https://nvd.nist.gov/vuln/detail/CVE-2026-64360), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-64360 · Whole record: https://cve.day/CVE-2026-64360.json · Rebuilt by cve.day 2026-11-25T22:59:30.085Z
