# CVE-2026-99396: xfs: bound da-node entry count against the correct geometry

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99396, UBUNTU-CVE-2026-99396, CGA-3qv5-5pjr-c6j6, CGA-457m-r7cf-xm4c, CGA-6rx4-f47g-g5m9, CGA-7wmm-xfrc-f6gj, CGA-8ggq-6q7p-gfcg, CGA-j2cm-q9rc-xrfm, CGA-jm89-9xfx-226c, CGA-mxqp-v9qw-2hq9, CGA-qqvp-5xxc-9r89, CGA-vgf4-4x39-273m, CGA-w3wh-6pq9-8p64, CGA-29vv-j533-mc3x, CGA-3jqv-6gcv-f87x, CGA-68hj-q6gm-5p9x, CGA-87vc-mrf4-43w5, CGA-c5xq-98fr-r32m, CGA-cpr2-336g-p4mw, CGA-hp25-m3jj-774q, CGA-9wv7-52r4-hh7m
- Record: https://cvemate.com/vulnerability/CVE-2026-99396 · JSON: https://cvemate.com/vulnerability/CVE-2026-99396/json

## Description

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

xfs: bound da-node entry count against the correct geometry

xfs_da3_node_verify() bounds the node entry count against the larger of
the directory and attribute geometries because, as a buffer verifier, it
cannot tell whether the block belongs to the directory or the attribute
tree. When the directory block size exceeds the fs block size (e.g.
mkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs
block that holds only m_attr_geo->node_ents entries, yet a crafted attr
node may claim a count up to m_dir_geo->node_ents and still pass the
verifier.

xfs_da3_node_lookup_int() then indexes btree[] up to that count during
its binary search -- an out-of-bounds read via getxattr/listxattr on a
mounted crafted image.

The buffer verifier is the wrong place to tighten this: it has no fork
context, and the transaction-less read path used by getxattr does not run
xfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other
hand, always runs on that path and holds args->geo, the geometry of the
fork actually being searched. Bound the entry count against
args->geo->node_ents there, before walking the entries.
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.236%, percentile 15.625%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 182)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69>
- <https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b>
- <https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85>
- <https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f>
- <https://security-tracker.debian.org/tracker/CVE-2026-99396>
- <https://git.kernel.org/stable/c/cb0c634fd6de2cf3daf3d6f91ffec3873497f404>
- <https://git.kernel.org/stable/c/83cb680ad9154a3ebf1a22b793b6932e1abc7c47>
- <https://git.kernel.org/stable/c/84ceb84e83aff1eb6043a247a70543c1b5a81e54>
- <https://git.kernel.org/stable/c/3619d3f206ae62ca9354e521b82e02d3438d2c4d>
- <https://ubuntu.com/security/CVE-2026-99396>
- <https://www.cve.org/CVERecord?id=CVE-2026-99396>
- <https://git.kernel.org/linus/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f>

---

Data as of 2026-12-05T08:38:08.887Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
