CVE-2024-43894
JSON

5.5medium

drm/client: fix null pointer dereference in drm_client_modeset_probe

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/client: fix null pointer dereference in drm_client_modeset_probe In drm_client_modeset_probe(), the return value of drm_mode_duplicate() is assigned to modeset->mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 24ddda932c43ffe156c7f3c568bed85131c63ae6, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 5291d4f73452c91e8a11f71207617e3e234d418e, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before c763dfe09425152b6bb0e348900a637c62c2ce52, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before d64847c383100423aecb6ac5f18be5f4316d9d62, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before d64fc94f7bb24fc2be0d6bd5df8df926da461a6d, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 612cae53e99ce32a58cb821b3b67199eb6e92dff, from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 113fd6372a5bb3689aba8ef5b8a265ed1529a78f, 5.3
Not affected: before 5.3, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.105 up to 6.1.*, from 6.6.46 up to 6.6.*
CVE List
linux linux_kernelfrom 5.3 before 5.4.282, from 5.5 before 5.10.224, from 5.11 before 5.15.165, from 5.16 before 6.1.105, from 6.2 before 6.6.46, from 6.7 before 6.10.5, 6.11NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/client: fix null pointer dereference in drm_client_modeset_probe In drm_client_modeset_probe(), the return value of drm_mode_duplicate() is assigned to modeset->mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/client: corrige la desreferencia del puntero nulo en drm_client_modeset_probe En drm_client_modeset_probe(), el valor de retorno de drm_mode_duplicate() se asigna a modeset->mode, lo que conducirá a un posible puntero NULL desreferencia en caso de falla de drm_mode_duplicate(). Agregue una marca para evitar npd.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-43894 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-43894 changed 2026-06-17Public domain