{"id":"CVE-2026-43460","aliases":["CVE-2026-43460"],"related":[],"kind":"vulnerability","state":"published","title":"spi: rockchip-sfc: Fix double-free in remove() callback","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: rockchip-sfc: Fix double-free in remove() callback\n\nThe driver uses devm_spi_register_controller() for registration, which\nautomatically unregisters the controller via devm cleanup when the\ndevice is removed. The manual call to spi_unregister_controller() in\nthe remove() callback can lead to a double-free.\n\nAnd to make sure controller is unregistered before DMA buffer is\nunmapped, switch to use spi_register_controller() in probe().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: rockchip-sfc: Fix double-free in remove() callback\n\nThe driver uses devm_spi_register_controller() for registration, which\nautomatically unregisters the controller via devm cleanup when the\ndevice is removed. The manual call to spi_unregister_controller() in\nthe remove() callback can lead to a double-free.\n\nAnd to make sure controller is unregistered before DMA buffer is\nunmapped, switch to use spi_register_controller() in probe().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nspi: rockchip-sfc: Corrección de doble liberación en la función de callback remove()\n\nEl controlador utiliza devm_spi_register_controller() para el registro, lo que anula automáticamente el registro del controlador a través de la limpieza devm cuando se elimina el dispositivo. La llamada manual a spi_unregister_controller() en la función de callback remove() puede provocar una doble liberación.\n\nY para asegurar que el controlador esté sin registrar antes de que el búfer DMA sea desmapeado, se cambia a usar spi_register_controller() en probe().","source":"nvd"}],"published":"2026-05-08T14:22:23.332Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"8011709906d0d6ff1ba9589de5a906bf6e430782","fixed":"b6051f2bdd4bd3dde85b68558edd3a6843489221","status":"affected"},{"type":"git","introduced":"8011709906d0d6ff1ba9589de5a906bf6e430782","fixed":"85fb53351e6a3b921357a2178671e847a087e400","status":"affected"},{"type":"git","introduced":"8011709906d0d6ff1ba9589de5a906bf6e430782","fixed":"111e2863372c322e836e0c896f6dd9cf4ee08c71","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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","introduced":"6.14","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b6051f2bdd4bd3dde85b68558edd3a6843489221","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85fb53351e6a3b921357a2178671e847a087e400","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/111e2863372c322e836e0c896f6dd9cf4ee08c71","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43460","url":"https://www.cve.org/CVERecord?id=CVE-2026-43460","licence":"CVE Terms of Use","modified":"2026-05-11T22:25:00.962Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43460","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43460","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.081Z","epss":{"score":0.00119,"percentile":0.01916,"date":"2026-12-01T12:00:22.000Z"}}