{"id":"CVE-2024-27009","aliases":["CVE-2024-27009"],"related":[],"kind":"vulnerability","state":"published","title":"s390/cio: fix race condition during online processing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/cio: fix race condition during online processing\n\nA race condition exists in ccw_device_set_online() that can cause the\nonline process to fail, leaving the affected device in an inconsistent\nstate. As a result, subsequent attempts to set that device online fail\nwith return code ENODEV.\n\nThe problem occurs when a path verification request arrives after\na wait for final device state completed, but before the result state\nis evaluated.\n\nFix this by ensuring that the CCW-device lock is held between\ndetermining final state and checking result state.\n\nNote that since:\n\ncommit 2297791c92d0 (\"s390/cio: dont unregister subchannel from child-drivers\")\n\npath verification requests are much more likely to occur during boot,\nresulting in an increased chance of this race condition occurring.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/cio: fix race condition during online processing\n\nA race condition exists in ccw_device_set_online() that can cause the\nonline process to fail, leaving the affected device in an inconsistent\nstate. As a result, subsequent attempts to set that device online fail\nwith return code ENODEV.\n\nThe problem occurs when a path verification request arrives after\na wait for final device state completed, but before the result state\nis evaluated.\n\nFix this by ensuring that the CCW-device lock is held between\ndetermining final state and checking result state.\n\nNote that since:\n\ncommit 2297791c92d0 (\"s390/cio: dont unregister subchannel from child-drivers\")\n\npath verification requests are much more likely to occur during boot,\nresulting in an increased chance of this race condition occurring.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: s390/cio: corrige la condición de ejecución durante el procesamiento en línea Existe una condición de ejecución en ccw_device_set_online() que puede causar que el proceso en línea falle, dejando el dispositivo afectado en un estado inconsistente. Como resultado, los intentos posteriores de configurar ese dispositivo en línea fallan con el código de retorno ENODEV. El problema se produce cuando llega una solicitud de verificación de ruta después de que se complete la espera hasta que se complete el estado final del dispositivo, pero antes de que se evalúe el estado del resultado. Solucione este problema asegurándose de que el bloqueo del dispositivo CCW se mantenga entre la determinación del estado final y la verificación del estado del resultado. Tenga en cuenta que desde: commit 2297791c92d0 (\"s390/cio: no cancelar el registro del subcanal de los controladores secundarios\") es mucho más probable que se produzcan solicitudes de verificación de ruta durante el arranque, lo que aumenta las posibilidades de que se produzca esta condición de ejecución.","source":"nvd"}],"published":"2024-05-01T05:29:18.671Z","modified":"2026-06-17T07:18:55.700Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"2297791c92d04a154ad29ba5a073f9f627982110","fixed":"3076b3c38a704e10df5e143c213653309d532538","status":"affected"},{"type":"git","introduced":"2297791c92d04a154ad29ba5a073f9f627982110","fixed":"559f3a6333397ab6cd4a696edd65a70b6be62c6e","status":"affected"},{"type":"git","introduced":"2297791c92d04a154ad29ba5a073f9f627982110","fixed":"2df56f4ea769ff81e51bbb05699989603bde9c49","status":"affected"},{"type":"git","introduced":"2297791c92d04a154ad29ba5a073f9f627982110","fixed":"a4234decd0fe429832ca81c4637be7248b88b49e","status":"affected"},{"type":"git","introduced":"2297791c92d04a154ad29ba5a073f9f627982110","fixed":"2d8527f2f911fab84aec04df4788c0c23af3df48","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.157","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.88","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.29","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.8","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","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":"5.15","fixed":"5.15.157"},{"status":"affected","introduced":"5.16","fixed":"6.1.88"},{"status":"affected","introduced":"6.2","fixed":"6.6.29"},{"status":"affected","introduced":"6.7","fixed":"6.8.8"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3076b3c38a704e10df5e143c213653309d532538","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/559f3a6333397ab6cd4a696edd65a70b6be62c6e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2df56f4ea769ff81e51bbb05699989603bde9c49","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4234decd0fe429832ca81c4637be7248b88b49e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d8527f2f911fab84aec04df4788c0c23af3df48","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:44:43.675Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27009","url":"https://www.cve.org/CVERecord?id=CVE-2024-27009","licence":"CVE Terms of Use","modified":"2026-05-11T20:08:38.954Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27009","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27009","licence":"Public domain","modified":"2026-06-17T07:18:55.700Z"}],"updatedAt":"2026-11-25T22:58:39.768Z","epss":{"score":0.00176,"percentile":0.07481,"date":"2026-12-01T12:00:22.000Z"}}