CVE-2026-90263

btrfs: check if root is readonly when setting posix acl

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before f3e6b504a79d8e90bb7aa8a03a42dc2b51dcc4c4Affected
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before 20b2c2f3316e82a76ae3358c0bd45824f50f3fd5Affected
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before dc3a6e90a0a6350a6d43fed9f005f54171809580Affected
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before ce8103676f4d4b13e1f087fcfb34f80774d30be2Affected
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before d5602f96ff1e266f069b4d0d94f441050e057e06Affected
  • 353c2ea735e4b54fb6250861e67b51b1bcb47198 to before 01c2f41fc441f75b3f9326443372faceb1cb6638Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.