# CVE-2023-53288: drm/client: Fix memory leak in drm_client_modeset_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-09-16T08:11:21.150Z
- Modified: 2026-06-17T06:44:45.030Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/client: Fix memory leak in drm_client_modeset_probe

When a new mode is set to modeset->mode, the previous mode should be freed.
This fixes the following kmemleak report:

drm_mode_duplicate+0x45/0x220 [drm]
drm_client_modeset_probe+0x944/0xf50 [drm]
__drm_fb_helper_initial_config_and_unlock+0xb4/0x2c0 [drm_kms_helper]
drm_fbdev_client_hotplug+0x2bc/0x4d0 [drm_kms_helper]
drm_client_register+0x169/0x240 [drm]
ast_pci_probe+0x142/0x190 [ast]
local_pci_probe+0xdc/0x180
work_for_cpu_fn+0x4e/0xa0
process_one_work+0x8b7/0x1540
worker_thread+0x70a/0xed0
kthread+0x29f/0x340
ret_from_fork+0x1f/0x30

(As written by CVE List.)

## Affected

- Linux Linux: from a2889606636d135148de101fe3311dfea67baf1c before 5d580017bdb9b3e930b6009e467e5e1589f8ca8a; from a2889606636d135148de101fe3311dfea67baf1c before 5f2a12f64347f535c6ef55fa7eb36a2874d69b59; from a2889606636d135148de101fe3311dfea67baf1c before 1369d0c586ad44f2d18fe2f4cbc5bcb24132fa71; from a2889606636d135148de101fe3311dfea67baf1c before 917bef37cfaca07781c6fbaf6cd9404d27e64e6f; from a2889606636d135148de101fe3311dfea67baf1c before 8108a494639e56aea77e7196a1d6ea89792b9d4a; from a2889606636d135148de101fe3311dfea67baf1c before 2329cc7a101af1a844fbf706c0724c0baea38365; 0cc98b5963f8886887aab0ded61970bdccfc2350; from 4.8.7 before 4.9; 4.9 (not affected: before 4.9; from 5.4.251 up to 5.4.*; from 5.10.188 up to 5.10.*; from 5.15.123 up to 5.15.*; from 6.1.42 up to 6.1.*; from 6.4.7 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: before 5.4.251; from 5.5 before 5.10.188; from 5.11 before 5.15.123; from 5.16 before 6.1.42; from 6.2 before 6.4.7; 6.5

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5d580017bdb9b3e930b6009e467e5e1589f8ca8a> (patch)
- <https://git.kernel.org/stable/c/5f2a12f64347f535c6ef55fa7eb36a2874d69b59> (patch)
- <https://git.kernel.org/stable/c/1369d0c586ad44f2d18fe2f4cbc5bcb24132fa71> (patch)
- <https://git.kernel.org/stable/c/917bef37cfaca07781c6fbaf6cd9404d27e64e6f> (patch)
- <https://git.kernel.org/stable/c/8108a494639e56aea77e7196a1d6ea89792b9d4a> (patch)
- <https://git.kernel.org/stable/c/2329cc7a101af1a844fbf706c0724c0baea38365> (patch)

## Sources

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

---

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