CVE-2023-52838

fbdev: imsttfb: fix a resource leak in probe

6.2 medium EPSS 0.25%

Published 21 May 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2023-52838

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-52838 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:

fbdev: imsttfb: fix a resource leak in probe

I've re-written the error handling but the bug is that if init_imstt() fails we need to call iounmap(par->cmap_regs).

Severity (CVSS)

6.2 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

The assessment of CISA (SSVC, 17 Jun 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

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7f683f286a2196bd4d2da420a3194f5ba0269d8c, before 382e1931e0c9cd58a5a8519cdc6cd9dc4d82b485
affected from 815c95d82b79bb32e9aa7c95c6ac7cb1c92612cd, before 6c66d737b2726ac7784269ddf32a31634f8f269d
affected from 2bf70b88cc358a437db376826f92c8dcf9c23587, before a4dfebec32ec6d420a5506dd56a7834c91be28e4
affected from ad3de274e065790181f112b9c72a2fb4665ee2fd, before 8e4b510fe91782522b7ca0ca881b663b5d35e513
affected from c6c0a9f619584be19726ce7f81c31bc555af401a, before 7bc7b82fb2191b0d50a80ee4e27030918767dd1d
affected from c75f5a55061091030a13fef71b9995b89bc86213, before 18d26f9baca7d0d309303e3074a2252b8310884a
affected from c75f5a55061091030a13fef71b9995b89bc86213, before b346a531159d08c564a312a9eaeea691704f3c00
affected from c75f5a55061091030a13fef71b9995b89bc86213, before aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b
affected 64c6b84c73f576380fadeec2d30aaeccbc2994c7
affected 4c86974fb42281b8041a504d92ab341ad4697325
affected from 4.19.291, before 4.19.299
affected from 5.4.251, before 5.4.261
affected from 5.10.188, before 5.10.201
affected from 5.15.116, before 5.15.139
affected from 6.1.33, before 6.1.63
affected from 4.14.322, before 4.15
affected from 6.3.7, before 6.4
Other versions: unaffected
Linux
affected 6.4
unaffected before 6.4
unaffected from 4.19.299 up to and including 4.19.*
unaffected from 5.4.261 up to and including 5.4.*
unaffected from 5.10.201 up to and including 5.10.*
unaffected from 5.15.139 up to and including 5.15.*
unaffected from 6.1.63 up to and including 6.1.*
unaffected from 6.5.12 up to and including 6.5.*
unaffected from 6.6.2 up to and including 6.6.*
unaffected 6.7 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-52838 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52838

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-52838
trivy image --scanners vuln IMAGE | grep CVE-2023-52838

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-52838 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.