CVE-2024-39484
Davinci MMC Driver Resource Leak Buffer Overread Vulnerability
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)
INFO
Published Date :
July 5, 2024, 7:15 a.m.
Last Modified :
Nov. 21, 2024, 9:27 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-39484
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-39484
vulnerability anywhere in the article.

-
tripwire.com
VERT Threat Alert: August 2024 Patch Tuesday Analysis
Today’s VERT Alert addresses Microsoft’s August 2024 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1119 as soon as coverage is completed.CVE ... Read more
The following table lists the changes that have been made to the
CVE-2024-39484
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584 Added Reference https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3 Added Reference https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e Added Reference https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4 Added Reference https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb Added Reference https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1 -
Initial Analysis by [email protected]
Jul. 08, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584 No Types Assigned https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3 No Types Assigned https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e No Types Assigned https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4 No Types Assigned https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb No Types Assigned https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1 No Types Assigned https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1 Mailing List, Patch Added CWE NIST CWE-770 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.221 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.15.162 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.1.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.34 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.5 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 05, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 05, 2024
Action Type Old Value New Value Added 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) Added Reference kernel.org https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-39484
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-39484
weaknesses.