xfs: fix capability check in xfs (Linux Linux)

CVE-2026-99131
HIGH 8.2

En bref

Source
NVD
EPSS
EPSS 0.59 % · centile 50 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HLinux
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < 29f994db0447104a7a52fb6495193c80007cb66a
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < e84bfb08016496ec5ce09a5ef9c813f23c060781
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < 87881f816ab721d8a727cba20c36b9c71b489c8e
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < 19a1a22029ad3ae3604c763af6bd1195cb73648f
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < 7809ac0161c7c5f52ed348fb1ec683b2b454a83e
affectée : ≥ eba0549bc7d100691c13384b774346b8aa9cf9a9 < e2f62a9744ebad3bcb6347a648e615026e9efeff
Autres versions : non affectée
Linux · Linux
affectée : 5.18
non affectée : ≥ 0 < 5.18
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.161 ≤ 6.6.*
non affectée : ≥ 6.12.115 ≤ 6.12.*
non affectée : ≥ 6.18.59 ≤ 6.18.*
non affectée : ≥ 7.2.13 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD