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

fsverity: RCU-delay the freeing of struct fsverity_info

__fsverity_get_info() calls rhashtable_lookup_fast(), which just uses
rcu_read_lock() and doesn't directly synchronize with
fsverity_remove_info().

For the same inode this isn't a problem: its fsverity_info is removed
only at inode eviction time or upon failure to enable verity, when the
inode no longer needs its fsverity_info and it will no longer be
accessed via that inode.

However, this is broken and can cause a use-after-free for concurrent
__fsverity_get_info() for *different* inodes. Those rely on following
fsverity_info::rhash_head in the rhashtable under rcu_read_lock() only.
They also use fsverity_info::inode to do the key comparison.

Fix this by RCU-delaying the freeing of 'struct fsverity_info' after
it's been removed from the rhashtable.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Use‑After‑Free Leading to Arbitrary Code Execution
Action: Patch Immediately
AI Analysis

Impact

A race condition in the Linux kernel’s fsverity subsystem allows a concurrent __fsverity_get_info() call to access a freed fsverity_info structure. This use‑after‑free occurs when different inodes are processed, potentially allowing an attacker to manipulate kernel memory or execute arbitrary code after the structure is released.

Affected Systems

All Linux kernel installations that include fsverity support and have not applied the RCU‑delay patch are affected. The precise kernel versions that lack the fix are not disclosed, but the issue exists in any kernel build where the mentioned race condition is present.

Risk and Exploitability

The vulnerability is a classic use‑after‑free in the kernel, implying a high severity if exploited. No CVSS score is provided, and the EPSS score is unavailable, but the absence of a KEV listing does not eliminate the risk. The likely attack vector is local; an attacker with the ability to trigger fsverity lookups or removals could potentially achieve privilege escalation or arbitrary code execution within the kernel context.

Generated by OpenCVE AI on October 23, 2026 at 15:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the RCU‑delay fix for fsverity_info, typically available in recent mainline releases.
  • If a timely kernel update is not possible, obtain and apply the backported patch that delays freeing of struct fsverity_info from the kernel mailing list or Git repository to close the race condition.
  • As a temporary measure, disable fsverity support (CONFIG_FS_VERITY) in the kernel configuration or unload any verity modules if they are not required, accepting the loss of integrity verification for the affected filesystems.

Generated by OpenCVE AI on October 23, 2026 at 15:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fsverity: RCU-delay the freeing of struct fsverity_info __fsverity_get_info() calls rhashtable_lookup_fast(), which just uses rcu_read_lock() and doesn't directly synchronize with fsverity_remove_info(). For the same inode this isn't a problem: its fsverity_info is removed only at inode eviction time or upon failure to enable verity, when the inode no longer needs its fsverity_info and it will no longer be accessed via that inode. However, this is broken and can cause a use-after-free for concurrent __fsverity_get_info() for *different* inodes. Those rely on following fsverity_info::rhash_head in the rhashtable under rcu_read_lock() only. They also use fsverity_info::inode to do the key comparison. Fix this by RCU-delaying the freeing of 'struct fsverity_info' after it's been removed from the rhashtable.
Title fsverity: RCU-delay the freeing of struct fsverity_info
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:22:30.370Z

Reserved: 2026-09-25T10:25:14.388Z

Link: CVE-2026-99051

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:28.633

Modified: 2026-10-23T13:17:28.633

Link: CVE-2026-99051

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T16:00:18Z

Weaknesses