# CVE-2026-45960: hfsplus: return error when node already exists in hfs\_bnode\_create

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:18:16.851Z
- **Modified:** 2026-06-17T10:52:48.117Z

## Who should check

- Anyone running Linux \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 1ca428769cb4737a25bd32fb4d1573cc09eeaeef; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 507a1de58c21c95ad7c44afccaf1222d1c42246b; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 986455135b95f32c1f142068e451098fc751749e; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 7b57ada854b32310f224abd61bcfec2d5790ff0a; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 51838112d9c22502333c3085ca0c0d691e7093c6; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e9185a42e0e237c74435fd092b7c34537c62156; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< d8a73cc46c8462a969a7516131feb3096f4c49d3
- Anyone running Linux 2.6.16

## Description

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.

## Affected and fixed versions

- Linux: \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 1ca428769cb4737a25bd32fb4d1573cc09eeaeef; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 507a1de58c21c95ad7c44afccaf1222d1c42246b; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 986455135b95f32c1f142068e451098fc751749e; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 7b57ada854b32310f224abd61bcfec2d5790ff0a; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 51838112d9c22502333c3085ca0c0d691e7093c6; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e9185a42e0e237c74435fd092b7c34537c62156; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< d8a73cc46c8462a969a7516131feb3096f4c49d3 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45960. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45960.md
Affected: Linux >= 634725a92938b0f282b17cec0b007dca77adebd2, < 1ca428769cb4737a25bd32fb4d1573cc09eeaeef; >= 634725a92938b0f282b17cec0b007dca77adebd2, < 507a1de58c21c95ad7c44afccaf1222d1c42246b; >= 634725a92938b0f282b17cec0b007dca77adebd2, < 986455135b95f32c1f142068e451098fc751749e; >= 634725a92938b0f282b17ce…
Fixed in: Linux 1ca428769cb4737a25bd32fb4d1573cc09eeaeef, Linux 507a1de58c21c95ad7c44afccaf1222d1c42246b, Linux 986455135b95f32c1f142068e451098fc751749e, Linux 7b57ada854b32310f224abd61bcfec2d5790ff0a, Linux 51838112d9c22502333c3085ca0c0d691e7093c6, Linux 2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d, Linux 2e918…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45960 being exploited?

There is no confirmed exploitation: CVE-2026-45960 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45960?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45960?

Linux \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 1ca428769cb4737a25bd32fb4d1573cc09eeaeef; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 507a1de58c21c95ad7c44afccaf1222d1c42246b; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 986455135b95f32c1f142068e451098fc751749e; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 7b57ada854b32310f224abd61bcfec2d5790ff0a; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 51838112d9c22502333c3085ca0c0d691e7093c6; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< 2e9185a42e0e237c74435fd092b7c34537c62156; \>= 634725a92938b0f282b17cec0b007dca77adebd2, \< d8a73cc46c8462a969a7516131feb3096f4c49d3; Linux 2.6.16.

### Is there a fix for CVE-2026-45960?

Yes. Fixed in Linux 1ca428769cb4737a25bd32fb4d1573cc09eeaeef, Linux 507a1de58c21c95ad7c44afccaf1222d1c42246b, Linux 986455135b95f32c1f142068e451098fc751749e, Linux 7b57ada854b32310f224abd61bcfec2d5790ff0a, Linux 51838112d9c22502333c3085ca0c0d691e7093c6, Linux 2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d, Linux 2e9185a42e0e237c74435fd092b7c34537c62156. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-45960?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1ca428769cb4737a25bd32fb4d1573cc09eeaeef>
- patch: <https://git.kernel.org/stable/c/507a1de58c21c95ad7c44afccaf1222d1c42246b>
- patch: <https://git.kernel.org/stable/c/986455135b95f32c1f142068e451098fc751749e>
- patch: <https://git.kernel.org/stable/c/7b57ada854b32310f224abd61bcfec2d5790ff0a>
- patch: <https://git.kernel.org/stable/c/51838112d9c22502333c3085ca0c0d691e7093c6>
- patch: <https://git.kernel.org/stable/c/2e6ff6a6fc69cc17ed10c9cb6242935d52acd52d>
- patch: <https://git.kernel.org/stable/c/2e9185a42e0e237c74435fd092b7c34537c62156>
- patch: <https://git.kernel.org/stable/c/d8a73cc46c8462a969a7516131feb3096f4c49d3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45960>

HTML: <https://flawdb.com/CVE-2026-45960> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45960>
