Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39836

published high CVSS 3.1 · 7.8

efi: stmm: Fix incorrect buffer allocation method

Published
16 Sep 2025, 13:08:52 UTC
Updated
05 Aug 2026, 12:05:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc44b6be62e8dd4ee0a308c36a70620613e6fc55f to < 77ff27ff0e4529a003c8a1c2492c111968c378d3 · c44b6be62e8dd4ee0a308c36a70620613e6fc55f to < 630c0e6064daf84f17aad1a7d9ca76b562e3fe47 · c44b6be62e8dd4ee0a308c36a70620613e6fc55f to < c5e81e672699e0c5557b2b755cc8f7a69aa92bff · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.45 through 6.12.* (unaffected · semver) · 6.16.5 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-rtx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-64kbaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-64kb-develaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-azureaarch64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-azurex86_64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-azure-develaarch64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-azure-develx86_64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-baseaarch64 Advisory build 6.4.0-150700.53.31.1.150700.17.21.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-baseppc64le Advisory build 6.4.0-150700.53.31.1.150700.17.21.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-basex86_64 Advisory build 6.4.0-150700.53.31.1.150700.17.21.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-devels390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-extrax86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchs390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-devels390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-develnoarch Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-devel-azurenoarch Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-devel-rtnoarch Advisory build 6.4.0-150700.7.31.1 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-docsnoarch Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_31-defaultppc64le Advisory build 1-150700.15.3.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_31-defaults390x Advisory build 1-150700.15.3.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_31-defaultx86_64 Advisory build 1-150700.15.3.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_7_31-rtx86_64 Advisory build 1-150700.1.3.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-macrosnoarch Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-builds390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-rtx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-rt-develx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-sourcenoarch Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-source-azurenoarch Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-source-rtnoarch Advisory build 6.4.0-150700.7.31.1 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-symsaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-symsppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-symss390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-symsx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 kernel-syms-azureaarch64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-syms-azurex86_64 Advisory build 6.4.0-150700.20.27.1 SUSE-SU-2026:0472-1
SUSE / openSUSE SLE-15-SP7 kernel-syms-rtx86_64 Advisory build 6.4.0-150700.7.31.1 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 kernel-zfcpdumps390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150700.7.31.2 SUSE-SU-2026:0587-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaults390x Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.31.1 SUSE-SU-2026:0447-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:20994-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21139-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.6.1 SUSE-SU-2025:21179-1
SUSE / openSUSE SLE-16 kernelaarch64 Advisory build 64kb-6.12.0-160000.6.1 SUSE-SU-2025:20994-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through local filesystem access to efivarfs (`/sys/firmware/efi/efivars`), which drives the EFI variable operations backed by this driver. There is no network or physical component to the trigger. AC:L - Every `read()` of an EFI variable file deterministically executes the kmalloc→`get_page()`→`put_page()` sequence that frees a live slab page; no race, no timing window, and no condition outside the attacker's control is involved. The attacker even chooses the variable name/size, controlling the kmalloc size class and thus which slab page and neighbouring objects are affected. PR:L - efivarfs variable files are created with mode 0644 (`fs/efivarfs/super.c:253`), so any unprivileged local user can open and read them and reach `tee_get_variable()`. No capability, user namespace trick, or root access is required. UI:N - The attacker performs the read themselves; no victim action, mount, or interaction is needed. The path is also exercised automatically at driver probe and at efivarfs mount time. S:U - The premature page free and resulting memory corruption occur entirely within the kernel's own security authority, the same component that contains the flaw. Standard kernel heap corruption leading to privilege escalation is scored Unchanged. C:H - A live slab page is returned to the buddy allocator while still in use, so the attacker can reclaim that page (e.g. as user memory, another slab, or page tables) and read whatever live kernel objects still occupy it, yielding an arbitrary kernel-memory disclosure primitive. The FF-A registration additionally exposes whole pages of unrelated kernel heap to the secure partition. I:H - The same page cross-allocation gives a write view onto live kernel objects — the attacker can modify data the kernel still believes it owns (including potentially page tables or function pointers in adjacent slab objects), giving a controlled write and control-flow hijack path to privilege escalation. A:H - Freeing a page that still has PG_slab set and live allocations produces "BUG: Bad page state", refcount `VM_BUG_ON` under CONFIG_DEBUG_VM, and general heap corruption leading to an oops or panic, repeatable at will by an unprivileged user.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c44b6be62e8dd4ee0a308c36a70620613e6fc55f to < 77ff27ff0e4529a003c8a1c2492c111968c378d3 (affected · git)c44b6be62e8dd4ee0a308c36a70620613e6fc55f to < 630c0e6064daf84f17aad1a7d9ca76b562e3fe47 (affected · git)c44b6be62e8dd4ee0a308c36a70620613e6fc55f to < c5e81e672699e0c5557b2b755cc8f7a69aa92bff (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.45 through 6.12.* (unaffected · semver)6.16.5 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-787 CWE-787 Out-of-bounds Write (CISA-ADP · adp)

References

3

Provider assertions

2

Linux · cna

efi: stmm: Fix incorrect buffer allocation method

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
9a14341a67208907890839551d0462061e593745876bf5429f601d252e52a4db
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected