5.5medium
drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callback
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callback After several commits, the slab memory increases. Some drm_crtc_commit objects are not freed. The atomic_destroy_state callback only put the framebuffer. Use the __drm_atomic_helper_plane_destroy_state() function to put all the objects that are no longer needed. It has been seen after hours of usage of a graphics application or using kmemleak: unreferenced object 0xc63a6580 (size 64): comm "egt_basic", pid 171, jiffies 4294940784 hex dump (first 32 bytes): 40 50 34 c5 01 00 00 00 ff ff ff ff 8c 65 3a c6 @P4..........e:. 8c 65 3a c6 ff ff ff ff 98 65 3a c6 98 65 3a c6 .e:......e:..e:. backtrace (crc c25aa925): kmemleak_alloc+0x34/0x3c __kmalloc_cache_noprof+0x150/0x1a4 drm_atomic_helper_setup_commit+0x1e8/0x7bc drm_atomic_helper_commit+0x3c/0x15c drm_atomic_commit+0xc0/0xf4 drm_atomic_helper_set_config+0x84/0xb8 drm_mode_setcrtc+0x32c/0x810 drm_ioctl+0x20c/0x488 sys_ioctl+0x14c/0xc20 ret_fast_syscall+0x0/0x54
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 6d4e91ab97fda64e8cf9c8881cc3b4da026bd849, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 5718d98976ad6b9700e5a6afec67fc47a8a92580, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 57fa3487acfa3467405f8506b94682abd96e7393, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before ec40702029b08ee8d5f5b03303d64a10e74a957b, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 25e832a7830740e72103eb0b527680a4b64bbcb3, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 082271e364a3205598c2e4e6233a9f49ce7941cf, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before 3e64e78f4a70e3f6ac8fe5a7071f08ffd25a2489, from 2389fc1305fc1e2cf8b310a75463fefd3058bf48 before f12352471061df83a36edf54bbb16284793284e4 and 1 more Not affected: before 4.1, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.1 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callback After several commits, the slab memory increases. Some drm_crtc_commit objects are not freed. The atomic_destroy_state callback only put the framebuffer. Use the __drm_atomic_helper_plane_destroy_state() function to put all the objects that are no longer needed. It has been seen after hours of usage of a graphics application or using kmemleak: unreferenced object 0xc63a6580 (size 64): comm "egt_basic", pid 171, jiffies 4294940784 hex dump (first 32 bytes): 40 50 34 c5 01 00 00 00 ff ff ff ff 8c 65 3a c6 @P4..........e:. 8c 65 3a c6 ff ff ff ff 98 65 3a c6 98 65 3a c6 .e:......e:..e:. backtrace (crc c25aa925): kmemleak_alloc+0x34/0x3c __kmalloc_cache_noprof+0x150/0x1a4 drm_atomic_helper_setup_commit+0x1e8/0x7bc drm_atomic_helper_commit+0x3c/0x15c drm_atomic_commit+0xc0/0xf4 drm_atomic_helper_set_config+0x84/0xb8 drm_mode_setcrtc+0x32c/0x810 drm_ioctl+0x20c/0x488 sys_ioctl+0x14c/0xc20 ret_fast_syscall+0x0/0x54
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/atmel-hlcdc: corrige fuga de memoria del callback atomic_destroy_state Después de varios commits, la memoria slab aumenta. Algunos objetos drm_crtc_commit no son liberados. El callback atomic_destroy_state solo liberaba el framebuffer. Usar la función __drm_atomic_helper_plane_destroy_state() para liberar todos los objetos que ya no son necesarios. Se ha observado después de horas de uso de una aplicación gráfica o usando kmemleak: objeto sin referencia 0x c63a6580 (tamaño 64): comm ’egt_basic’, pid 171, jiffies 4294940784 volcado hexadecimal (primeros 32 bytes): 40 50 34 c5 01 00 00 00 ff ff ff ff 8c 65 3a c6 @P4..........e:. 8c 65 3a c6 ff ff ff ff 98 65 3a c6 98 65 3a c6 .e:......e:..e:. rastreo de pila (crc c25aa925): kmemleak_alloc+0x34/0x3c __kmalloc_cache_noprof+0x150/0x1a4 drm_atomic_helper_setup_commit+0x1e8/0x7bc drm_atomic_helper_commit+0x3c/0x15c drm_atomic_commit+0xc0/0xf4 drm_atomic_helper_set_config+0x84/0xb8 drm_mode_setcrtc+0x32c/0x810 drm_ioctl+0x20c/0x488 sys_ioctl+0x14c/0xc20 ret_fast_syscall+0x0/0x54
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43269 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43269 changed 2026-11-11 | Public domain |