{"affected":[{"defaultStatus":"unaffected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"lessThan":"10c13801ea38e4ced23c59052ce45acb07c5deda","status":"affected","version":"f77f281b61183a5c0b87e6a4d101c70bd32c1c79","versionType":"git"},{"lessThan":"c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b","status":"affected","version":"f77f281b61183a5c0b87e6a4d101c70bd32c1c79","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cveId":"CVE-2026-99476","cwes":[],"description":"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().","epss":{"date":"2026-11-21","percentile":0.04735,"score":0.00156},"exploits":[],"kev":null,"metrics":[{"score":7,"severity":"high","source":"CNA: Linux","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7,"severity":"high","source":"NVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795346213593,"publishedAt":1795099388574,"references":[{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/10c13801ea38e4ced23c59052ce45acb07c5deda"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/10c13801ea38e4ced23c59052ce45acb07c5deda"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/c349b233d6ab0fc3517401a1e2d36f5f90eb8c9b"}],"remediation":[],"revision":"7a7bfd34c13243352f20537dc14be562a5c697a49e328df5e053ce0859af640d","sources":[{"modifiedAt":1795345712361,"name":"CNA: Linux","retrievedAt":1795349362152,"url":"https://www.cve.org/CVERecord?id=CVE-2026-99476"},{"modifiedAt":1795346213593,"name":"NVD","retrievedAt":1795349748979,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99476"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795330708202,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99476"}],"ssvc":null,"status":"published","title":"fsverity: Set S_VERITY only after rollback is no longer possible","updatedAt":1795349748979}