Linux カーネルのXFSで権限チェックの不備により、クォータ制限を回避される脆弱性
Summary
Linux カーネルのXFSで、グループIDの変更によりグループのクォータ制限を回避される脆弱性が見つかりました。NFSクライアントからの操作で起きることがあると説明されています。影響は5.18以降の各系統で、6.1.191、6.6.161、6.12.115、6.18.59、7.2.13の修正版で直ります。修正版への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux カーネルのXFSで、グループIDの変更によりグループのクォータ制限を回避される脆弱性が見つかりました。NFSクライアントからの操作で起きることがあると説明されています。影響は5.18以降の各系統で、6.1.191、6.6.161、6.12.115、6.18.59、7.2.13の修正版で直ります。修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.18.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.161→ 6.6.161 ≥ 6.7.0, < 6.12.115→ 6.12.115 ≥ 6.13.0, < 6.18.59→ 6.18.59 ≥ 6.19.0, < 7.2.13→ 7.2.13 |
6.1.191 6.6.161 6.12.115 6.18.59 7.2.13 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99131 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99131 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99131 linux-vmware, linux-realtime-6.8, linux-realtime +25 more Fix available
Original description The description as published by the source.
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()
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org