# CVE-2026-63952: memfd: deny writeable mappings when implying SEAL_WRITE

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:44.809Z
- Modified: 2026-10-28T18:09:02.160Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

memfd: deny writeable mappings when implying SEAL_WRITE

When SEAL_EXEC is added, SEAL_WRITE is implied to make W^X.  But the
implied seal is set after the check that makes sure the memfd can not have
any writable mappings.  This means one can use SEAL_EXEC to apply
SEAL_WRITE while having writeable mappings.

This breaks the contract that SEAL_WRITE provides and can be used by an
attacker to pass a memfd that appears to be write sealed but can still be
modified arbitrarily.

Fix this by adding the implied seals before the call for
mapping_deny_writable() is done.

(As written by CVE List.)

## Affected

- Linux Linux: from c4f75bc8bd6b3d62665e1f5400c419540edb5601 before b3f4f82d1315f1439059a83d1c22c51a5b43d99e; from c4f75bc8bd6b3d62665e1f5400c419540edb5601 before 3be2a24f7f72ad7321ed6ad1715b956a4527bcf4; from c4f75bc8bd6b3d62665e1f5400c419540edb5601 before 0995d1f79aed8ccbf62056189dd53fd19726ea08; from c4f75bc8bd6b3d62665e1f5400c419540edb5601 before 555702282d4536a865dfffb1cd4f6028f196e7e8; from c4f75bc8bd6b3d62665e1f5400c419540edb5601 before 3b041514cb6eae45869b020f743c14d983363222; 6.3 (not affected: before 6.3; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.3 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/b3f4f82d1315f1439059a83d1c22c51a5b43d99e> (patch)
- <https://git.kernel.org/stable/c/3be2a24f7f72ad7321ed6ad1715b956a4527bcf4> (patch)
- <https://git.kernel.org/stable/c/0995d1f79aed8ccbf62056189dd53fd19726ea08> (patch)
- <https://git.kernel.org/stable/c/555702282d4536a865dfffb1cd4f6028f196e7e8> (patch)
- <https://git.kernel.org/stable/c/3b041514cb6eae45869b020f743c14d983363222> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-63952 · Whole record: https://cve.day/CVE-2026-63952.json · Rebuilt by cve.day 2026-11-25T22:59:28.859Z
