CVE-2026-99476: fsverity: Set S_VERITY only after rollback is no longer possible

Published Nov 19, 2026
·
Updated

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

fsverity: Set SVERITY only after rollback is no longer possible

Commit f77f281b6118 ("fsverity: use a hashtable to find the fsverityinfo") changed the implementation of FSIOCENABLEVERITY to make concurrent reads start going through fsverity verification slightly earlier than they did before.

Instead of it happening when enableverity() calls fsveritysetinfo(), it now happens when ->endenableverity() sets SVERITY.

However, ext4 and btrfs can roll back verity after they set SVERITY, causing a use-after-free.

Fix that by making ext4 and btrfs set SVERITY only after rollback is no longer possible. On failure, don't roll back SVERITY, but do roll back the filesystem-specific verity flag.

Also update enableverity() to handle any future instances of this bug more safely by warning and not freeing the fsverityinfo.

Finally, tweak some comments. Clarify one, and move information from another to its proper place in the comment for ->endenableverity().

Affected Software

1 affected componentFixes available
linux/kernel>=7.0.0<7.3.2
7.3.2

Event History

Nov 19, 2026
CVE Published
via MITRE·02:43 PM
Data Sourced
via MITRE·02:43 PM
Description
Data Sourced
via OSV·02:43 PM
DescriptionAffected Software
Data Sourced
via NVD·03:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203