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.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the Linux kernel's HFS/HFS+ filesystem drivers when the function hfs_bnode_read exits early without writing to its output buffer if validation checks fail. Callers that use stack‑allocated buffers then treat the returned data as fully initialized, resulting in a read of uninitialized memory. This uninitialized‑read flaw, identified as CWE‑908, could allow an attacker to expose kernel data or trigger unpredictable kernel behaviour. It does not grant direct code execution but may lead to information disclosure or subtle crashes.

Affected Systems

All Linux kernel releases before the commit fixing the zero‑initialization of the buffer in hfs_bnode_read are affected. This includes the hfs and hfsplus filesystem modules shipped by any distribution that has not applied the patch. The vulnerability applies to all systems that mount or access HFS/HFS+ volumes using the vulnerable kernel.

Risk and Exploitability

The EPSS score is below 1% and the vulnerability is not listed in CISA KEV, indicating a low probability of exploitation at present. The likely attack vector is local privileged access, such as a user who can mount a malicious HFS/HFS+ volume or otherwise trigger reads through the vulnerable code. The attacker would need to influence filesystem reads to cause the kernel to propagate uninitialized data, potentially leaking kernel memory or causing a panic. This inference about the attack vector is based on the description of how the flaw is triggered, as the CVE data does not explicitly state the required access level.

Generated by OpenCVE AI on August 4, 2026 at 14:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the hfs/hfsplus zero‑initialization buffer fix referenced in the commit history.
  • If an immediate update is unavailable, unmount any HFS/HFS+ filesystems or disable the hfs/hfsplus kernel modules to prevent execution of the vulnerable code.
  • Monitor system logs for KMSAN or uninitialized‑value warnings, and consider applying generic stack‑buffer initialisation mitigations or disabling optional vulnerable functions if supported by the distribution.

Generated by OpenCVE AI on August 4, 2026 at 14:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 30 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title hfs/hfsplus: zero-initialize buffer in hfs_bnode_read
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:50:16.573Z

Reserved: 2026-07-19T15:36:31.783Z

Link: CVE-2026-64360

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:18.530

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64360

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64360 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T14:45:03Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource