CVE-2026-99849
not scored yetfsverity: Tell LSMs about signature only after verity is enabled
In the Linux kernel, the following vulnerability has been resolved:
fsverity: Tell LSMs about signature only after verity is enabled
FS_IOC_ENABLE_VERITY calls security_inode_setintegrity() before verity
has finished being enabled. That's broken because enabling verity can
still fail at that point, e.g. due to insufficient xattr space.
Afterwards, arbitrary contents can be written to the file, which doesn't
actually have verity enabled. The in-core inode stays the same, so the
LSM considers it to have verity enabled with a valid signature. (Or
rather, in the case of IPE, which is the only LSM that implements
security_inode_setintegrity(), it also checks IS_VERITY(), which can be
bypassed by enabling verity with no signature after the file writes.)
Fix this by moving the call to security_inode_setintegrity() out of
fsverity_verify_signature() and into a new function that is called from
the appropriate places.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 7c373e4f1445263728d3eeab7e33e932c8f4a288, < 17f3e9cf7fa8365eb244417958c5b12c367c8922; >= 7c373e4f1445263728d3eeab7e33e932c8f4a288, < f1b790d81caadfc71276885fd02b93ab56c04e05; >= 7c373e4f1445263728d3eeab7e33e932c8f4a288, < 5f0436428b871b2cc800228837ea49a44d5169ec; >= 7c373e4f1445263728d3eeab7e33e932c8f4a288, < 28d74059fddbd8ae83c7715056b303c402071f6f | 17f3e9cf7fa8365eb244417958c5b12c367c8922, f1b790d81caadfc71276885fd02b93ab56c04e05, 5f0436428b871b2cc800228837ea49a44d5169ec, 28d74059fddbd8ae83c7715056b303c402071f6f |
| CVE List | Linux | Linux | = 6.12 |
References
- https://git.kernel.org/stable/c/17f3e9cf7fa8365eb244417958c5b12c367c8922
- https://git.kernel.org/stable/c/28d74059fddbd8ae83c7715056b303c402071f6f
- https://git.kernel.org/stable/c/5f0436428b871b2cc800228837ea49a44d5169ec
- https://git.kernel.org/stable/c/f1b790d81caadfc71276885fd02b93ab56c04e05
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)