{"id":"CVE-2026-99051","title":"fsverity: RCU-delay the freeing of struct fsverity_info","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsverity: RCU-delay the freeing of struct fsverity_info\n\n__fsverity_get_info() calls rhashtable_lookup_fast(), which just uses\nrcu_read_lock() and doesn't directly sync…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79 < fa84f091a8e7fc46fd29834496fab9739dd4c8dc","Linux >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79 < e58c3805ed325fe2d4ae2dd467c0486cc860b733","Linux 7.0"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:22:30.370Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99051","references":[{"url":"https://git.kernel.org/stable/c/fa84f091a8e7fc46fd29834496fab9739dd4c8dc"},{"url":"https://git.kernel.org/stable/c/e58c3805ed325fe2d4ae2dd467c0486cc860b733"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.522Z","slug":"CVE-2026-99051","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nfsverity: RCU-delay the freeing of struct fsverity_info\n\n__fsverity_get_info() calls rhashtable_lookup_fast(), which just uses\nrcu_read_lock() and doesn't directly synchronize with\nfsverity_remove_info().\n\nFor the same inode this isn't a problem: its fsverity_info is removed\nonly at inode eviction time or upon failure to enable verity, when the\ninode no longer needs its fsverity_info and it will no longer be\naccessed via that inode.\n\nHowever, this is broken and can cause a use-after-free for concurrent\n__fsverity_get_info() for *different* inodes.  Those rely on following\nfsverity_info::rhash_head in the rhashtable under rcu_read_lock() only.\nThey also use fsverity_info::inode to do the key comparison.\n\nFix this by RCU-delaying the freeing of 'struct fsverity_info' after\nit's been removed from the rhashtable.\n\n## Affected\n\n- `Linux >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79 < fa84f091a8e7fc46fd29834496fab9739dd4c8dc`\n- `Linux >= f77f281b61183a5c0b87e6a4d101c70bd32c1c79 < e58c3805ed325fe2d4ae2dd467c0486cc860b733`\n- `Linux 7.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}