CVE-2026-99051
fsverity: RCU-delay the freeing of struct fsverity_info
Fetching some sources has been requested. Reload in about a minute to see them.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack conditions and impact
Derived from the CNA (via NVD) CVSS 3.1 vector| Metric | Value | Meaning |
|---|---|---|
| Attack vector AV | L | Local |
| Attack complexity AC | L | Low (easy) |
| Privileges required PR | L | Regular user |
| User interaction UI | N | None |
| Scope S | U | Unchanged |
| Confidentiality C | H | High |
| Integrity I | H | High |
| Availability A | H | High |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CVSS assessments
| Provider | Version | Score | Vector |
|---|---|---|---|
| NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | 3.1 | 7.8 HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA / Linux | 3.1 | 7.8 HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: f77f281b61183a5c0b87e6a4d101c70bd32c1c79 … < fa84f091a8e7fc46fd29834496fab9739dd4c8dc affected: f77f281b61183a5c0b87e6a4d101c70bd32c1c79 … < e58c3805ed325fe2d4ae2dd467c0486cc860b733 default: unaffected |
| Linux | Linux | affected: 7.0 unaffected: 0 … < 7.0 unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
fsverity: RCU-delay the freeing of struct fsverity_info
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79, < fa84f091a8e7fc46fd29834496fab9739dd4c8dc; < e58c3805ed325fe2d4ae2dd467c0486cc860b733 | fa84f091a8e7fc46fd29834496fab9739dd4c8dc, e58c3805ed325fe2d4ae2dd467c0486cc860b733 | ||
| Linux | Kernel | >= 7.0.0, < 7.2.11 | 7.2.11 |
Linux distribution status
References (5)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/e58c3805ed325fe2d4ae2dd467c0486cc860b733 NVD, CNA, OSV
- https://git.kernel.org/stable/c/fa84f091a8e7fc46fd29834496fab9739dd4c8dc NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99051.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99051 OSV