CVE-2024-39484
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-39484 is a vulnerability in the Linux kernel's MMC DaVinci driver that was discovered and disclosed on July 5, 2024. The issue affects the driver's cleanup functionality when CONFIG_MMC_DAVINCI is enabled as a built-in module. The vulnerability stems from incorrectly using the __exit attribute for the remove function, which causes the remove callback to be discarded, leading to improper cleanup when the device is unbound (NVD).

Technical details

The vulnerability occurs in the DaVinci MMC/SD controller driver when the remove function is marked with __exit and CONFIG_MMC_DAVINCI=y is set. When a device gets unbound through sysfs or hotplug events, the driver removal process fails to execute the cleanup routine. This also manifests as a modpost warning indicating a section mismatch between davinci_mmcsd_driver and davinci_mmcsd_remove. The issue has a CVSS v3.1 Base Score of 5.5 (Medium) with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability results in resource leaks when the DaVinci MMC driver is unbound from the system. This occurs because the cleanup routines are not properly executed during driver removal, potentially leading to system resource exhaustion over time (NVD).

Exploitability

The vulnerability requires local access and can be triggered through sysfs operations or hotplug events. It affects various versions of the Linux kernel, including versions up to 2.6.33, from 5.10 to 5.10.221, 5.15 to 5.15.162, 6.1 to 6.1.95, and 6.6 to 6.6.34 (NVD).

Mitigation and workarounds

The issue has been fixed by removing the __exit attribute from the remove function, allowing it to be compiled in unconditionally. The fix has been implemented across multiple kernel versions, including Ubuntu's kernel packages for versions 24.04 LTS, 22.04 LTS, 20.04 LTS, and 18.04 LTS (Ubuntu Security).

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-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 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