{"id":"CVE-2025-39777","state":"PUBLISHED","title":"crypto: acomp - Fix CFI failure due to type punning","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: acomp - Fix CFI failure due to type punning\n\nTo avoid a crash when control flow integrity is enabled, make the\nworkspace (\"stream\") free function use a consistent type, and call it\nthrough a function pointer that has that same type.","publishedAt":"2025-09-11T16:56:29.638Z","updatedAt":"2026-05-11T21:36:05.342Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"42d9f6c774790d290c175e8775ce9f1366438098","status":"affected","lessThan":"7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf","versionType":"git"},{"version":"42d9f6c774790d290c175e8775ce9f1366438098","status":"affected","lessThan":"962ddc5a7a4b04c007bba0f3e7298cda13c62efd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/deflate.c","crypto/zstd.c","include/crypto/internal/acompress.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.16.4","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/deflate.c","crypto/zstd.c","include/crypto/internal/acompress.h"]}],"references":["https://git.kernel.org/stable/c/7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf","https://git.kernel.org/stable/c/962ddc5a7a4b04c007bba0f3e7298cda13c62efd"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/39xxx/CVE-2025-39777.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39777","state":"PUBLISHED","datePublished":"2025-09-11T16:56:29.638Z","dateUpdated":"2026-05-11T21:36:05.342Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.129Z"},"containers":{"cna":{"title":"crypto: acomp - Fix CFI failure due to type punning","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: acomp - Fix CFI failure due to type punning\n\nTo avoid a crash when control flow integrity is enabled, make the\nworkspace (\"stream\") free function use a consistent type, and call it\nthrough a function pointer that has that same type."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"42d9f6c774790d290c175e8775ce9f1366438098","status":"affected","lessThan":"7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf","versionType":"git"},{"version":"42d9f6c774790d290c175e8775ce9f1366438098","status":"affected","lessThan":"962ddc5a7a4b04c007bba0f3e7298cda13c62efd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/deflate.c","crypto/zstd.c","include/crypto/internal/acompress.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.16.4","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/deflate.c","crypto/zstd.c","include/crypto/internal/acompress.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf"},{"url":"https://git.kernel.org/stable/c/962ddc5a7a4b04c007bba0f3e7298cda13c62efd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:36:05.342Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.16.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}