# CVE-2026-99791: xfs: improve dirent bounds checking in scrub and repair

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **Published:** 2026-11-20T05:51:51.577Z
- **Modified:** 2026-11-23T09:17:09.317Z

## Who should check

- Anyone running Linux \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< b6c6c498672655a41044d9902c0c9974729d7ad1; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 93f004cc758cc5ca5d9073d152fa6e939318a9f0; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< e6b34cfebf652582d3340e7de941e34180560fb2; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 1c43eee6a22daddad27d088d49c9a9ffe4e585e8; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 119778a329881e043920e198d97b7fdd4debad19; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< d7b9258b930b42a1681171027d0331d2d7e60c7c; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< f365dc588b2a327e693f3203dd1897bd749f6c32; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a
- Anyone running Linux 4.16

## Description

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

xfs: improve dirent bounds checking in scrub and repair

LOLLM complains that we don't do enough bounds checking of the directory
entries in directory blocks when we're looking for errors or trying to
salvage entries.  Let's improve that with more detailed checks.

## Affected and fixed versions

- Linux: \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< b6c6c498672655a41044d9902c0c9974729d7ad1; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 93f004cc758cc5ca5d9073d152fa6e939318a9f0; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< e6b34cfebf652582d3340e7de941e34180560fb2; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 1c43eee6a22daddad27d088d49c9a9ffe4e585e8; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 119778a329881e043920e198d97b7fdd4debad19; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< d7b9258b930b42a1681171027d0331d2d7e60c7c; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< f365dc588b2a327e693f3203dd1897bd749f6c32; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a (cvelist)
- Linux: 4.16 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99791.md
Affected: Linux >= ce92d29ddf9908d397895c46b7c78e9db8df414d, < b6c6c498672655a41044d9902c0c9974729d7ad1; >= ce92d29ddf9908d397895c46b7c78e9db8df414d, < 93f004cc758cc5ca5d9073d152fa6e939318a9f0; >= ce92d29ddf9908d397895c46b7c78e9db8df414d, < e6b34cfebf652582d3340e7de941e34180560fb2; >= ce92d29ddf9908d397895c4…
Fixed in: Linux 93f004cc758cc5ca5d9073d152fa6e939318a9f0, Linux 1c43eee6a22daddad27d088d49c9a9ffe4e585e8, Linux 119778a329881e043920e198d97b7fdd4debad19, Linux 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< b6c6c498672655a41044d9902c0c9974729d7ad1; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 93f004cc758cc5ca5d9073d152fa6e939318a9f0; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< e6b34cfebf652582d3340e7de941e34180560fb2; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 1c43eee6a22daddad27d088d49c9a9ffe4e585e8; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 119778a329881e043920e198d97b7fdd4debad19; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< d7b9258b930b42a1681171027d0331d2d7e60c7c; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< f365dc588b2a327e693f3203dd1897bd749f6c32; \>= ce92d29ddf9908d397895c46b7c78e9db8df414d, \< 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a; Linux 4.16.

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

Yes. Fixed in Linux 93f004cc758cc5ca5d9073d152fa6e939318a9f0, Linux 1c43eee6a22daddad27d088d49c9a9ffe4e585e8, Linux 119778a329881e043920e198d97b7fdd4debad19, Linux 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a. Upgrade Linux to 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a or later.

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

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

- other: <https://git.kernel.org/stable/c/b6c6c498672655a41044d9902c0c9974729d7ad1>
- other: <https://git.kernel.org/stable/c/93f004cc758cc5ca5d9073d152fa6e939318a9f0>
- other: <https://git.kernel.org/stable/c/e6b34cfebf652582d3340e7de941e34180560fb2>
- other: <https://git.kernel.org/stable/c/1c43eee6a22daddad27d088d49c9a9ffe4e585e8>
- other: <https://git.kernel.org/stable/c/119778a329881e043920e198d97b7fdd4debad19>
- other: <https://git.kernel.org/stable/c/d7b9258b930b42a1681171027d0331d2d7e60c7c>
- other: <https://git.kernel.org/stable/c/f365dc588b2a327e693f3203dd1897bd749f6c32>
- other: <https://git.kernel.org/stable/c/5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a>

## 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-99791>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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