# CVE-2026-99051: fsverity: RCU-delay the freeing of struct fsverity_info

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-23T12:22:30.370Z
- Modified: 2026-10-24T14:16:53.773Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f77f281b61183a5c0b87e6a4d101c70bd32c1c79 before fa84f091a8e7fc46fd29834496fab9739dd4c8dc; from f77f281b61183a5c0b87e6a4d101c70bd32c1c79 before e58c3805ed325fe2d4ae2dd467c0486cc860b733; 7.0 (not affected: before 7.0; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fa84f091a8e7fc46fd29834496fab9739dd4c8dc>
- <https://git.kernel.org/stable/c/e58c3805ed325fe2d4ae2dd467c0486cc860b733>

## Sources

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

---

Page: https://cve.day/CVE-2026-99051 · Whole record: https://cve.day/CVE-2026-99051.json · Rebuilt by cve.day 2026-11-25T22:59:46.960Z
