{"id":"CVE-2024-39484","aliases":["CVE-2024-39484"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: davinci: Don't strip remove function when driver is builtin","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: davinci: no eliminar la función de eliminación cuando el controlador está integrado. El uso de __exit para la función de eliminación hace que la devolución de llamada de eliminación se descarte con CONFIG_MMC_DAVINCI=y. Cuando un dispositivo de este tipo se desvincula (por ejemplo, usando sysfs o hotplug), el controlador simplemente se elimina sin que se realice la limpieza. Esto da como resultado fugas de recursos. Solucionarlo compilando la devolución de llamada de eliminación incondicionalmente. Esto también corrige una advertencia de modpost W=1: ADVERTENCIA: modpost: drivers/mmc/host/davinci_mmc: falta de coincidencia de sección en referencia: davinci_mmcsd_driver+0x10 (sección: .data) -&gt; davinci_mmcsd_remove (sección: .exit.text)","source":"nvd"}],"published":"2024-07-05T06:55:11.970Z","modified":"2026-06-17T07:42:01.027Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"6ff7cfa02baabec907f6f29ea76634e6256d2ec4","status":"affected"},{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"aea35157bb9b825faa0432bd0f7fbea37ff39aa1","status":"affected"},{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"5ee241f72edc6dce5051a5f100eab6cc019d873e","status":"affected"},{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"7590da4c04dd4aa9c262da0231e978263861c6eb","status":"affected"},{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584","status":"affected"},{"type":"git","introduced":"b4cff4549b7a8c5fc8b88e3493b6287555f0512c","fixed":"55c421b364482b61c4c45313a535e61ed5ae4ea3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.10.221","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.162","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.95","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.34","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.5","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.6.33"},{"status":"affected","introduced":"5.10","fixed":"5.10.221"},{"status":"affected","introduced":"5.15","fixed":"5.15.162"},{"status":"affected","introduced":"6.1","fixed":"6.1.95"},{"status":"affected","introduced":"6.6","fixed":"6.6.34"},{"status":"affected","introduced":"6.9","fixed":"6.9.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6ff7cfa02baabec907f6f29ea76634e6256d2ec4","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aea35157bb9b825faa0432bd0f7fbea37ff39aa1","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ee241f72edc6dce5051a5f100eab6cc019d873e","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7590da4c04dd4aa9c262da0231e978263861c6eb","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d5ed0efe51d36b9ae9b64f133bf41cdbf56f584","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55c421b364482b61c4c45313a535e61ed5ae4ea3","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-08T15:13:35.601Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39484","url":"https://www.cve.org/CVERecord?id=CVE-2024-39484","licence":"CVE Terms of Use","modified":"2026-05-11T20:21:26.849Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39484","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39484","licence":"Public domain","modified":"2026-06-17T07:42:01.027Z"}],"updatedAt":"2026-11-25T22:58:42.521Z","epss":{"score":0.00228,"percentile":0.14439,"date":"2026-12-01T12:00:22.000Z"}}