CVE-2021-47369
s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
Mitigation
- Upgrade Linux to 5.9 or later.
Who should check
- Anyone running Linux >= eff73e16ee116f6eafa2be48fab42659a27cb453, < db94f89e1dadf693c15c2d60de0c34777cea5779; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 248f064af222a1f97ee02c84a98013dfbccad386; b2400fe7e1011c5f3dc2268e8382082465b1c8a2; 22697ca855c06a4a1264d5651542b7d98870a8c4; >= 5.7.16, < 5.8; >= 5.8.2, < 5.9
- Anyone running Linux 5.9
Vulnerability facts
- Affected
- Linux >= eff73e16ee116f6eafa2be48fab42659a27cb453, < db94f89e1dadf693c15c2d60de0c34777cea5779; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 248f064af222a1f97ee02c84a98013dfbccad386; b2400fe7e1011c5f3dc2268e8382082465b1c8a2; 22697ca855c06a4a1264d5651542b7d98870a8c4; >= 5.7.16, < 5.8; >= 5.8.2, < 5.9; Linux 5.9
- Fixed in
- Linux 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc, Linux 248f064af222a1f97ee02c84a98013dfbccad386, Linux 5.8, Linux 5.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: s390/qeth: fix NULL deref in qeth_clear_working_pool_list() When qeth_set_online() calls qeth_clear_working_pool_list() to roll back after an error exit from qeth_hardsetup_card(), we are at risk of accessing card->qdio.in_q before it was allocated by qeth_alloc_qdio_queues() via qeth_mpc_initialize(). qeth_clear_working_pool_list() then dereferences NULL, and by writing to queue->bufs[i].pool_entry scribbles all over the CPU's lowcore. Resulting in a crash when those lowcore areas are used next (eg. on the next machine-check interrupt). Such a scenario would typically happen when the device is first set online and its queues aren't allocated yet. An early IO error or certain misconfigs (eg. mismatched transport mode, bad portno) then cause us to error out from qeth_hardsetup_card() with card->qdio.in_q still being NULL. Fix it by checking the pointer for NULL before accessing it. Note that we also have (rare) paths inside qeth_mpc_initialize() where a configuration change can cause us to free the existing queues, expecting that subsequent code will allocate them again. If we then error out before that re-allocation happens, the same bug occurs. Root-caused-by: Heiko Carstens <hca@linux.ibm.com>
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= eff73e16ee116f6eafa2be48fab42659a27cb453, < db94f89e1dadf693c15c2d60de0c34777cea5779; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 248f064af222a1f97ee02c84a98013dfbccad386; b2400fe7e1011c5f3dc2268e8382082465b1c8a2; 22697ca855c06a4a1264d5651542b7d98870a8c4; >= 5.7.16, < 5.8; >= 5.8.2, < 5.9 | — | cvelist |
| Linux | 5.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47369. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47369.md Affected: Linux >= eff73e16ee116f6eafa2be48fab42659a27cb453, < db94f89e1dadf693c15c2d60de0c34777cea5779; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 248f064af222a1f97ee02c84a98013dfbccad386; b2400fe7e1011c5f3dc2268e83… Fixed in: Linux 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc, Linux 248f064af222a1f97ee02c84a98013dfbccad386, Linux 5.8, Linux 5.9 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.
References
FAQ
Is CVE-2021-47369 being exploited?
There is no confirmed exploitation: CVE-2021-47369 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47369?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47369?
Linux >= eff73e16ee116f6eafa2be48fab42659a27cb453, < db94f89e1dadf693c15c2d60de0c34777cea5779; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc; >= eff73e16ee116f6eafa2be48fab42659a27cb453, < 248f064af222a1f97ee02c84a98013dfbccad386; b2400fe7e1011c5f3dc2268e8382082465b1c8a2; 22697ca855c06a4a1264d5651542b7d98870a8c4; >= 5.7.16, < 5.8; >= 5.8.2, < 5.9; Linux 5.9.
Is there a fix for CVE-2021-47369?
Yes. Fixed in Linux 9b00fb12cdc9d8d1c3ffe82a78e74738127803fc, Linux 248f064af222a1f97ee02c84a98013dfbccad386, Linux 5.8, Linux 5.9. Upgrade Linux to 5.9 or later.
How do I check if I'm affected by CVE-2021-47369?
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.