CVE-2024-50071
Linux Debian vulnerability analysis and mitigation

Overview

A double free vulnerability (CVE-2024-50071) was discovered in the Linux kernel's Nuvoton pin controller driver. The issue affects Linux kernel versions from 6.11 up to (excluding) 6.11.5, including release candidates 6.12-rc1, 6.12-rc2, and 6.12-rc3. The vulnerability was discovered when 'new_map' was allocated using devm_* which handles memory freeing on device removal, but an additional call to pinconf_generic_dt_free_map resulted in a double free condition (NVD).

Technical details

The vulnerability exists in the ma35_pinctrl_dt_node_to_map_func() function of the Nuvoton pin controller driver. The issue occurs because 'new_map' is allocated using devm_kcalloc(), which automatically handles memory deallocation during device removal. However, the subsequent call to .dt_free_map = pinconf_generic_dt_free_map causes a double free condition as pinconf_generic_dt_free_map() also calls pinctrl_utils_free_map(). The CVSS v3.1 base score is 7.8 (High), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, Kernel Patch).

Impact

The vulnerability could allow an attacker with local access to cause a denial of service through system crash or potentially execute arbitrary code. The high CVSS score indicates significant potential impact on system confidentiality, integrity, and availability if exploited (NVD).

Mitigation and workarounds

The vulnerability has been fixed by replacing devm_kcalloc() with kcalloc() in the affected code. Users should update to Linux kernel version 6.11.5 or later which contains the fix. The patch has been backported to affected stable kernel versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22776HIGH8.7
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • java-21-openjdk-demo-fastdebug
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk-static-libs
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-0665N/AN/A
  • Linux DebianLinux Debian
  • qemu
NoNoJan 13, 2026

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