CVE-2024-50133
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
05/11/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
LoongArch: Don&#39;t crash in stack_top() for tasks without vDSO<br />
<br />
Not all tasks have a vDSO mapped, for example kthreads never do. If such<br />
a task ever ends up calling stack_top(), it will derefence the NULL vdso<br />
pointer and crash.<br />
<br />
This can for example happen when using kunit:<br />
<br />
[] stack_top+0x58/0xa8<br />
[] arch_pick_mmap_layout+0x164/0x220<br />
[] kunit_vm_mmap_init+0x108/0x12c<br />
[] __kunit_add_resource+0x38/0x8c<br />
[] kunit_vm_mmap+0x88/0xc8<br />
[] usercopy_test_init+0xbc/0x25c<br />
[] kunit_try_run_case+0x5c/0x184<br />
[] kunit_generic_run_threadfn_adapter+0x24/0x48<br />
[] kthread+0xc8/0xd4<br />
[] ret_from_kernel_thread+0xc/0xa4
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 6.1.115 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.59 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.6 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/041cc3860b06770357876d1114d615333b0fbf31
- https://git.kernel.org/stable/c/134475a9ab8487527238d270639a8cb74c10aab2
- https://git.kernel.org/stable/c/a67d4a02bf43e15544179895ede7d5f97b84b550
- https://git.kernel.org/stable/c/a94c197d4d749954dfaa37e907fcc8c04e4aad7e
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html



