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.
Published: 2026-09-17
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized ACL modification on read‑only btrfs volumes
Action: Apply kernel patch
AI Analysis

Impact

When a btrfs filesystem is configured as read‑only, the kernel should reject all write operations, including setting POSIX ACLs and extended attributes. The vulnerability arises because the set_acl code path no longer checks whether the root is read‑only before proceeding with the ACL change. As a result an attacker who can invoke the set_acl interface can modify ACLs even on a read‑only filesystem, potentially giving themselves elevated privileges or allowing the creation of paths that bypass security controls. The weakness is a missing access‑control check preventing legitimate enforcement of the read‑only property.

Affected Systems

All Linux kernel releases from the moment the blocking commit (b51111271b03) was removed until the fix is applied. The issue affects the btrfs filesystem implementation in the kernel, with no specific kernel version range provided in the data.

Risk and Exploitability

The EPSS score is less than 1 %, indicating very low probability of exploitation at the time of this analysis. The vulnerability is not listed in the CISA KEV catalog, suggesting no known large‑scale exploitation. However, because the code runs in kernel context, a successful exploit could lead to privilege escalation or system compromise. The likely attack vector is local or privileged, where an attacker with the ability to interact with the btrfs set_acl syscalls can trigger the flaw. Although exploitation is theoretically possible, the low EPSS and lack of known attacks result in a lower overall risk compared to high‑CVSS kernel bugs.

Generated by OpenCVE AI on September 19, 2026 at 03:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit which restores the read‑only check for ACL changes
  • If upgrading is not immediately possible, ensure that btrfs filesystems are mounted with the "ro" flag and that ACL support is disabled or tightly controlled through mount options
  • Apply a temporary workaround by manually removing any clients or services that invoke set_acl on known read‑only btrfs volumes until a kernel update is available

Generated by OpenCVE AI on September 19, 2026 at 03:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 19 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title btrfs: check if root is readonly when setting posix acl
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-17T16:08:00.085Z

Reserved: 2026-09-11T19:38:34.796Z

Link: CVE-2026-90263

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:17:22.747

Modified: 2026-09-17T17:17:22.747

Link: CVE-2026-90263

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T03:30:18Z

Weaknesses