# CVE-2023-52838: fbdev: imsttfb: fix a resource leak in probe

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2024-05-21T15:31:38.539Z
- Modified: 2026-06-17T06:43:41.983Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 7f683f286a2196bd4d2da420a3194f5ba0269d8c before 382e1931e0c9cd58a5a8519cdc6cd9dc4d82b485; from 815c95d82b79bb32e9aa7c95c6ac7cb1c92612cd before 6c66d737b2726ac7784269ddf32a31634f8f269d; from 2bf70b88cc358a437db376826f92c8dcf9c23587 before a4dfebec32ec6d420a5506dd56a7834c91be28e4; from ad3de274e065790181f112b9c72a2fb4665ee2fd before 8e4b510fe91782522b7ca0ca881b663b5d35e513; from c6c0a9f619584be19726ce7f81c31bc555af401a before 7bc7b82fb2191b0d50a80ee4e27030918767dd1d; from c75f5a55061091030a13fef71b9995b89bc86213 before 18d26f9baca7d0d309303e3074a2252b8310884a; from c75f5a55061091030a13fef71b9995b89bc86213 before b346a531159d08c564a312a9eaeea691704f3c00; from c75f5a55061091030a13fef71b9995b89bc86213 before aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b; 64c6b84c73f576380fadeec2d30aaeccbc2994c7; 4c86974fb42281b8041a504d92ab341ad4697325; from 4.19.291 before 4.19.299; from 5.4.251 before 5.4.261; and 6 more (not affected: before 6.4; from 4.19.299 up to 4.19.*; from 5.4.261 up to 5.4.*; from 5.10.201 up to 5.10.*; from 5.15.139 up to 5.15.*; from 6.1.63 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 4.14.322 before 4.15; from 4.19.291 before 4.19.299; from 5.4.251 before 5.4.261; from 5.10.188 before 5.10.201; from 5.15.116 before 5.15.139; from 6.1.33 before 6.1.63; from 6.3.7 before 6.5.12; from 6.6 before 6.6.2

## References

- <https://git.kernel.org/stable/c/382e1931e0c9cd58a5a8519cdc6cd9dc4d82b485> (patch)
- <https://git.kernel.org/stable/c/6c66d737b2726ac7784269ddf32a31634f8f269d> (patch)
- <https://git.kernel.org/stable/c/a4dfebec32ec6d420a5506dd56a7834c91be28e4> (patch)
- <https://git.kernel.org/stable/c/8e4b510fe91782522b7ca0ca881b663b5d35e513> (patch)
- <https://git.kernel.org/stable/c/7bc7b82fb2191b0d50a80ee4e27030918767dd1d> (patch)
- <https://git.kernel.org/stable/c/18d26f9baca7d0d309303e3074a2252b8310884a> (patch)
- <https://git.kernel.org/stable/c/b346a531159d08c564a312a9eaeea691704f3c00> (patch)
- <https://git.kernel.org/stable/c/aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b> (patch)

## Sources

- CVE List: [CVE-2023-52838](https://www.cve.org/CVERecord?id=CVE-2023-52838), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2023-52838](https://nvd.nist.gov/vuln/detail/CVE-2023-52838), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52838 · Whole record: https://cve.day/CVE-2023-52838.json · Rebuilt by cve.day 2026-11-25T22:58:34.046Z
