# CVE-2026-99131: xfs: fix capability check in xfs

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

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-26)
- **Published:** 2026-10-28T10:34:45.102Z
- **Modified:** 2026-10-31T13:17:56.757Z

## Who should check

- Anyone running Linux \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 29f994db0447104a7a52fb6495193c80007cb66a; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e84bfb08016496ec5ce09a5ef9c813f23c060781; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 87881f816ab721d8a727cba20c36b9c71b489c8e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 19a1a22029ad3ae3604c763af6bd1195cb73648f; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 7809ac0161c7c5f52ed348fb1ec683b2b454a83e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e2f62a9744ebad3bcb6347a648e615026e9efeff
- Anyone running Linux 5.18

## Description

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

xfs: fix capability check in xfs

An user reported a bug where he managed to evade group's quota
by changing a file's gid to a different group id the same user
belonged to, even though quotas were enforced on both gids and the
file's size was big enough to exceed the quota's hardlimit.

Commit eba0549bc7d1 replaced a capable() call by a
has\_capability\_noaudit() to prevent unnecessary selinux audit messages.
Turns out that both calls have slightly different semantics even though
their documentation seems similar. Where in a nutshell:

capable() - Tests the task's effective credentials
has\_ns\_capability\_noaudit() - Tests the task's real credentials

This most of the time has no practical difference but in some cases like
changing attrs (specifically group id in this case) through a NFS client
this will allow the quota code to use XFS\_QMOPT\_FORCE\_RES, effectively
bypassing quota accounting checks.

Using instead ns\_capable\_noaudit() should fix this issue and prevent
selinux audit messages.

This also fix the remaining calls to has\_capability\_noaudit()

## Affected and fixed versions

- Linux: \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 29f994db0447104a7a52fb6495193c80007cb66a; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e84bfb08016496ec5ce09a5ef9c813f23c060781; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 87881f816ab721d8a727cba20c36b9c71b489c8e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 19a1a22029ad3ae3604c763af6bd1195cb73648f; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 7809ac0161c7c5f52ed348fb1ec683b2b454a83e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e2f62a9744ebad3bcb6347a648e615026e9efeff (cvelist)
- Linux: 5.18 (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-99131. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99131.md
Affected: Linux >= eba0549bc7d100691c13384b774346b8aa9cf9a9, < 29f994db0447104a7a52fb6495193c80007cb66a; >= eba0549bc7d100691c13384b774346b8aa9cf9a9, < e84bfb08016496ec5ce09a5ef9c813f23c060781; >= eba0549bc7d100691c13384b774346b8aa9cf9a9, < 87881f816ab721d8a727cba20c36b9c71b489c8e; >= eba0549bc7d100691c13384…
Fixed in: Linux 29f994db0447104a7a52fb6495193c80007cb66a, Linux 87881f816ab721d8a727cba20c36b9c71b489c8e, Linux 19a1a22029ad3ae3604c763af6bd1195cb73648f, Linux 7809ac0161c7c5f52ed348fb1ec683b2b454a83e

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

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

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

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 29f994db0447104a7a52fb6495193c80007cb66a; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e84bfb08016496ec5ce09a5ef9c813f23c060781; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 87881f816ab721d8a727cba20c36b9c71b489c8e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 19a1a22029ad3ae3604c763af6bd1195cb73648f; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< 7809ac0161c7c5f52ed348fb1ec683b2b454a83e; \>= eba0549bc7d100691c13384b774346b8aa9cf9a9, \< e2f62a9744ebad3bcb6347a648e615026e9efeff; Linux 5.18.

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

Yes. Fixed in Linux 29f994db0447104a7a52fb6495193c80007cb66a, Linux 87881f816ab721d8a727cba20c36b9c71b489c8e, Linux 19a1a22029ad3ae3604c763af6bd1195cb73648f, Linux 7809ac0161c7c5f52ed348fb1ec683b2b454a83e. No fix listed yet: follow the vendor advisory.

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

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/29f994db0447104a7a52fb6495193c80007cb66a>
- other: <https://git.kernel.org/stable/c/e84bfb08016496ec5ce09a5ef9c813f23c060781>
- other: <https://git.kernel.org/stable/c/87881f816ab721d8a727cba20c36b9c71b489c8e>
- other: <https://git.kernel.org/stable/c/19a1a22029ad3ae3604c763af6bd1195cb73648f>
- other: <https://git.kernel.org/stable/c/7809ac0161c7c5f52ed348fb1ec683b2b454a83e>
- other: <https://git.kernel.org/stable/c/e2f62a9744ebad3bcb6347a648e615026e9efeff>

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

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