Junglewise Threat Intelligence

CVE-2026-45960: Linux kernel hfsplus kernel panic in hfs_bnode_create

CVE-2026-45960 · Severity: info · CVSS 5.5 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's HFS+ filesystem driver can cause a system crash (kernel panic). This occurs when the system encounters a corrupted filesystem or specific internal errors while managing data nodes. An attacker or a corrupted disk image could trigger this flaw to disrupt system availability.

Technical details

A vulnerability exists in the Linux kernel hfsplus driver within the hfs_bnode_create() function. When the function discovers a node is already hashed, it returns the existing node without incrementing its reference count. This leads to a reference count inconsistency; subsequently, when hfs_bnode_put() is called to free the node, it triggers a BUG_ON() check because the reference count is zero, resulting in a kernel panic. This condition can be triggered by filesystem corruption or specific allocation failures in hfs_bmap_alloc(). The fix ensures the function returns an error pointer (-EEXIST) instead of the improperly referenced node.

Affected products

  • Linux Linux kernel hfsplus driver

Timeline

  • 2025-12-30: patched: Initial patch authored
  • 2026-05-27: disclosed: CVE published

References

Related threats