# CVE-2026-99849: fsverity: Tell LSMs about signature only after verity is enabled

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:38.048Z
- Modified: 2026-11-30T14:20:18.243Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7c373e4f1445263728d3eeab7e33e932c8f4a288 before 17f3e9cf7fa8365eb244417958c5b12c367c8922; from 7c373e4f1445263728d3eeab7e33e932c8f4a288 before f1b790d81caadfc71276885fd02b93ab56c04e05; from 7c373e4f1445263728d3eeab7e33e932c8f4a288 before 5f0436428b871b2cc800228837ea49a44d5169ec; from 7c373e4f1445263728d3eeab7e33e932c8f4a288 before 28d74059fddbd8ae83c7715056b303c402071f6f; 6.12 (not affected: before 6.12; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/17f3e9cf7fa8365eb244417958c5b12c367c8922>
- <https://git.kernel.org/stable/c/f1b790d81caadfc71276885fd02b93ab56c04e05>
- <https://git.kernel.org/stable/c/5f0436428b871b2cc800228837ea49a44d5169ec>
- <https://git.kernel.org/stable/c/28d74059fddbd8ae83c7715056b303c402071f6f>

## Sources

- CVE List: [CVE-2026-99849](https://www.cve.org/CVERecord?id=CVE-2026-99849), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99849](https://nvd.nist.gov/vuln/detail/CVE-2026-99849), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99849 · Whole record: https://cve.day/CVE-2026-99849.json · Rebuilt by cve.day 2026-11-30T14:33:42.838Z
