CVE-2022-50812

published 30 Dec 2025 · updated 11 May 2026

security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b202dfedb5aa2e7d07d849be33fa3a48c026926, Kernel 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e, Kernel 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c and 1 more.

In the Linux kernel, the following vulnerability has been resolved: security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6 A bad bug in clang's implementation of -fzero-call-used-regs can result in NULL pointer dereferences (see the links above the check for more information). Restrict CONFIG_CC_HAS_ZERO_CALL_USED_REGS to either a supported GCC version or a clang newer than 15.0.6, which will catch both a theoretical 15.0.7 and the upcoming 16.0.0, which will both have the bug fixed.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=a82adfd5c7cb4b8bb37ef439aed954f9972bb618 <0b202dfedb5aa2e7d07d849be33fa3a48c026926, >=a82adfd5c7cb4b8bb37ef439aed954f9972bb618 <21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e, >=a82adfd5c7cb4b8bb37ef439aed954f9972bb618 <8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c, >=a82adfd5c7cb4b8bb37ef439aed954f9972bb618 <d6a9fb87e9d18f3394a9845546bbe868efdccfd20b202dfedb5aa2e7d07d849be33fa3a48c026926, 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e, 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c, d6a9fb87e9d18f3394a9845546bbe868efdccfd2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50812 severity on Zeptric[![CVE-2022-50812](https://zeptric.io/badge/cve/CVE-2022-50812.svg)](https://zeptric.io/cve/CVE-2022-50812)