Name | CVE-2023-40360 |
Description | QEMU through 8.0.4 accesses a NULL pointer in nvme_directive_receive 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1050140 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
qemu (PTS) | jessie, jessie (lts) | 1:2.1+dfsg-12+deb8u23 | vulnerable |
| stretch (security) | 1:2.8+dfsg-6+deb9u17 | fixed |
| stretch (lts), stretch | 1:2.8+dfsg-6+deb9u19 | fixed |
| buster (security), buster, buster (lts) | 1:3.1+dfsg-8+deb10u12 | fixed |
| bullseye | 1:5.2+dfsg-11+deb11u3 | fixed |
| bullseye (security) | 1:5.2+dfsg-11+deb11u2 | fixed |
| bookworm | 1:7.2+dfsg-7+deb12u7 | fixed |
| sid, trixie | 1:9.1.1+ds-5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
qemu | source | jessie | (unfixed) | end-of-life | | |
qemu | source | stretch | (not affected) | | | |
qemu | source | buster | (not affected) | | | |
qemu | source | bullseye | (not affected) | | | |
qemu | source | bookworm | (not affected) | | | |
qemu | source | (unstable) | 1:8.0.4+dfsg-2 | | | 1050140 |
Notes
[bookworm] - qemu <not-affected> (Vulnerable code intoduced later)
[bullseye] - qemu <not-affected> (Vulnerable code intoduced later)
[buster] - qemu <not-affected> (Vulnerable code intoduced later)
https://gitlab.com/qemu-project/qemu/-/issues/1815
Introduced by: https://gitlab.com/qemu-project/qemu/-/commit/73064edfb864743cde2c08f319609344af02aeb3 (v8.0.0-rc0)
Fixed by: https://gitlab.com/qemu-project/qemu/-/commit/6c8f8456cb0b239812dee5211881426496da7b98 (v8.1.0-rc3)
[stretch] - qemu <not-affected> (The vulnerable code was introduced later)