{"id":"CVE-2024-38548","summary":"drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: bridge: cdns-mhdp8546: Fix possible null pointer dereference\n\nIn cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is\nassigned to mhdp_state-\u003ecurrent_mode, and there is a dereference of it in\ndrm_mode_set_name(), which will lead to a NULL pointer dereference on\nfailure of drm_mode_duplicate().\n\nFix this bug add a check of mhdp_state-\u003ecurrent_mode.","modified":"2026-04-02T12:16:46.923514Z","published":"2024-06-19T13:35:21.349Z","related":["MGASA-2024-0263","MGASA-2024-0266","SUSE-SU-2024:2372-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38548.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896"},{"type":"WEB","url":"https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38548.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38548"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b"},{"fixed":"85d1a27402f81f2e04b0e67d20f749c2a14edbb3"},{"fixed":"89788cd9824c28ffcdea40232c458233353d1896"},{"fixed":"ca53b7efd4ba6ae92fd2b3085cb099c745e96965"},{"fixed":"dcf53e6103b26e7458be71491d0641f49fbd5840"},{"fixed":"32fb2ef124c3301656ac6c789a2ef35ef69a66da"},{"fixed":"47889711da20be9b43e1e136e5cb68df37cbcc79"},{"fixed":"935a92a1c400285545198ca2800a4c6c519c650a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38548.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}