CVE-2024-50133: LoongArch: Don't crash in stack_top() for tasks without vDSO

Published Nov 5, 2024
·
Updated

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

LoongArch: Don't crash in stacktop() for tasks without vDSO

Not all tasks have a vDSO mapped, for example kthreads never do. If such a task ever ends up calling stacktop(), it will derefence the NULL vdso pointer and crash.

This can for example happen when using kunit:

[<9000000000203874>] stacktop+0x58/0xa8 [<90000000002956cc>] archpickmmaplayout+0x164/0x220 [<90000000003c284c>] kunitvmmmapinit+0x108/0x12c [<90000000003c1fbc>] kunitaddresource+0x38/0x8c [<90000000003c2704>] kunitvmmmap+0x88/0xc8 [<9000000000410b14>] usercopytestinit+0xbc/0x25c [<90000000003c1db4>] kunittryruncase+0x5c/0x184 [<90000000003c3d54>] kunitgenericrunthreadfnadapter+0x24/0x48 [<900000000022e4bc>] kthread+0xc8/0xd4 [<9000000000200ce8>] retfromkernelthread+0xc/0xa4

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=5.19<6.1.115
Linux Linux kernel>=6.2<6.6.59
Linux Linux kernel>=6.7<6.11.6
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
Linux Linux kernel=6.12-rc4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Nov 5, 2024
CVE Published
via MITRE·05:10 PM
Data Sourced
via MITRE·05:10 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 3, 2025
Data Sourced
via Ubuntu·01:01 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-50133?

CVE-2024-50133 has a severity rating that classifies it as a moderate risk vulnerability in the Linux kernel.

2

How do I fix CVE-2024-50133?

To fix CVE-2024-50133, you should update your Linux kernel to the latest patched version that addresses this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2024-50133?

CVE-2024-50133 affects multiple versions of the Linux kernel, specifically between versions 5.19 and 6.1.115, 6.2 and 6.6.59, and several release candidates of version 6.12.

4

What are the potential impacts of CVE-2024-50133?

CVE-2024-50133 could potentially lead to a kernel crash when certain tasks call stack_top() without a mapped vDSO.

5

Is CVE-2024-50133 specific to any particular architecture?

Yes, CVE-2024-50133 specifically affects the LoongArch architecture within the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203