CVE-2026-64360 hfs/hfsplus: zero-initialize buffer in hfs_bnode_read
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.241 이상 5.10.261 미만
- 5.15.190 이상 5.15.212 미만
- 6.1.149 이상 6.1.178 미만
- 6.6.103 이상 6.6.145 미만
- 6.12.43 이상 6.12.96 미만
- 5.4.297 이상 5.5 미만
- 6.15.11 이상 6.16 미만
- 6.16.2 이상 6.17 미만
외 1개 구간 펼치기
- 6.17
해결 버전
- 5.10.261 이상
- 5.15.212 이상
- 6.1.178 이상
- 6.6.145 이상
- 6.12.96 이상
- 5.5 이상
- 6.16 이상
- 6.17 이상
외 3개 구간 펼치기
- 6.17 미만
- 6.18.39 이상
- 7.1.4 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/0b189b2204f1a2612dc68f8d139fb5b80539e710 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/16ca053c2be5f4f3044dccf7fc19237dc820d394 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/34684a04777358b2b40ac729e54c8e45359e46b3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8f72fd25a57a457866350359ddd27a43caa62c95 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d2afc7ecee476f9251dd87444f7fb6a424410922 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d5b45bad75cd2730b8452aed4d3b20a2b2a12576 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d67aadee19ffdf3cc8520c5a4f4d5b2916d30baf (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f3461b84a4865d9b5e70fbb71da72ae044a3bcd2 (새 창)