{"vuln_id":"CVE-2026-99476","aliases":[],"description":"kernel: kernel: Use-after-free in fsverity during error rollback","published_at":"2026-11-19T14:43:08Z","modified_at":"2026-11-22T11:16:53.593000Z","first_seen_at":"2026-11-21T19:15:15.262959Z","severity":"high","severity_source":"nvd","cvss_score":7.0,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00156,"epss_percentile":0.04735,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99476"},"matched_alias":null,"items":[{"id":8808,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99476: In the Linux kernel, the following vulnerability has been resolved: fsverity: Set S_VERITY only after rollback is no longer possible Commit f77f281b6118 (\"fsve…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsverity: Set S_VERITY only after rollback is no longer possible\n\nCommit f77f281b6118 (\"fsverity: use a hashtable to find the\nfsverity_info\") changed the implementation of FS_IOC_ENABLE_VERITY to\nmake concurrent reads start going through fsverity verification slightly\nearlier than they did before.\n\nInstead of it happening when enable_verity() calls fsverity_set_info(),\nit now happens when ->end_enable_verity() sets S_VERITY.\n\nHowever, ext4 and btrfs can roll back verity after they set S_VERITY,\ncausing a use-after-free.\n\nFix that by making ext4 and btrfs set S_VERITY only after rollback is no\nlonger possible.  On failure, don't roll back S_VERITY, but do roll back\nthe filesystem-specific verity flag.\n\nAlso update enable_verity() to handle any future instances of this bug\nmore safely by warning and *not* freeing the fsverity_info.\n\nFinally, tweak some comments.  Clarify one, and move information from\nanother to its proper place in the comment for ->end_enable_verity().\n\nReferences:\nhttps://git.kernel.org/stable/c/10c13801ea38e4ced23c59052ce45acb07c5deda\nhttps://git.kernel.org/stable/c/c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99476","published_at":"2026-11-19T15:18:02.143000Z","updated_at":"2026-11-22T11:16:53.593000Z","fetched_at":"2026-11-21T19:15:31.484501Z","severity":"high","cvss_score":7.0,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99476","vuln_ids":["CVE-2026-99476"],"tags":[],"cluster_id":944,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8808","html":"https://vulnwatch.ve1ve2.com/item/8808"}},{"id":1205,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99476: kernel: kernel: Use-after-free in fsverity during error rollback","summary":"kernel: kernel: Use-after-free in fsverity during error rollback","url":"https://access.redhat.com/security/cve/cve-2026-99476","published_at":"2026-11-19T14:43:08Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.894036Z","severity":"high","cvss_score":7.0,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99476","vuln_ids":["CVE-2026-99476"],"tags":["redhat"],"cluster_id":944,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1205","html":"https://vulnwatch.ve1ve2.com/item/1205"}}]}