CVE-2025-39767
CBL Mariner vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's LoongArch module loading mechanism was discovered and assigned CVE-2025-39767. The issue was disclosed on September 11, 2025, affecting systems with specific kernel configurations (CONFIGKASAN, CONFIGPREEMPTVOLUNTARYBUILD, and CONFIGPREEMPTVOLUNTARY enabled simultaneously). The vulnerability relates to inefficient PLT/GOT counting during module loading, particularly affecting the LoongArch architecture (NVD).

Technical details

The vulnerability manifests as a soft deadlock condition during module loading, specifically when counting PLTs/GOTs needed for RELA handling. The original implementation used an O(n^2) complexity algorithm in the countmaxentries() function, causing significant performance degradation when loading modules with numerous relocations. The issue particularly impacts large modules like amdgpu, which showed load times of up to 1411ms before the fix (NVD).

Impact

The vulnerability causes system performance degradation and potential soft deadlocks, particularly noticeable when loading large kernel modules. Testing showed significant impact on module load times, with the amdgpu module taking 1411ms to load before the fix, compared to just 45ms after the patch. Other affected modules include ip_tables, fat, and radeon, though with less severe timing impacts (NVD).

Mitigation and workarounds

The issue has been resolved by optimizing the PLT/GOT counting algorithm. The fix involves sorting the relocation list by info and addend, reducing the algorithm complexity from O(n^2) to O(n log n). This approach is similar to the optimization implemented in commit d4e0340919fb for arm64/module architecture (NVD).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62689HIGH8.7
  • NixOSNixOS
  • libmicrohttpd-devel
NoYesNov 10, 2025
CVE-2025-59777HIGH8.7
  • NixOSNixOS
  • libmicrohttpd-devel
NoYesNov 10, 2025
CVE-2025-47913HIGH7.5
  • PackerPacker
  • podman
NoYesNov 13, 2025
CVE-2024-47866HIGH7.5
  • CBL MarinerCBL Mariner
  • ceph
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesNov 21, 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