CVE-2023-52893

gsmi: fix null-deref in gsmi_get_variable

No CVSS score yet EPSS 0.24%

Published 21 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52893

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52893 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before ee5763ef829bd923033510de6d1df7c73f085e4b
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before 32313c11bdc8a02c577abaf865be3664ab30410a
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before ffef77794fb5f1245c3249b86342bad2299accb5
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before eb0421d90f916dffe96b4c049ddf01c0c50620d2
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before 6646d769fdb0ce4318ef9afd127f8526d1ca8393
affected from 74c5b31c6618f01079212332b2e5f6c42f2d6307, before a769b05eeed7accc4019a1ed9799dd72067f1ce8
Other versions: unaffected
Linux
affected 3.0
unaffected before 3.0
unaffected from 4.14.304 up to and including 4.14.*
unaffected from 4.19.271 up to and including 4.19.*
unaffected from 5.4.230 up to and including 5.4.*
unaffected from 5.10.165 up to and including 5.10.*
unaffected from 5.15.90 up to and including 5.15.*
unaffected from 6.1.8 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52893 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52893

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52893
trivy image --scanners vuln IMAGE | grep CVE-2023-52893

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52893 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.