btrfs: check if root is readonly when setting posix acl (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: check if root is readonly when setting posix acl For a filesystem which has btrfs read-only property set to true, all write operations including acl and xattr should be denied. However, acl can still be set even if btrfs ro property is true. This happens because no function on the set_acl code path checks the root is readonly or not. It was checked in btrfs_setxattr_trans() but got removed in commit 353c2ea735e4 ("btrfs: remove redundant readonly root check in btrfs_setxattr_trans") That commit didn't check if all the callers properly check the root's read-only flag. A previous fix is commit b51111271b03 ("btrfs: check if root is readonly while setting security xattr"). Always check if the root is read-only before performing the set acl operation.
References
- https://git.kernel.org/stable/c/f3e6b504a79d8e90bb7aa8a03a42dc2b51dcc4c4
- https://git.kernel.org/stable/c/20b2c2f3316e82a76ae3358c0bd45824f50f3fd5
- https://git.kernel.org/stable/c/dc3a6e90a0a6350a6d43fed9f005f54171809580
- https://git.kernel.org/stable/c/ce8103676f4d4b13e1f087fcfb34f80774d30be2
- https://git.kernel.org/stable/c/d5602f96ff1e266f069b4d0d94f441050e057e06
- https://git.kernel.org/stable/c/01c2f41fc441f75b3f9326443372faceb1cb6638
European references
- ENISA EUVD · EUVD-2026-81856
- GCVE · GCVE-0-2026-90263
CERT-FR advisories
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < f3e6b504a79d8e90bb7aa8a03a42dc2b51dcc4c4 ; affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < 20b2c2f3316e82a76ae3358c0bd45824f50f3fd5 ; affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < dc3a6e90a0a6350a6d43fed9f005f54171809580 ; affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < ce8103676f4d4b13e1f087fcfb34f80774d30be2 ; affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < d5602f96ff1e266f069b4d0d94f441050e057e06 ; affected 353c2ea735e4b54fb6250861e67b51b1bcb47198 < 01c2f41fc441f75b3f9326443372faceb1cb6638 |
| Linux · Linux | affected 5.2 ; unaffected 0 < 5.2 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.57 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |