CVE-2024-38548

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38548
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38548.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38548
Downstream
Related
Published
2024-06-19T14:15:15Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference

In cdnsmhdpatomicenable(), the return value of drmmodeduplicate() is assigned to mhdpstate->currentmode, and there is a dereference of it in drmmodesetname(), which will lead to a NULL pointer dereference on failure of drmmodeduplicate().

Fix this bug add a check of mhdpstate->currentmode.

References

Affected packages