QEMU through 8.0.4 accesses a NULL pointer in nvmedirectivereceive in hw/nvme/ctrl.c because there is no check for whether an endurance group is configured before checking whether Flexible Data Placement is enabled.
{
"versions": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.0.4"
}
]
}"2026-04-12T14:04:25Z"
[
{
"id": "CVE-2023-40360-85d5a177",
"target": {
"file": "hw/nvme/ctrl.c",
"function": "nvme_directive_receive"
},
"deprecated": false,
"digest": {
"function_hash": "295632142730205161515095297637377051978",
"length": 1171.0
},
"signature_type": "Function",
"source": "https://gitlab.com/birkelund/qemu@6c8f8456cb0b239812dee5211881426496da7b98",
"signature_version": "v1"
},
{
"id": "CVE-2023-40360-a19d1703",
"target": {
"file": "hw/nvme/ctrl.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"251458430032021654505478419262050803195",
"162858435548635002649761167407188982650",
"82758090247538725119058018776023296250",
"41036324404821313456236870834626433551"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://gitlab.com/birkelund/qemu@6c8f8456cb0b239812dee5211881426496da7b98",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40360.json"