{"id":"CVE-2022-50812","published":"2025-12-30T12:08:29Z","modified":"2026-05-11T19:25:35Z","title":"security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsecurity: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6\n\nA bad bug in clang's implementation of -fzero-call-used-regs can result\nin NULL pointer dereferences (see the links above the check for more\ninformation). Restrict CONFIG_CC_HAS_ZERO_CALL_USED_REGS to either a\nsupported GCC version or a clang newer than 15.0.6, which will catch\nboth a theoretical 15.0.7 and the upcoming 16.0.0, which will both have\nthe bug fixed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00238,"percentile":0.14736,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c","tags":[]},{"url":"https://git.kernel.org/stable/c/0b202dfedb5aa2e7d07d849be33fa3a48c026926","tags":[]},{"url":"https://git.kernel.org/stable/c/21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e","tags":[]},{"url":"https://git.kernel.org/stable/c/d6a9fb87e9d18f3394a9845546bbe868efdccfd2","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.95}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c",">= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926",">= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e",">= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < d6a9fb87e9d18f3394a9845546bbe868efdccfd2"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2022-55886","exploited":false,"provenance":"source"}}