CVE-2022-50812
security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < d6a9fb87e9d18f3394a9845546bbe868efdccfd2
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < d6a9fb87e9d18f3394a9845546bbe868efdccfd2; Linux 5.15
- Fixed in
- Linux 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c, Linux 0b202dfedb5aa2e7d07d849be33fa3a48c026926, Linux 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < d6a9fb87e9d18f3394a9845546bbe868efdccfd2 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50812. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50812.md Affected: Linux >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e; >= a82adfd5c7cb4b8bb37ef43… Fixed in: Linux 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c, Linux 0b202dfedb5aa2e7d07d849be33fa3a48c026926, Linux 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-50812 being exploited?
There is no confirmed exploitation: CVE-2022-50812 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50812?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50812?
Linux >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 0b202dfedb5aa2e7d07d849be33fa3a48c026926; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e; >= a82adfd5c7cb4b8bb37ef439aed954f9972bb618, < d6a9fb87e9d18f3394a9845546bbe868efdccfd2; Linux 5.15.
Is there a fix for CVE-2022-50812?
Yes. Fixed in Linux 8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c, Linux 0b202dfedb5aa2e7d07d849be33fa3a48c026926, Linux 21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50812?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.