CVE-2022-50812

security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6

N/A
Published: December 30, 2025 at 12:08 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.865.15 ≤ v < 6.0.165.15 ≤ v < 6.1.25.15 ≤ v < 6.25.15a82adfd5c7cb4b8bb37ef439aed954f9972bb618
Vendor states this is fixed in 0b202dfedb5aa2e7d07d849be33fa3a48c026926 (fixed)
Vendor states this is fixed in 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e (fixed)
Vendor states this is fixed in 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c (fixed)
Vendor states this is fixed in d6a9fb87e9d18f3394a9845546bbe868efdccfd2 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card