๐Ÿ” CVE Alert

CVE-2025-39836

HIGH 7.8

efi: stmm: Fix incorrect buffer allocation method

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

In the Linux kernel, the following vulnerability has been resolved: efi: stmm: Fix incorrect buffer allocation method The communication buffer allocated by setup_mm_hdr() is later on passed to tee_shm_register_kernel_buf(). The latter expects those buffers to be contiguous pages, but setup_mm_hdr() just uses kmalloc(). That can cause various corruptions or BUGs, specifically since commit 9aec2fb0fd5e ("slab: allocate frozen pages"), though it was broken before as well. Fix this by using alloc_pages_exact() instead of kmalloc().

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Sep 16, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new high vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
c44b6be62e8dd4ee0a308c36a70620613e6fc55f < 77ff27ff0e4529a003c8a1c2492c111968c378d3 c44b6be62e8dd4ee0a308c36a70620613e6fc55f < 630c0e6064daf84f17aad1a7d9ca76b562e3fe47 c44b6be62e8dd4ee0a308c36a70620613e6fc55f < c5e81e672699e0c5557b2b755cc8f7a69aa92bff
Linux / Linux
6.8

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/77ff27ff0e4529a003c8a1c2492c111968c378d3 git.kernel.org: https://git.kernel.org/stable/c/630c0e6064daf84f17aad1a7d9ca76b562e3fe47 git.kernel.org: https://git.kernel.org/stable/c/c5e81e672699e0c5557b2b755cc8f7a69aa92bff