PT-2025-53930 · Clang+3 · Clang+3
Published
2022-01-01
·
Updated
2026-01-01
·
CVE-2022-50812
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
linux versions prior to kernel versions with gcc or clang greater than 15.0.6
Description
A flaw exists in the Linux kernel related to the configuration option CONFIG ZERO CALL USED REGS. A bug in clang’s implementation of the -fzero-call-used-regs flag can lead to NULL pointer dereferences. The issue arises when using unsupported GCC versions or clang versions 15.0.6 and earlier. Restricting the use of CONFIG CC HAS ZERO CALL USED REGS to supported GCC versions or clang versions newer than 15.0.6 can prevent this issue.
Recommendations
Ensure the system uses a supported GCC version or a clang version greater than 15.0.6.
Restrict the use of the CONFIG CC HAS ZERO CALL USED REGS configuration option to supported compilers.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Clang
Debian
Gcc
Linux Kernel