CVE-2025-39865
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39865 is a vulnerability discovered in the Linux kernel affecting the TEE (Trusted Execution Environment) subsystem, specifically related to a NULL pointer dereference in the teeshmput function. The vulnerability was disclosed on September 19, 2025, and affects various versions of the Linux kernel (NVD).

Technical details

The vulnerability occurs in the teeshmput function where a NULL pointer dereference can happen during the shared memory cleanup process. The issue arises in the following sequence: _opteedisableshmcache calls regpairtoptr which may return NULL, followed by teeshmfree which calls teeshm_put, potentially leading to a system crash. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 with attack vector Local (L), attack complexity High (H), and privileges required Low (PR) (Red Hat).

Impact

When exploited, this vulnerability can cause a kernel panic, resulting in system crashes. This is evidenced by the panic log showing an inability to handle kernel paging requests at virtual address 0000000000100cca, leading to a level 0 translation fault (NVD).

Mitigation and workarounds

The vulnerability has been patched by adding a check in teeshmput to prevent the NULL pointer dereference. The fix has been implemented in various Linux distributions including Red Hat Enterprise Linux 8, 9, and 10 (Red Hat).

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-39866N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel
NoYesSep 19, 2025
CVE-2025-39865N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel-matched
NoYesSep 19, 2025
CVE-2025-39864N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesSep 19, 2025
CVE-2025-39863N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesSep 19, 2025
CVE-2025-39861N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesSep 19, 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