# CVE-2026-99991: ntfs: roll back the ACL xattr commit when the WSL mode update fails

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:56.734Z
- Modified: 2026-11-30T14:20:42.380Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ntfs: roll back the ACL xattr commit when the WSL mode update fails

ntfs_set_acl_ex() commits the ACL xattr before it rewrites the WSL
mode EA, and removes it again when the rewrite fails.  That only
undoes a set that created the xattr: when the update replaced or
removed an existing one, the old ACL is discarded along with the
failed update.  No error is recorded when the undo fails, so the
new, typically more permissive, ACL is left on disk while i_mode,
the mode EA and the cached ACL keep the old values.  After a
remount, a chmod 0640 -> 0777 that reported failure leaves the file
accessible to the relaxed ACL while stat() still reports 0640.

Save the previous xattr before committing the update, and restore it
when the mode EA rewrite fails.  A removed xattr is created again,
since XATTR_REPLACE fails with -ENODATA once the removal dropped the
entry.  Remove the new xattr only when there was no previous one, and
skip the undo when the commit changed nothing.  A failed rollback is
recorded: NVolSetErrors(), which the next persistence point persists
as VOLUME_IS_DIRTY, and a log message the errors= policy acts on.
The flag cannot be written to disk here directly: the target inode's
mrec_lock is held and the $Volume mrec_lock cannot be nested under
it.

(As written by CVE List.)

## Affected

- Linux Linux: from fc053f05ca282a5e760b41f6560ac835c4e28037 before bcc90f9fe12a2fb777262cfaa581fd73dee33592; from fc053f05ca282a5e760b41f6560ac835c4e28037 before 89467388e8afc6b55ea7cd38bc1f469df7747db0; 7.1 (not affected: before 7.1; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/bcc90f9fe12a2fb777262cfaa581fd73dee33592>
- <https://git.kernel.org/stable/c/89467388e8afc6b55ea7cd38bc1f469df7747db0>

## Sources

- CVE List: [CVE-2026-99991](https://www.cve.org/CVERecord?id=CVE-2026-99991), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99991](https://nvd.nist.gov/vuln/detail/CVE-2026-99991), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99991 · Whole record: https://cve.day/CVE-2026-99991.json · Rebuilt by cve.day 2026-11-30T14:33:26.950Z
