CVE-2024-50133
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
05/11/2024
Last modified:
07/11/2024
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