In the Linux kernel before 5.16.3, drivers/scsi/ufs/ufs-mediatek.c misinterprets the regulator_get return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23001.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/3ba880a12df5aa4488c18281701b5b1bc3d4531a",
"digest": {
"line_hashes": [
"293302899455581556819046070311881773461",
"290998973069539972468137669245217766433",
"227002674478112892628494722745422580974",
"120493281982096866417474491951646658057"
],
"threshold": 0.9
},
"id": "CVE-2023-23001-120473e0",
"deprecated": false,
"target": {
"file": "drivers/scsi/ufs/ufs-mediatek.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/3ba880a12df5aa4488c18281701b5b1bc3d4531a",
"digest": {
"function_hash": "63290014736373337471911867535776452089",
"length": 257.0
},
"id": "CVE-2023-23001-e2f674af",
"deprecated": false,
"target": {
"file": "drivers/scsi/ufs/ufs-mediatek.c",
"function": "ufs_mtk_init_va09_pwr_ctrl"
}
}
]