QEMU up to 8.0.4 hw/nvme/ctrl.c nvme_directive_receive null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in QEMU up to 8.0.4. The impacted element is the function nvme_directive_receive of the file hw/nvme/ctrl.c. Executing a manipulation can lead to null pointer dereference.
This vulnerability is tracked as CVE-2023-40360. No exploit exists.
Applying a patch is advised to resolve this issue.
Details
A vulnerability was found in QEMU up to 8.0.4 (Virtualization Software). It has been declared as problematic. This vulnerability affects the function nvme_directive_receive of the file hw/nvme/ctrl.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. CVE summarizes:
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.
The weakness was disclosed 08/14/2023 as 1815. The advisory is shared for download at gitlab.com. This vulnerability was named CVE-2023-40360 since 08/14/2023. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 209569 (Oracle Linux 8 : virt:kvm_utils1 (ELSA-2024-12791)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 6c8f8456cb0b239812dee5211881426496da7b98 is able to eliminate this problem. The bugfix is ready for download at gitlab.com.
The vulnerability is also documented in the databases at Tenable (209569) and EUVD (EUVD-2023-44931). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
Website
- Product: https://www.qemu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.5VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 209569
Nessus Name: Oracle Linux 8 : virt:kvm_utils1 (ELSA-2024-12791)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 6c8f8456cb0b239812dee5211881426496da7b98
Timeline
08/14/2023 🔍08/14/2023 🔍
08/14/2023 🔍
01/28/2026 🔍
Sources
Product: qemu.orgAdvisory: 1815
Status: Confirmed
CVE: CVE-2023-40360 (🔍)
GCVE (CVE): GCVE-0-2023-40360
GCVE (VulDB): GCVE-100-237112
EUVD: 🔍
Entry
Created: 08/14/2023 22:00Updated: 01/28/2026 00:06
Changes: 08/14/2023 22:00 (43), 09/09/2023 08:29 (11), 10/26/2024 22:38 (17), 01/28/2026 00:06 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.