hfsplus: return error when node already exists in hfs_bnode_create
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: hfsplus: return error when node already exists in hfs_bnode_create When hfs_bnode_create() finds that a node is already hashed (which should not happen in normal operation), it currently returns the existing node without incrementing its reference count. This causes a reference count inconsistency that leads to a kernel panic when the node is later freed in hfs_bnode_put(): kernel BUG at fs/hfsplus/bnode.c:676! BUG_ON(!atomic_read(&node->refcnt)) This scenario can occur when hfs_bmap_alloc() attempts to allocate a node that is already in use (e.g., when node 0's bitmap bit is incorrectly unset), or due to filesystem corruption. Returning an existing node from a create path is not normal operation. Fix this by returning ERR_PTR(-EEXIST) instead of the node when it's already hashed. This properly signals the error condition to callers, which already check for IS_ERR() return values.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.16 and later | 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.16 and later Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.16.1 to before 5.10.252; 5.11 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:-:*:*:*:*:*:* | 2.6.16 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:rc2:*:*:*:*:*:* | 2.6.16 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:rc3:*:*:*:*:*:* | 2.6.16 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:rc4:*:*:*:*:*:* | 2.6.16 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:rc5:*:*:*:*:*:* | 2.6.16 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.16:rc6:*:*:*:*:*:* | 2.6.16 rc6 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.16.1 to before 5.10.252; 5.11 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:-:*:*:*:*:*:* Versions 2.6.16 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:rc2:*:*:*:*:*:* Versions 2.6.16 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:rc3:*:*:*:*:*:* Versions 2.6.16 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:rc4:*:*:*:*:*:* Versions 2.6.16 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:rc5:*:*:*:*:*:* Versions 2.6.16 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.16:rc6:*:*:*:*:*:* Versions 2.6.16 rc6 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
Not affected: 4 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45960
- 2026-10-03 Alias added: GHSA-3j7g-p6x3-6qqj
References
Patch 8
- https://git.kernel.org/stable/c/1ca428769cb4737a25bd32fb4d1573cc09eeaeef
- https://git.kernel.org/stable/c/507a1de58c21c95ad7c44afccaf1222d1c42246b
- https://git.kernel.org/stable/c/986455135b95f32c1f142068e451098fc751749e
- https://git.kernel.org/stable/c/7b57ada854b32310f224abd61bcfec2d5790ff0a
- https://git.kernel.org/stable/c/51838112d9c22502333c3085ca0c0d691e7093c6
- https://git.kernel.org/stable/c/2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d
- https://git.kernel.org/stable/c/2e9185a42e0e237c74435fd092b7c34537c62156
- https://git.kernel.org/stable/c/d8a73cc46c8462a969a7516131feb3096f4c49d3
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-45960 · CVE Program
- CVE-2026-45960 · NVD
- FIRST EPSS
- GHSA-3j7g-p6x3-6qqj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-45960 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences