5.5
MEDIUM
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 :

July 8, 2024, 6:01 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-39484 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

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.

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.

  • 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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability