CVE-2026-99476
Received Received - Intake

fsverity Use-After-Free in Linux Kernel

Vulnerability report for CVE-2026-99476, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: kernel.org

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition in the fsverity feature. The issue occurs when setting the S_VERITY flag too early during filesystem verification, allowing ext4 and btrfs to roll back verity after the flag is set. This can lead to a use-after-free error, where freed memory is accessed, potentially causing system instability or crashes.

Impact Analysis

If exploited, this vulnerability could allow an attacker to trigger a use-after-free condition, leading to system crashes, data corruption, or privilege escalation. Systems relying on fsverity for file integrity checks may be particularly affected.

Mitigation Strategies

Update the Linux kernel to a patched version that includes the fix for CVE-2026-99476. This resolves the fsverity use-after-free issue by ensuring S_VERITY is set only after rollback is no longer possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-99476. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...