{"id":"CVE-2024-27009","state":"PUBLISHED","title":"s390/cio: fix race condition during online processing","description":"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.","publishedAt":"2024-05-01T05:29:18.671Z","updatedAt":"2026-05-11T20:08:38.954Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"3076b3c38a704e10df5e143c213653309d532538","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"559f3a6333397ab6cd4a696edd65a70b6be62c6e","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"2df56f4ea769ff81e51bbb05699989603bde9c49","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"a4234decd0fe429832ca81c4637be7248b88b49e","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"2d8527f2f911fab84aec04df4788c0c23af3df48","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/cio/device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.157","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.88","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.29","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.8","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/cio/device.c"]}],"references":["https://git.kernel.org/stable/c/3076b3c38a704e10df5e143c213653309d532538","https://git.kernel.org/stable/c/559f3a6333397ab6cd4a696edd65a70b6be62c6e","https://git.kernel.org/stable/c/2df56f4ea769ff81e51bbb05699989603bde9c49","https://git.kernel.org/stable/c/a4234decd0fe429832ca81c4637be7248b88b49e","https://git.kernel.org/stable/c/2d8527f2f911fab84aec04df4788c0c23af3df48","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27009.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-27009","state":"PUBLISHED","datePublished":"2024-05-01T05:29:18.671Z","dateUpdated":"2026-05-11T20:08:38.954Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.208Z"},"containers":{"cna":{"title":"s390/cio: fix race condition during online processing","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"3076b3c38a704e10df5e143c213653309d532538","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"559f3a6333397ab6cd4a696edd65a70b6be62c6e","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"2df56f4ea769ff81e51bbb05699989603bde9c49","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"a4234decd0fe429832ca81c4637be7248b88b49e","versionType":"git"},{"version":"2297791c92d04a154ad29ba5a073f9f627982110","status":"affected","lessThan":"2d8527f2f911fab84aec04df4788c0c23af3df48","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/cio/device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.157","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.88","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.29","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.8","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/cio/device.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3076b3c38a704e10df5e143c213653309d532538"},{"url":"https://git.kernel.org/stable/c/559f3a6333397ab6cd4a696edd65a70b6be62c6e"},{"url":"https://git.kernel.org/stable/c/2df56f4ea769ff81e51bbb05699989603bde9c49"},{"url":"https://git.kernel.org/stable/c/a4234decd0fe429832ca81c4637be7248b88b49e"},{"url":"https://git.kernel.org/stable/c/2d8527f2f911fab84aec04df4788c0c23af3df48"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:08:38.954Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.88"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.29"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.8.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/3076b3c38a704e10df5e143c213653309d532538","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/559f3a6333397ab6cd4a696edd65a70b6be62c6e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2df56f4ea769ff81e51bbb05699989603bde9c49","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a4234decd0fe429832ca81c4637be7248b88b49e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2d8527f2f911fab84aec04df4788c0c23af3df48","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T17:16:50.377Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-27009","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:44:43.675046Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:38.137Z"}}]}}}