# CVE-2026-99476: fsverity: Set S\_VERITY only after rollback is no longer possible

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-28)
- **Published:** 2026-11-19T14:43:08.574Z
- **Modified:** 2026-11-22T11:16:53.593Z

## Who should check

- Anyone running Linux \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< 10c13801ea38e4ced23c59052ce45acb07c5deda; \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b
- Anyone running Linux 7.0

## Description

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

fsverity: Set S\_VERITY only after rollback is no longer possible

Commit f77f281b6118 ("fsverity: use a hashtable to find the
fsverity\_info") changed the implementation of FS\_IOC\_ENABLE\_VERITY to
make concurrent reads start going through fsverity verification slightly
earlier than they did before.

Instead of it happening when enable\_verity() calls fsverity\_set\_info(),
it now happens when -\>end\_enable\_verity() sets S\_VERITY.

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

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

Also update enable\_verity() to handle any future instances of this bug
more safely by warning and \*not\* freeing the fsverity\_info.

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

## Affected and fixed versions

- Linux: \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< 10c13801ea38e4ced23c59052ce45acb07c5deda; \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b (cvelist)
- Linux: 7.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99476. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99476.md
Affected: Linux >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, < 10c13801ea38e4ced23c59052ce45acb07c5deda; >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, < c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b; Linux 7.0
Fixed in: Linux 10c13801ea38e4ced23c59052ce45acb07c5deda

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99476 being exploited?

There is no confirmed exploitation: CVE-2026-99476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99476?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-99476?

Linux \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< 10c13801ea38e4ced23c59052ce45acb07c5deda; \>= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, \< c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b; Linux 7.0.

### Is there a fix for CVE-2026-99476?

Yes. Fixed in Linux 10c13801ea38e4ced23c59052ce45acb07c5deda. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99476?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/10c13801ea38e4ced23c59052ce45acb07c5deda>
- other: <https://git.kernel.org/stable/c/c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99476>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99476> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99476>
