Capability check flaw in Linux kernel XFS lets users evade quotas
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel XFS filesystem from 5.18 is affected, with fixes in the stable branches listed in the solution. A capability check in XFS uses the task's real credentials instead of its effective credentials, which lets quota enforcement be skipped. An unauthenticated remote attacker can change a file's group ID through an NFS client and exceed the group's quota.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Description from the CNA
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()
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade to Linux kernel 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13 or 7.3. Red Hat lists Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5 as affected with no fix plan available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-28 Threatist record created from CVE-2026-99131
- 2026-10-28 Alias added: GHSA-5g3h-v4h7-rrh3
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 Fix available: Linux/Linux@29f994db0447104a7a52fb6495193c80007cb66a, Linux/[email protected], Linux/[email protected] +3 · CNA
- 2026-10-30 3 new references · CNA
- 2026-10-31 CVSS score added · CNA
References
Other 6
- https://git.kernel.org/stable/c/29f994db0447104a7a52fb6495193c80007cb66a
- https://git.kernel.org/stable/c/e84bfb08016496ec5ce09a5ef9c813f23c060781
- https://git.kernel.org/stable/c/87881f816ab721d8a727cba20c36b9c71b489c8e
- https://git.kernel.org/stable/c/19a1a22029ad3ae3604c763af6bd1195cb73648f
- https://git.kernel.org/stable/c/7809ac0161c7c5f52ed348fb1ec683b2b454a83e
- https://git.kernel.org/stable/c/e2f62a9744ebad3bcb6347a648e615026e9efeff
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99131 · CVE Program
- CVE-2026-99131 · NVD
- FIRST EPSS
- GHSA-5g3h-v4h7-rrh3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99131 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences