{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38548","id":"CVE-2024-38548","title":"drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference","description":"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->current_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","descriptionLong":"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->current_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->current_mode.","published":"2024-06-19T13:35:21.349Z","updated":"2026-10-28T02:30:25.294327972Z","reserved":"2024-06-18T19:36:34.920Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"85d1a27402f81f2e04b0e67d20f749c2a14edbb3","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"89788cd9824c28ffcdea40232c458233353d1896","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"ca53b7efd4ba6ae92fd2b3085cb099c745e96965","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"dcf53e6103b26e7458be71491d0641f49fbd5840","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"32fb2ef124c3301656ac6c789a2ef35ef69a66da","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"47889711da20be9b43e1e136e5cb68df37cbcc79","status":"affected","versionType":"git"},{"version":"fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b","lessThan":"935a92a1c400285545198ca2800a4c6c519c650a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.219","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.161","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.93","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/85d1a27402f81f2e04b0e67d20f749c2a14edbb3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/89788cd9824c28ffcdea40232c458233353d1896","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ca53b7efd4ba6ae92fd2b3085cb099c745e96965","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/dcf53e6103b26e7458be71491d0641f49fbd5840","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/32fb2ef124c3301656ac6c789a2ef35ef69a66da","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/47889711da20be9b43e1e136e5cb68df37cbcc79","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/935a92a1c400285545198ca2800a4c6c519c650a","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38548.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38548","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0025,"epssPercentile":0.16564,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38548","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38548","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38548","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38548","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}