{"id":"CVE-2026-99131","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-10-28T11:17:32.917","lastModified":"2026-10-31T13:17:56.757","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix capability check in xfs\n\nAn user reported a bug where he managed to evade group's quota\nby changing a file's gid to a different group id the same user\nbelonged to, even though quotas were enforced on both gids and the\nfile's size was big enough to exceed the quota's hardlimit.\n\nCommit eba0549bc7d1 replaced a capable() call by a\nhas_capability_noaudit() to prevent unnecessary selinux audit messages.\nTurns out that both calls have slightly different semantics even though\ntheir documentation seems similar. Where in a nutshell:\n\ncapable() - Tests the task's effective credentials\nhas_ns_capability_noaudit() - Tests the task's real credentials\n\nThis most of the time has no practical difference but in some cases like\nchanging attrs (specifically group id in this case) through a NFS client\nthis will allow the quota code to use XFS_QMOPT_FORCE_RES, effectively\nbypassing quota accounting checks.\n\nUsing instead ns_capable_noaudit() should fix this issue and prevent\nselinux audit messages.\n\nThis also fix the remaining calls to has_capability_noaudit()"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/xfs/xfs_fsmap.c","fs/xfs/xfs_ioctl.c","fs/xfs/xfs_iops.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"29f994db0447104a7a52fb6495193c80007cb66a","versionType":"git","status":"affected"},{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"e84bfb08016496ec5ce09a5ef9c813f23c060781","versionType":"git","status":"affected"},{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"87881f816ab721d8a727cba20c36b9c71b489c8e","versionType":"git","status":"affected"},{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"19a1a22029ad3ae3604c763af6bd1195cb73648f","versionType":"git","status":"affected"},{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"7809ac0161c7c5f52ed348fb1ec683b2b454a83e","versionType":"git","status":"affected"},{"version":"eba0549bc7d100691c13384b774346b8aa9cf9a9","lessThan":"e2f62a9744ebad3bcb6347a648e615026e9efeff","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/xfs/xfs_fsmap.c","fs/xfs/xfs_ioctl.c","fs/xfs/xfs_iops.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.161","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.115","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":4.2}]},"references":[{"url":"https://git.kernel.org/stable/c/19a1a22029ad3ae3604c763af6bd1195cb73648f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/29f994db0447104a7a52fb6495193c80007cb66a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7809ac0161c7c5f52ed348fb1ec683b2b454a83e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/87881f816ab721d8a727cba20c36b9c71b489c8e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e2f62a9744ebad3bcb6347a648e615026e9efeff","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e84bfb08016496ec5ce09a5ef9c813f23c060781","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}