{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50812","id":"CVE-2022-50812","title":"security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6","description":"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.","descriptionLong":"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.","published":"2025-12-30T12:08:29.434Z","updated":"2026-10-28T02:30:33.887606720Z","reserved":"2025-12-30T12:06:07.130Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a82adfd5c7cb4b8bb37ef439aed954f9972bb618","lessThan":"8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c","status":"affected","versionType":"git"},{"version":"a82adfd5c7cb4b8bb37ef439aed954f9972bb618","lessThan":"0b202dfedb5aa2e7d07d849be33fa3a48c026926","status":"affected","versionType":"git"},{"version":"a82adfd5c7cb4b8bb37ef439aed954f9972bb618","lessThan":"21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e","status":"affected","versionType":"git"},{"version":"a82adfd5c7cb4b8bb37ef439aed954f9972bb618","lessThan":"d6a9fb87e9d18f3394a9845546bbe868efdccfd2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8a4236456a3a402f6bb92aa7b75e7a3b4ef7a72c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0b202dfedb5aa2e7d07d849be33fa3a48c026926","tags":["web"]},{"url":"https://git.kernel.org/stable/c/21ca0bfa11bbb9a9207f5d2104f47d3d71b4616e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d6a9fb87e9d18f3394a9845546bbe868efdccfd2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50812.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50812","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00238,"epssPercentile":0.15068,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50812","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50812","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50812","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50812","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}