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-39790

published high CVSS 3.1 · 8.4

bus: mhi: host: Detect events pointing to unexpected TREs

Published
11 Sep 2025, 16:56:38 UTC
Updated
15 Oct 2026, 22:02:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 7b3f0e3b60c27f4fcb69927d84987e5fd6240530 · 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 4079c6c59705b96285219b9efc63cab870d757b7 · 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 5e17429679a8545afe438ce7a82a13a54e8ceabb · 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 2ec99b922f4661521927eeada76f431eebfbabc4 · 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 44e1a079e18f78d6594a715b0c6d7e18c656f7b9 · 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 5bd398e20f0833ae8a1267d4f343591a2dd20185 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.149 through 6.1.* (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC CN 41000 to < V5.0 · Other versions: unknown Affected Not stated siemens-SADP
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 bookworm linux Advisory build 6.1.153-1 DSA-6009-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757

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

Description

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Detect events pointing to unexpected TREs When a remote device sends a completion event to the host, it contains a pointer to the consumed TRE. The host uses this pointer to process all of the TREs between it and the host's local copy of the ring's read pointer. This works when processing completion for chained transactions, but can lead to nasty results if the device sends an event for a single-element transaction with a read pointer that is multiple elements ahead of the host's read pointer. For instance, if the host accesses an event ring while the device is updating it, the pointer inside of the event might still point to an old TRE. If the host uses the channel's xfer_cb() to directly free the buffer pointed to by the TRE, the buffer will be double-freed. This behavior was observed on an ep that used upstream EP stack without 'commit 6f18d174b73d ("bus: mhi: ep: Update read pointer only after buffer is written")'. Where the device updated the events ring pointer before updating the event contents, so it left a window where the host was able to access the stale data the event pointed to, before the device had the chance to update them. The usual pattern was that the host received an event pointing to a TRE that is not immediately after the last processed one, so it got treated as if it was a chained transaction, processing all of the TREs in between the two read pointers. This commit aims to harden the host by ensuring transactions where the event points to a TRE that isn't local_rp + 1 are chained. [mani: added stable tag and reworded commit message]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

60

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The malformed completion event is delivered by the MHI PCIe endpoint (WWAN modem, ath11k/ath12k WiFi card, qaic accelerator) into host DMA memory and consumed by the MSI tasklet, so the attacker must occupy the local device/bus position rather than a network one. This matches the established scoring for host drivers that trust device-supplied ring data (t7xx, virtio, hwrng). AC:L - An attacker controlling the endpoint simply writes an EOT event whose TRE pointer is not local_rp + 1 — a deterministic, repeatable protocol action requiring no race win or particular memory layout. The bug also fires spontaneously with endpoint firmware that updates the event read pointer before the payload. PR:N - No host account, capability, or authentication is involved; the event ring is processed automatically in the interrupt tasklet as soon as the MHI channels are enabled. There is no privilege gate anywhere on the mhi_irq_handler → mhi_ev_task → parse_xfer_event path. UI:N - Event processing is driven entirely by the device's MSI and requires no victim action once the MHI device is bound and channels are running. Data-path traffic on a modem or WiFi link generates these completions continuously. S:U - The double-free and stale-buffer use corrupt kernel heap objects belonging to the same kernel security authority, with no VM, IOMMU, or sandbox boundary crossed. Standard kernel-level memory corruption is Unchanged. C:H - The loop hands stale buf_info->cb_buf pointers with a device-chosen bytes_xferd to xfer_cb, so mhi_net_dl_callback does skb_put() on buffers the device never wrote and pushes uninitialized kernel memory into the network stack, and the resulting double-free/UAF yields a general heap read primitive. I:H - Double-freeing skbs and dma_unmap'ing already-unmapped or still-in-flight buffers gives a classic heap-corruption primitive that can be groomed into an arbitrary write and control-flow hijack in kernel context. Buffers still owned by the device are also released back to the allocator while the endpoint may still DMA into them. A:H - The immediate observed effect is a double free, which trips slab corruption BUG()/panic, alongside DMA-API unmap warnings and use of freed skbs — a reliable kernel crash. It can be triggered repeatedly by the endpoint.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 7b3f0e3b60c27f4fcb69927d84987e5fd6240530 (affected · git)1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 4079c6c59705b96285219b9efc63cab870d757b7 (affected · git)1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 5e17429679a8545afe438ce7a82a13a54e8ceabb (affected · git)1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 2ec99b922f4661521927eeada76f431eebfbabc4 (affected · git)1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 44e1a079e18f78d6594a715b0c6d7e18c656f7b9 (affected · git)1d3173a3bae7039b765a0956e3e4bf846dbaacb8 to < 5bd398e20f0833ae8a1267d4f343591a2dd20185 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.7 (affected)0 to < 5.7 (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.149 through 6.1.* (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC CN 4100 0 to < V5.0 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

4

Linux · cna

bus: mhi: host: Detect events pointing to unexpected TREs

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
18258c77839616ed1003e8a48cc406031479083f178e8b98aa86ca49fe5506aa
Ingested
15 Oct 2026, 23:26:25 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