CVE-2023-53288

drm/client: Fix memory leak in drm_client_modeset_probe

State
Published
Severity
5.5 Medium
Published
Sep 16, 2025
Updated
May 23, 2026
Reserved
Sep 16, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • a2889606636d135148de101fe3311dfea67baf1c to before 5d580017bdb9b3e930b6009e467e5e1589f8ca8aAffected
  • a2889606636d135148de101fe3311dfea67baf1c to before 5f2a12f64347f535c6ef55fa7eb36a2874d69b59Affected
  • a2889606636d135148de101fe3311dfea67baf1c to before 1369d0c586ad44f2d18fe2f4cbc5bcb24132fa71Affected
  • a2889606636d135148de101fe3311dfea67baf1c to before 917bef37cfaca07781c6fbaf6cd9404d27e64e6fAffected
  • a2889606636d135148de101fe3311dfea67baf1c to before 8108a494639e56aea77e7196a1d6ea89792b9d4aAffected
  • a2889606636d135148de101fe3311dfea67baf1c to before 2329cc7a101af1a844fbf706c0724c0baea38365Affected
  • 0cc98b5963f8886887aab0ded61970bdccfc2350Affected
  • 4.8.7 to before 4.9Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.123 through 5.15.*Not affected
  • 6.1.42 through 6.1.*Not affected
  • 6.4.7 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.