CVE-2025-39790
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39790 is a vulnerability discovered in the Linux kernel's MHI (Modem Host Interface) host component, specifically related to the handling of event pointers and TREs (Transfer Ring Elements). The vulnerability was disclosed on September 11, 2025, affecting various versions of Red Hat Enterprise Linux including versions 8, 9, and 10 (Red Hat XML).

Technical details

The vulnerability occurs when a remote device sends a completion event to the host containing a pointer to the consumed TRE. While this mechanism works for chained transactions, it can lead to issues if the device sends an event for a single-element transaction with a read pointer multiple elements ahead of the host's read pointer. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating a high severity local attack vector with high complexity (Red Hat XML).

Impact

If exploited, the vulnerability can result in a double-free condition when the host uses the channel's xfer_cb() to directly free the buffer pointed to by the TRE. This occurs specifically when the host accesses an event ring while the device is updating it, causing the pointer inside the event to point to an old TRE (NVD).

Mitigation and workarounds

The vulnerability has been resolved through a patch that hardens the host by ensuring transactions where the event points to a TRE that isn't local_rp + 1 are treated as chained. This fix prevents the processing of unexpected TREs that could lead to double-free conditions (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management