In the Linux kernel, the following vulnerability has been resolved:
drm: vc4: Fix possible null pointer dereference
In vc4hdmiaudioinit() ofget_address() may return NULL which is later dereferenced. Fix this bug by adding NULL check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38546.json"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-38546-0b226203",
"target": {
"file": "drivers/gpu/drm/vc4/vc4_hdmi.c",
"function": "vc4_hdmi_audio_init"
},
"digest": {
"length": 2145.0,
"function_hash": "159814085090786788758000902414820213948"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d9adecc88ab678785b581ab021f039372c324cb"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-38546-da023a3c",
"target": {
"file": "drivers/gpu/drm/vc4/vc4_hdmi.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"278242197657388012977802252355729142070",
"332850182528689739185474549806436992963",
"32915167081680519117476549085455952696",
"94231230757468813947171291173408222331"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d9adecc88ab678785b581ab021f039372c324cb"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38546.json"