# CVE-2024-27009: s390/cio: fix race condition during online processing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-05-01T05:29:18.671Z
- **Modified:** 2026-06-17T07:18:55.700Z

## Who should check

- Anyone running Linux \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 3076b3c38a704e10df5e143c213653309d532538; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 559f3a6333397ab6cd4a696edd65a70b6be62c6e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2df56f4ea769ff81e51bbb05699989603bde9c49; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< a4234decd0fe429832ca81c4637be7248b88b49e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2d8527f2f911fab84aec04df4788c0c23af3df48
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

s390/cio: fix race condition during online processing

A race condition exists in ccw\_device\_set\_online() that can cause the
online process to fail, leaving the affected device in an inconsistent
state. As a result, subsequent attempts to set that device online fail
with return code ENODEV.

The problem occurs when a path verification request arrives after
a wait for final device state completed, but before the result state
is evaluated.

Fix this by ensuring that the CCW-device lock is held between
determining final state and checking result state.

Note that since:

commit 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")

path verification requests are much more likely to occur during boot,
resulting in an increased chance of this race condition occurring.

## Affected and fixed versions

- Linux: \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 3076b3c38a704e10df5e143c213653309d532538; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 559f3a6333397ab6cd4a696edd65a70b6be62c6e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2df56f4ea769ff81e51bbb05699989603bde9c49; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< a4234decd0fe429832ca81c4637be7248b88b49e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2d8527f2f911fab84aec04df4788c0c23af3df48 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 2d8527f2f911fab84aec04df4788c0c23af3df48 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27009. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27009.md
Affected: Linux >= 2297791c92d04a154ad29ba5a073f9f627982110, < 3076b3c38a704e10df5e143c213653309d532538; >= 2297791c92d04a154ad29ba5a073f9f627982110, < 559f3a6333397ab6cd4a696edd65a70b6be62c6e; >= 2297791c92d04a154ad29ba5a073f9f627982110, < 2df56f4ea769ff81e51bbb05699989603bde9c49; >= 2297791c92d04a154ad29ba…
Fixed in: Linux 3076b3c38a704e10df5e143c213653309d532538, Linux 559f3a6333397ab6cd4a696edd65a70b6be62c6e, Linux 2df56f4ea769ff81e51bbb05699989603bde9c49, Linux 2d8527f2f911fab84aec04df4788c0c23af3df48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27009 being exploited?

There is no confirmed exploitation: CVE-2024-27009 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-27009?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-27009?

Linux \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 3076b3c38a704e10df5e143c213653309d532538; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 559f3a6333397ab6cd4a696edd65a70b6be62c6e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2df56f4ea769ff81e51bbb05699989603bde9c49; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< a4234decd0fe429832ca81c4637be7248b88b49e; \>= 2297791c92d04a154ad29ba5a073f9f627982110, \< 2d8527f2f911fab84aec04df4788c0c23af3df48; Linux 5.15.

### Is there a fix for CVE-2024-27009?

Yes. Fixed in Linux 3076b3c38a704e10df5e143c213653309d532538, Linux 559f3a6333397ab6cd4a696edd65a70b6be62c6e, Linux 2df56f4ea769ff81e51bbb05699989603bde9c49, Linux 2d8527f2f911fab84aec04df4788c0c23af3df48. Upgrade Linux to 2d8527f2f911fab84aec04df4788c0c23af3df48 or later.

### How do I check if I'm affected by CVE-2024-27009?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3076b3c38a704e10df5e143c213653309d532538>
- patch: <https://git.kernel.org/stable/c/559f3a6333397ab6cd4a696edd65a70b6be62c6e>
- patch: <https://git.kernel.org/stable/c/2df56f4ea769ff81e51bbb05699989603bde9c49>
- patch: <https://git.kernel.org/stable/c/a4234decd0fe429832ca81c4637be7248b88b49e>
- patch: <https://git.kernel.org/stable/c/2d8527f2f911fab84aec04df4788c0c23af3df48>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27009>

HTML: <https://flawdb.com/CVE-2024-27009> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27009>
