In the Linux kernel before 5.19, drivers/gpu/drm/arm/malidpplanes.c misinterprets the getsg_table return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-23004.json"
[
{
"digest": {
"line_hashes": [
"113523359119731216184099154056304978263",
"297003873242485804176969805229173452494",
"103072410936929020624353579426589375210",
"208541870599473571946350673688963838876"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/arm/malidp_planes.c"
},
"signature_type": "Line",
"id": "CVE-2023-23004-457ab022",
"source": "https://github.com/torvalds/linux/commit/15342f930ebebcfe36f2415049736a77d7d2e045",
"deprecated": false
},
{
"digest": {
"function_hash": "8251700933148633618421835535502122143",
"length": 568.0
},
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/arm/malidp_planes.c",
"function": "malidp_check_pages_threshold"
},
"signature_type": "Function",
"id": "CVE-2023-23004-7678ea54",
"source": "https://github.com/torvalds/linux/commit/15342f930ebebcfe36f2415049736a77d7d2e045",
"deprecated": false
}
]