# CVE-2024-39484: mmc: davinci: Don't strip remove function when driver is builtin

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-05 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-39484, DEBIAN-CVE-2024-39484
- Record: https://cvemate.com/vulnerability/CVE-2024-39484 · JSON: https://cvemate.com/vulnerability/CVE-2024-39484/json

## Description

```text
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)
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.228%, percentile 14.405%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 132)

- debian linux (Debian): \< 6.1.99-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-258.292 \| \< 4.15.0-228.240 \| \< 5.4.0-193.213 \| \< 5.15.0-119.129 \| \< 6.8.0-41.41
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1135.141 \| \< 4.4.0-1173.188 \| \< 4.15.0-1172.185 \| \< 5.4.0-1131.141 \| \< 5.15.0-1068.74 \| \< 6.8.0-1014.15
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1068.74~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1131.141~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1014.15~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2110.116 \| All versions (No fix recorded) \| \< 5.4.0-1131.141+fips1 \| \< 5.15.0-1068.74+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1172.185~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1180.195~14.04.1 \| \< 4.15.0-1180.195~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1136.143 \| \< 5.15.0-1071.80 \| \< 6.8.0-1013.15
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1180.195
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 28)

- <https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4>
- <https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1>
- <https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e>
- <https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb>
- <https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584>
- <https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-39484>
- <https://www.cve.org/CVERecord?id=CVE-2024-39484>
- <https://git.kernel.org/linus/55c421b364482b61c4c45313a535e61ed5ae4ea3>
- <https://ubuntu.com/security/notices/USN-6972-1>
- <https://ubuntu.com/security/notices/USN-6973-1>
- <https://ubuntu.com/security/notices/USN-6974-1>
- <https://ubuntu.com/security/notices/USN-6975-1>
- <https://ubuntu.com/security/notices/USN-6976-1>
- <https://ubuntu.com/security/notices/USN-6972-2>
- <https://ubuntu.com/security/notices/USN-6972-3>
- <https://ubuntu.com/security/notices/USN-6973-2>
- <https://ubuntu.com/security/notices/USN-6974-2>
- <https://ubuntu.com/security/notices/USN-6973-3>

---

Data as of 2026-12-05T04:58:36.015Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
