CVE-2024-39484

mmc: davinci: Don't strip remove function when driver is builtin

Published Jul 5, 2024 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

mmc: davinci: Don't strip remove function when driver is builtin

Using __exit for the remove function results in the remove callback being
discarded with CONFIG_MMC_DAVINCI=y. When such a device gets unbound (e.g.
using sysfs or hotplug), the driver is just removed without the cleanup
being performed. This results in resource leaks. Fix it by compiling in the
remove callback unconditionally.

This also fixes a W=1 modpost warning:

WARNING: modpost: drivers/mmc/host/davinci_mmc: section mismatch in
reference: davinci_mmcsd_driver+0x10 (section: .data) ->
davinci_mmcsd_remove (section: .exit.text)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4008-1 linux-6.1 security update
Debian DSA Debian DSA DSA-5730-1 linux security update
Debian DSA Debian DSA DSA-5731-1 linux security update
Ubuntu USN Ubuntu USN USN-6972-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6972-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-6972-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-6972-4 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-6973-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6973-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-6973-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-6973-4 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-6974-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6974-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-6975-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7006-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7008-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7019-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7029-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 8:21 PM
Reserved
Jun 25, 2024, 2:23 PM
Status
Modified
Published
Jul 5, 2024, 7:15 AM
Modified
Jun 17, 2026, 7:42 AM
Severity
Low
Public date
Jul 5, 2024, 12:00 AM