CVE-2024-50111
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2024-50111 affects the Linux kernel's LoongArch architecture implementation. The vulnerability was discovered when unaligned access exceptions could be triggered in IRQ-enabled contexts, such as user mode. In these cases, doale() may call getuser() which can cause sleep in an invalid context (Kernel Patch). The issue was assigned a CVSS v3.1 base score of 5.5 MEDIUM (NVD).

Technical details

The vulnerability occurs in the LoongArch architecture's exception handling code. When an unaligned access exception is triggered in an IRQ-enabled context, the doale() function may attempt to call getuser() while interrupts are disabled. This creates an invalid context where a sleeping function is called when it shouldn't be, resulting in a kernel bug warning. The technical manifestation includes a 'BUG: sleeping function called from invalid context' error at arch/loongarch/kernel/access-helper.h:7, with indicators showing irqs_disabled():1 while in a non-atomic context (Kernel Patch).

Impact

The vulnerability can lead to system instability when unaligned access exceptions occur in IRQ-enabled contexts. This primarily affects systems running the Linux kernel on LoongArch architecture, potentially causing kernel warnings and system reliability issues (NVD).

Mitigation and workarounds

The issue has been fixed by enabling IRQ if doale() is triggered in IRQ-enabled context. The patch modifies the kernel to check if interrupts were enabled (using regs->csrprmd & CSRPRMDPIE) and temporarily re-enables them during the exception handling (Kernel Patch).

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-66031HIGH8.7
  • JavaScriptJavaScript
  • kubeflow-centraldashboard
NoYesNov 26, 2025
CVE-2025-12638HIGH8
  • CBL MarinerCBL Mariner
  • keras
NoYesNov 28, 2025
CVE-2025-13601HIGH7.7
  • CBL MarinerCBL Mariner
  • glib2-fam
NoYesNov 26, 2025
CVE-2025-66293HIGH7.1
  • OpenJDK JDKOpenJDK JDK
  • java-17-openjdk-jmods
NoYesDec 03, 2025
CVE-2025-66030MEDIUM6.3
  • JavaScriptJavaScript
  • reaper
NoYesNov 26, 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