{"id":"CVE-2025-39893","aliases":["CVE-2025-39893"],"related":[],"kind":"vulnerability","state":"published","title":"spi: spi-qpic-snand: unregister ECC engine on probe error and device remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-qpic-snand: unregister ECC engine on probe error and device remove\n\nThe on-host hardware ECC engine remains registered both when\nthe spi_register_controller() function returns with an error\nand also on device removal.\n\nChange the qcom_spi_probe() function to unregister the engine\non the error path, and add the missing unregistering call to\nqcom_spi_remove() to avoid possible use-after-free issues.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-qpic-snand: unregister ECC engine on probe error and device remove\n\nThe on-host hardware ECC engine remains registered both when\nthe spi_register_controller() function returns with an error\nand also on device removal.\n\nChange the qcom_spi_probe() function to unregister the engine\non the error path, and add the missing unregistering call to\nqcom_spi_remove() to avoid possible use-after-free issues.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nspi: spi-qpic-snand: anular el registro del motor ECC en error de sondeo y eliminación de dispositivo\n\nEl motor ECC de hardware en el host permanece registrado tanto cuando la función spi_register_controller() devuelve un error como en la eliminación del dispositivo.\n\nCambiar la función qcom_spi_probe() para anular el registro del motor en la ruta de error, y añadir la llamada de anulación de registro faltante a qcom_spi_remove() para evitar posibles problemas de uso después de liberación.","source":"nvd"}],"published":"2025-10-01T07:42:42.344Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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-401"],"affected":[{"ranges":[{"type":"git","introduced":"7304d1909080ef0c9da703500a97f46c98393fcd","fixed":"e4de48e66af17547727bb2e4b1867952817edff7","status":"affected"},{"type":"git","introduced":"7304d1909080ef0c9da703500a97f46c98393fcd","fixed":"1991a458528588ff34e98b6365362560d208710f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.16.6","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","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.15","fixed":"6.16.6"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e4de48e66af17547727bb2e4b1867952817edff7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1991a458528588ff34e98b6365362560d208710f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T19:27:49.410Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39893","url":"https://www.cve.org/CVERecord?id=CVE-2025-39893","licence":"CVE Terms of Use","modified":"2026-05-11T21:38:27.844Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39893","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39893","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:05.379Z","epss":{"score":0.0013,"percentile":0.02854,"date":"2026-12-01T12:00:22.000Z"}}