{"id":"CVE-2026-23357","aliases":["CVE-2026-23357"],"related":[],"kind":"vulnerability","state":"published","title":"can: mcp251x: fix deadlock in error path of mcp251x_open","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcp251x: fix deadlock in error path of mcp251x_open\n\nThe mcp251x_open() function call free_irq() in its error path with the\nmpc_lock mutex held. But if an interrupt already occurred the\ninterrupt handler will be waiting for the mpc_lock and free_irq() will\ndeadlock waiting for the handler to finish.\n\nThis issue is similar to the one fixed in commit 7dd9c26bd6cf (\"can:\nmcp251x: fix deadlock if an interrupt occurs during mcp251x_open\") but\nfor the error path.\n\nTo solve this issue move the call to free_irq() after the lock is\nreleased. Setting `priv->force_quit = 1` beforehand ensure that the IRQ\nhandler will exit right away once it acquired the lock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcp251x: fix deadlock in error path of mcp251x_open\n\nThe mcp251x_open() function call free_irq() in its error path with the\nmpc_lock mutex held. But if an interrupt already occurred the\ninterrupt handler will be waiting for the mpc_lock and free_irq() will\ndeadlock waiting for the handler to finish.\n\nThis issue is similar to the one fixed in commit 7dd9c26bd6cf (\"can:\nmcp251x: fix deadlock if an interrupt occurs during mcp251x_open\") but\nfor the error path.\n\nTo solve this issue move the call to free_irq() after the lock is\nreleased. Setting `priv->force_quit = 1` beforehand ensure that the IRQ\nhandler will exit right away once it acquired the lock.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncan: mcp251x: corregir interbloqueo en la ruta de error de mcp251x_open\n\nLa función mcp251x_open() llama a free_irq() en su ruta de error con el mutex mpc_lock retenido. Pero si ya ocurrió una interrupción, el gestor de interrupciones estará esperando por el mpc_lock y free_irq() se interbloqueará esperando a que el gestor termine.\n\nEste problema es similar al resuelto en el commit 7dd9c26bd6cf ('can: mcp251x: corregir interbloqueo si ocurre una interrupción durante mcp251x_open') pero para la ruta de error.\n\nPara resolver este problema, mueva la llamada a free_irq() después de que se libere el bloqueo. Establecer `priv-&gt;force_quit = 1` de antemano asegura que el gestor IRQ saldrá de inmediato una vez que haya adquirido el bloqueo.","source":"nvd"}],"published":"2026-03-25T10:27:41.299Z","modified":"2026-11-05T22:18:16.753Z","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-667"],"affected":[{"ranges":[{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"739454057572cb0948658d1142f3fa2c6966465c","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"416c18ecddafab0ed09be1e7b9d2f448f3d4db16","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"256f0cff6e946c570392bda1d01a65e789a7afd0","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"b73832292cd914e87a55e863ba4413a907e7db6b","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"38063cc435b69d56e76f947c10d336fcb2953508","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"d27f12c3f5e85efc479896af4a69eccb37f75e8e","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"e728f444c913a91d290d1824b4770780bbd6378e","status":"affected"},{"type":"git","introduced":"bf66f3736a945dd4e92d86427276c6eeab0a6c1d","fixed":"ab3f894de216f4a62adc3b57e9191888cbf26885","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.34","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.34","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.77","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.17","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.7","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":"2.6.34.1","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.77"},{"status":"affected","introduced":"6.13","fixed":"6.18.17"},{"status":"affected","introduced":"6.19","fixed":"6.19.7"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"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/739454057572cb0948658d1142f3fa2c6966465c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/416c18ecddafab0ed09be1e7b9d2f448f3d4db16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/256f0cff6e946c570392bda1d01a65e789a7afd0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b73832292cd914e87a55e863ba4413a907e7db6b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38063cc435b69d56e76f947c10d336fcb2953508","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d27f12c3f5e85efc479896af4a69eccb37f75e8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e728f444c913a91d290d1824b4770780bbd6378e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab3f894de216f4a62adc3b57e9191888cbf26885","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:27:42.540Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23357","url":"https://www.cve.org/CVERecord?id=CVE-2026-23357","licence":"CVE Terms of Use","modified":"2026-11-05T21:33:41.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23357","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23357","licence":"Public domain","modified":"2026-11-05T22:18:16.753Z"}],"updatedAt":"2026-11-25T22:59:16.689Z","epss":{"score":0.00121,"percentile":0.02057,"date":"2026-12-01T12:00:22.000Z"}}