# CVE-2024-41068: s390/sclp: Fix sclp\_init() cleanup on failure

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **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.32% (percentile 17, 2026-11-28)
- **Published:** 2024-07-29T14:57:29.360Z
- **Modified:** 2026-06-17T07:47:12.640Z

## Who should check

- Anyone running Linux \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< cf521049fcd07071ed42dc9758fce7d5ee120ec6; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 79b4be70d5a160969b805f638ac5b4efd0aac7a3; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 0a31b3fdc7e735c4f8c65fe4339945c717ed6808; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< be0259796d0b76bbc7461e12c186814a9e58244c; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 6434b33faaa063df500af355ee6c3942e0f8d982
- Anyone running Linux 5.13

## Description

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

s390/sclp: Fix sclp\_init() cleanup on failure

If sclp\_init() fails it only partially cleans up: if there are multiple
failing calls to sclp\_init() sclp\_state\_change\_event will be added several
times to sclp\_reg\_list, which results in the following warning:

------------\[ cut here \]------------
list\_add double add: new=000003ffe1598c10, prev=000003ffe1598bf0, next=000003ffe1598c10.
WARNING: CPU: 0 PID: 1 at lib/list\_debug.c:35 \_\_list\_add\_valid\_or\_report+0xde/0xf8
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.10.0-rc3
Krnl PSW : 0404c00180000000 000003ffe0d6076a (\_\_list\_add\_valid\_or\_report+0xe2/0xf8)
           R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
...
Call Trace:
 \[\<000003ffe0d6076a\>\] \_\_list\_add\_valid\_or\_report+0xe2/0xf8
(\[\<000003ffe0d60766\>\] \_\_list\_add\_valid\_or\_report+0xde/0xf8)
 \[\<000003ffe0a8d37e\>\] sclp\_init+0x40e/0x450
 \[\<000003ffe00009f2\>\] do\_one\_initcall+0x42/0x1e0
 \[\<000003ffe15b77a6\>\] do\_initcalls+0x126/0x150
 \[\<000003ffe15b7a0a\>\] kernel\_init\_freeable+0x1ba/0x1f8
 \[\<000003ffe0d6650e\>\] kernel\_init+0x2e/0x180
 \[\<000003ffe000301c\>\] \_\_ret\_from\_fork+0x3c/0x60
 \[\<000003ffe0d759ca\>\] ret\_from\_fork+0xa/0x30

Fix this by removing sclp\_state\_change\_event from sclp\_reg\_list when
sclp\_init() fails.

## Affected and fixed versions

- Linux: \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< cf521049fcd07071ed42dc9758fce7d5ee120ec6; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 79b4be70d5a160969b805f638ac5b4efd0aac7a3; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 0a31b3fdc7e735c4f8c65fe4339945c717ed6808; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< be0259796d0b76bbc7461e12c186814a9e58244c; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 6434b33faaa063df500af355ee6c3942e0f8d982 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 6434b33faaa063df500af355ee6c3942e0f8d982 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-41068. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41068.md
Affected: Linux >= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, < cf521049fcd07071ed42dc9758fce7d5ee120ec6; >= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, < 79b4be70d5a160969b805f638ac5b4efd0aac7a3; >= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, < 0a31b3fdc7e735c4f8c65fe4339945c717ed6808; >= 8bc00c04d87ee151fb8fe18…
Fixed in: Linux 79b4be70d5a160969b805f638ac5b4efd0aac7a3, Linux 0a31b3fdc7e735c4f8c65fe4339945c717ed6808, Linux 6434b33faaa063df500af355ee6c3942e0f8d982

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-41068 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< cf521049fcd07071ed42dc9758fce7d5ee120ec6; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 79b4be70d5a160969b805f638ac5b4efd0aac7a3; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 0a31b3fdc7e735c4f8c65fe4339945c717ed6808; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< be0259796d0b76bbc7461e12c186814a9e58244c; \>= 8bc00c04d87ee151fb8fe18ed7e7af8c785843f2, \< 6434b33faaa063df500af355ee6c3942e0f8d982; Linux 5.13.

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

Yes. Fixed in Linux 79b4be70d5a160969b805f638ac5b4efd0aac7a3, Linux 0a31b3fdc7e735c4f8c65fe4339945c717ed6808, Linux 6434b33faaa063df500af355ee6c3942e0f8d982. Upgrade Linux to 6434b33faaa063df500af355ee6c3942e0f8d982 or later.

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

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/cf521049fcd07071ed42dc9758fce7d5ee120ec6>
- patch: <https://git.kernel.org/stable/c/79b4be70d5a160969b805f638ac5b4efd0aac7a3>
- patch: <https://git.kernel.org/stable/c/0a31b3fdc7e735c4f8c65fe4339945c717ed6808>
- patch: <https://git.kernel.org/stable/c/be0259796d0b76bbc7461e12c186814a9e58244c>
- patch: <https://git.kernel.org/stable/c/6434b33faaa063df500af355ee6c3942e0f8d982>
- patch: <https://git.kernel.org/stable/c/a778987afc36d5dc02a1f82d352a81edcaf7eb83>
- patch: <https://git.kernel.org/stable/c/455a6653d8700a81aa8ed2b6442a3be476007090>
- patch: <https://git.kernel.org/stable/c/2e51db7ab71b89dc5a17068f5e201c69f13a4c9a>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-41068>

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