{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39484","id":"CVE-2024-39484","title":"mmc: davinci: Don't strip remove function when driver is builtin","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci: Don't strip remove function when driver is builtin\n\nUsing __exit for the remove function results in the remove callback being\ndiscarded with CONFIG_MMC_DAVINCI=y. When such a device gets unbound (e.g.\nusing sysfs or hotplug), the driver is just removed without the cleanup\nbeing performed. This results in resource le","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci: Don't strip remove function when driver is builtin\n\nUsing __exit for the remove function results in the remove callback being\ndiscarded with CONFIG_MMC_DAVINCI=y. When such a device gets unbound (e.g.\nusing sysfs or hotplug), the driver is just removed without the cleanup\nbeing performed. This results in resource leaks. Fix it by compiling in the\nremove callback unconditionally.\n\nThis also fixes a W=1 modpost warning:\n\nWARNING: modpost: drivers/mmc/host/davinci_mmc: section mismatch in\nreference: davinci_mmcsd_driver+0x10 (section: .data) ->\ndavinci_mmcsd_remove (section: .exit.text)","published":"2024-07-05T06:55:11.970Z","updated":"2026-10-28T02:30:26.112943916Z","reserved":"2024-06-25T14:23:23.747Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"6ff7cfa02baabec907f6f29ea76634e6256d2ec4","status":"affected","versionType":"git"},{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"aea35157bb9b825faa0432bd0f7fbea37ff39aa1","status":"affected","versionType":"git"},{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"5ee241f72edc6dce5051a5f100eab6cc019d873e","status":"affected","versionType":"git"},{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"7590da4c04dd4aa9c262da0231e978263861c6eb","status":"affected","versionType":"git"},{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584","status":"affected","versionType":"git"},{"version":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","lessThan":"55c421b364482b61c4c45313a535e61ed5ae4ea3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.33","status":"affected"},{"version":"0","lessThan":"2.6.33","status":"unaffected","versionType":"semver"},{"version":"5.10.221","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.162","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.95","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.34","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.5","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-770"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39484.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39484","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00228,"epssPercentile":0.13668,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39484","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39484","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39484","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-39484","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}