What’s Vulnerable › Vulnerabilities
CVE-2023-52893: gsmi: fix null-deref in gsmi_get_variable
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-21 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: gsmi: fix null-deref in gsmi_get_variable We can get EFI variables without fetching the attribute, so we must allow for that in gsmi. commit 859748255b43 ("efi: pstore: Omit efivars caching EFI varstore access layer") added a new get_variable call with attr=NULL, which triggers panic in gsmi.
Affected products
- Linux kernel: from 3.0 before 4.14.304; from 4.15 before 4.19.271; from 4.20 before 5.4.230; from 5.5 before 5.10.165; from 5.11 before 5.15.90; from 5.16 before 6.1.8 — fixed in 4.14.304, 4.19.271, 5.10.165, 5.15.90, 5.4.230, 6.1.8
How to fix
Upgrade to a fixed version: Linux kernel 4.14.304, 4.19.271, 5.10.165, 5.15.90. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/32313c11bdc8a02c577abaf865be3664ab30410a
- https://git.kernel.org/stable/c/6646d769fdb0ce4318ef9afd127f8526d1ca8393
- https://git.kernel.org/stable/c/a769b05eeed7accc4019a1ed9799dd72067f1ce8
- https://git.kernel.org/stable/c/ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd
- https://git.kernel.org/stable/c/eb0421d90f916dffe96b4c049ddf01c0c50620d2
- https://git.kernel.org/stable/c/ee5763ef829bd923033510de6d1df7c73f085e4b
- https://git.kernel.org/stable/c/ffef77794fb5f1245c3249b86342bad2299accb5
Get alerted when CVE-2023-52893 or the next vulnerability affects your stack