# CVE-2026-43053: xfs: close crash window in attr dabtree inactivation

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.11% (percentile 0, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2026-05-01T14:15:46.709Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 190d54d1d42878fce8c735c2d9ac835725694d3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ea3850b9ce005e70f502b308edb2d99ca074ed3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e5a3e3cdd9b3015ae79456c81beebfdbb5246c0f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b854e1c4eff3473b6d3a9ae74129ac5c48bc0b61
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: close crash window in attr dabtree inactivation

When inactivating an inode with node-format extended attributes,
xfs\_attr3\_node\_inactive() invalidates all child leaf/node blocks via
xfs\_trans\_binval(), but intentionally does not remove the corresponding
entries from their parent node blocks.  The implicit assumption is that
xfs\_attr\_inactive() will truncate the entire attr fork to zero extents
afterwards, so log recovery will never reach the root node and follow
those stale pointers.

However, if a log shutdown occurs after the leaf/node block cancellations
commit but before the attr bmap truncation commits, this assumption
breaks.  Recovery replays the attr bmap intact (the inode still has
attr fork extents), but suppresses replay of all cancelled leaf/node
blocks, maybe leaving them as stale data on disk.  On the next mount,
xlog\_recover\_process\_iunlinks() retries inactivation and attempts to
read the root node via the attr bmap. If the root node was not replayed,
reading the unreplayed root block triggers a metadata verification
failure immediately; if it was replayed, following its child pointers
to unreplayed child blocks triggers the same failure:

 XFS (pmem0): Metadata corruption detected at
 xfs\_da3\_node\_read\_verify+0x53/0x220, xfs\_da3\_node block 0x78
 XFS (pmem0): Unmount and run xfs\_repair
 XFS (pmem0): First 128 bytes of corrupted metadata buffer:
 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 XFS (pmem0): metadata I/O error in "xfs\_da\_read\_buf+0x104/0x190" at daddr 0x78 len 8 error 117

Fix this in two places:

In xfs\_attr3\_node\_inactive(), after calling xfs\_trans\_binval() on a
child block, immediately remove the entry that references it from the
parent node in the same transaction.  This eliminates the window where
the parent holds a pointer to a cancelled block.  Once all children are
removed, the now-empty root node is converted to a leaf block within the
same transaction. This node-to-leaf conversion is necessary for crash
safety. If the system shutdown after the empty node is written to the
log but before the second-phase bmap truncation commits, log recovery
will attempt to verify the root block on disk. xfs\_da3\_node\_verify()
does not permit a node block with count == 0; such a block will fail
verification and trigger a metadata corruption shutdown. on the other
hand, leaf blocks are allowed to have this transient state.

In xfs\_attr\_inactive(), split the attr fork truncation into two explicit
phases.  First, truncate all extents beyond the root block (the child
extents whose parent references have already been removed above).
Second, invalidate the root block and truncate the attr bmap to zero in
a single transaction.  The two operations in the second phase must be
atomic: as long as the attr bmap has any non-zero length, recovery can
follow it to the root block, so the root block invalidation must commit
together with the bmap-to-zero truncation.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 190d54d1d42878fce8c735c2d9ac835725694d3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ea3850b9ce005e70f502b308edb2d99ca074ed3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e5a3e3cdd9b3015ae79456c81beebfdbb5246c0f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b854e1c4eff3473b6d3a9ae74129ac5c48bc0b61 (cvelist)
- Linux: 2.6.12 (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-43053. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43053.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 190d54d1d42878fce8c735c2d9ac835725694d3a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ea3850b9ce005e70f502b308edb2d99ca074ed3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e5a3e3cdd9b3015ae79456c81beebfdbb5246c0f; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 190d54d1d42878fce8c735c2d9ac835725694d3a, Linux 7ea3850b9ce005e70f502b308edb2d99ca074ed3

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-43053 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 190d54d1d42878fce8c735c2d9ac835725694d3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ea3850b9ce005e70f502b308edb2d99ca074ed3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e5a3e3cdd9b3015ae79456c81beebfdbb5246c0f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b854e1c4eff3473b6d3a9ae74129ac5c48bc0b61; Linux 2.6.12.

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

Yes. Fixed in Linux 190d54d1d42878fce8c735c2d9ac835725694d3a, Linux 7ea3850b9ce005e70f502b308edb2d99ca074ed3. No fix listed yet: follow the vendor advisory.

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

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/e5a3e3cdd9b3015ae79456c81beebfdbb5246c0f>
- patch: <https://git.kernel.org/stable/c/b854e1c4eff3473b6d3a9ae74129ac5c48bc0b61>
- other: <https://git.kernel.org/stable/c/190d54d1d42878fce8c735c2d9ac835725694d3a>
- other: <https://git.kernel.org/stable/c/7ea3850b9ce005e70f502b308edb2d99ca074ed3>

## 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-43053>

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