CVE-2024-41068
s390/sclp: Fix sclp_init() cleanup on failure
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.
INFO
Published Date :
July 29, 2024, 3:15 p.m.
Last Modified :
Oct. 9, 2025, 6:05 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected kernel package.
- Reboot the system to apply the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-41068
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-41068
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-41068
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-41068
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-41068
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 09, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.319 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.281 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.223 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.164 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.101 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.42 Added Reference Type CVE: https://git.kernel.org/stable/c/0a31b3fdc7e735c4f8c65fe4339945c717ed6808 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0a31b3fdc7e735c4f8c65fe4339945c717ed6808 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/2e51db7ab71b89dc5a17068f5e201c69f13a4c9a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2e51db7ab71b89dc5a17068f5e201c69f13a4c9a Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/455a6653d8700a81aa8ed2b6442a3be476007090 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/455a6653d8700a81aa8ed2b6442a3be476007090 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/6434b33faaa063df500af355ee6c3942e0f8d982 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6434b33faaa063df500af355ee6c3942e0f8d982 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/79b4be70d5a160969b805f638ac5b4efd0aac7a3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/79b4be70d5a160969b805f638ac5b4efd0aac7a3 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/a778987afc36d5dc02a1f82d352a81edcaf7eb83 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a778987afc36d5dc02a1f82d352a81edcaf7eb83 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/be0259796d0b76bbc7461e12c186814a9e58244c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/be0259796d0b76bbc7461e12c186814a9e58244c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/cf521049fcd07071ed42dc9758fce7d5ee120ec6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf521049fcd07071ed42dc9758fce7d5ee120ec6 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0a31b3fdc7e735c4f8c65fe4339945c717ed6808 Added Reference https://git.kernel.org/stable/c/2e51db7ab71b89dc5a17068f5e201c69f13a4c9a Added Reference https://git.kernel.org/stable/c/455a6653d8700a81aa8ed2b6442a3be476007090 Added Reference https://git.kernel.org/stable/c/6434b33faaa063df500af355ee6c3942e0f8d982 Added Reference https://git.kernel.org/stable/c/79b4be70d5a160969b805f638ac5b4efd0aac7a3 Added Reference https://git.kernel.org/stable/c/a778987afc36d5dc02a1f82d352a81edcaf7eb83 Added Reference https://git.kernel.org/stable/c/be0259796d0b76bbc7461e12c186814a9e58244c Added Reference https://git.kernel.org/stable/c/cf521049fcd07071ed42dc9758fce7d5ee120ec6 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 29, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/a778987afc36d5dc02a1f82d352a81edcaf7eb83 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/455a6653d8700a81aa8ed2b6442a3be476007090 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2e51db7ab71b89dc5a17068f5e201c69f13a4c9a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/cf521049fcd07071ed42dc9758fce7d5ee120ec6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/79b4be70d5a160969b805f638ac5b4efd0aac7a3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0a31b3fdc7e735c4f8c65fe4339945c717ed6808 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/be0259796d0b76bbc7461e12c186814a9e58244c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6434b33faaa063df500af355ee6c3942e0f8d982 [No types assigned]