QEMU up to 8.0.4 hw/nvme/ctrl.c nvme_directive_receive null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 209569
Nessus Name: Oracle Linux 8 : virt:kvm_utils1 (ELSA-2024-12791)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 6c8f8456cb0b239812dee5211881426496da7b98

Timelineinfo

08/14/2023 🔍
08/14/2023 +0 days 🔍
08/14/2023 +0 days 🔍
01/28/2026 +897 days 🔍

Sourcesinfo

Product: qemu.org

Advisory: 1815
Status: Confirmed

CVE: CVE-2023-40360 (🔍)
GCVE (CVE): GCVE-0-2023-40360
GCVE (VulDB): GCVE-100-237112
EUVD: 🔍

Entryinfo

Created: 08/14/2023 22:00
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!