← Back to search

CVE-2026-99131

8.2 HIGH

Published 2026-10-28 · Updated 2026-10-31

AI risk analysis

Summary
A flawed capability check in XFS allows a user to bypass group quota enforcement by changing a file's group ID via NFS, exploiting the difference between effective and real credential checks.
Exploitability
Requires NFS access with permission to modify file attributes (e.g., chown to a group the user belongs to); remote exploitation possible without authentication if NFS is exposed.
Blast radius
Compromises quota integrity across the filesystem, enabling users to exceed enforced storage limits and potentially exhaust disk resources for other users or system processes.
Detection
Monitor for unexpected group ID changes on files with large sizes via audit logs (e.g., auditd records of setattr operations) and correlate with quota exceeded events; look for repeated chgrp calls by non-root users to groups they already belong to under NFS exports with quota enforcement enabled.
Prioritized remediation
Apply the kernel patch referenced in commit eba0549bc7d1 (or later), which replaces has_capability_noaudit() with ns_capable_noaudit() in XFS quota enforcement code; upgrade to Linux kernel 6.12.1 or later if the fix is included there.
quota-bypassxfsnfsprivilege-escalationresource-exhaustion

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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()

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.