CVE-2024-38548

In the Linux kernel, the following vulnerability has been resolved: drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference In cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is assigned to mhdp_state->current_mode, and there is a dereference of it in drm_mode_set_name(), which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Fix this bug add a check of mhdp_state->current_mode.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

01 Apr 2025, 18:36

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da - () https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da - Patch
References () https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79 - () https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79 - Patch
References () https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3 - () https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3 - Patch
References () https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896 - () https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896 - Patch
References () https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a - () https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a - Patch
References () https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965 - () https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965 - Patch
References () https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840 - () https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

21 Nov 2024, 09:26

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da - () https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da -
References () https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79 - () https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79 -
References () https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3 - () https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3 -
References () https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896 - () https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896 -
References () https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a - () https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a -
References () https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965 - () https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965 -
References () https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840 - () https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840 -

07 Nov 2024, 17:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

03 Jul 2024, 02:05

Type Values Removed Values Added
CWE CWE-476

20 Jun 2024, 12:44

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm: bridge: cdns-mhdp8546: corrige posible desreferencia del puntero nulo En cdns_mhdp_atomic_enable(), el valor de retorno de drm_mode_duplicate() se asigna a mhdp_state->current_mode, y hay una desreferencia de él en drm_mode_set_name(), lo que conducirá a una desreferencia del puntero NULL en caso de falla de drm_mode_duplicate(). Solucione este error y agregue una verificación de mhdp_state->current_mode.

19 Jun 2024, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-19 14:15

Updated : 2025-04-01 18:36


NVD link : CVE-2024-38548

Mitre link : CVE-2024-38548

CVE.ORG link : CVE-2024-38548


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference