# CVE-2025-39777: crypto: acomp - Fix CFI failure due to type punning

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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: 2025-09-11T16:56:29.638Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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

crypto: acomp - Fix CFI failure due to type punning

To avoid a crash when control flow integrity is enabled, make the
workspace ("stream") free function use a consistent type, and call it
through a function pointer that has that same type.

(As written by CVE List.)

## Affected

- Linux Linux: from 42d9f6c774790d290c175e8775ce9f1366438098 before 7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf; from 42d9f6c774790d290c175e8775ce9f1366438098 before 962ddc5a7a4b04c007bba0f3e7298cda13c62efd; 6.16 (not affected: before 6.16; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.16 before 6.16.4

## References

- <https://git.kernel.org/stable/c/7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf> (patch)
- <https://git.kernel.org/stable/c/962ddc5a7a4b04c007bba0f3e7298cda13c62efd> (patch)

## Sources

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

---

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