8.2

CVE-2026-99131

xfs: fix capability check in xfs

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()
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < 29f994db0447104a7a52fb6495193c80007cb66a
Status affected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < e84bfb08016496ec5ce09a5ef9c813f23c060781
Status affected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < 87881f816ab721d8a727cba20c36b9c71b489c8e
Status affected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < 19a1a22029ad3ae3604c763af6bd1195cb73648f
Status affected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < 7809ac0161c7c5f52ed348fb1ec683b2b454a83e
Status affected
Version eba0549bc7d100691c13384b774346b8aa9cf9a9
Version < e2f62a9744ebad3bcb6347a648e615026e9efeff
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.18
Status affected
Version 0
Version < 5.18
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.19% 0.081
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 8.2 3.9 4.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/19a1a22029ad3ae3604c763af6bd1195cb73648f
https://git.kernel.org/stable/c/7809ac0161c7c5f52ed348fb1ec683b2b454a83e
https://git.kernel.org/stable/c/e2f62a9744ebad3bcb6347a648e615026e9efeff
https://git.kernel.org/stable/c/29f994db0447104a7a52fb6495193c80007cb66a
https://git.kernel.org/stable/c/87881f816ab721d8a727cba20c36b9c71b489c8e
https://git.kernel.org/stable/c/e84bfb08016496ec5ce09a5ef9c813f23c060781