Linux Kernel up to 6.0.2 virtgpu_object.c virtio_gpu_object_shmem_init drm_gem_shmem_get_sg_table return value

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.
5.4$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel up to 6.0.2 and classified as problematic. This affects the function virtio_gpu_object_shmem_init of the file drivers/gpu/drm/virtio/virtgpu_object.c. Performing a manipulation of the argument drm_gem_shmem_get_sg_table results in return value. This vulnerability is known as CVE-2023-22998. No exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 6.0.2 (Operating System). This affects the function virtio_gpu_object_shmem_init of the file drivers/gpu/drm/virtio/virtgpu_object.c. The manipulation of the argument drm_gem_shmem_get_sg_table with an unknown input leads to a return value vulnerability. CWE is classifying the issue as CWE-252. The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. The impact remains unknown. The summary by CVE is:

In the Linux kernel before 6.0.3, drivers/gpu/drm/virtio/virtgpu_object.c misinterprets the drm_gem_shmem_get_sg_table return value (expects it to be NULL in the error case, whereas it is actually an error pointer).

The weakness was published 03/01/2023 as c24968734abfed81c8f93dc5f44a7b7a9aecadfa. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2023-22998 since 01/11/2023. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 236642 (Alibaba Cloud Linux 3 : 0042: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2023:0042)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.0.3 eliminates this vulnerability. The upgrade is hosted for download at cdn.kernel.org. Applying the patch c24968734abfed81c8f93dc5f44a7b7a9aecadfa is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (236642) and EUVD (EUVD-2023-27098). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
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: Return value
CWE: CWE-252 / CWE-253
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: 236642
Nessus Name: Alibaba Cloud Linux 3 : 0042: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2023:0042)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.0.3
Patch: c24968734abfed81c8f93dc5f44a7b7a9aecadfa

Timelineinfo

01/11/2023 🔍
03/01/2023 +49 days 🔍
03/01/2023 +0 days 🔍
10/06/2025 +950 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: c24968734abfed81c8f93dc5f44a7b7a9aecadfa
Status: Confirmed

CVE: CVE-2023-22998 (🔍)
GCVE (CVE): GCVE-0-2023-22998
GCVE (VulDB): GCVE-100-222015
EUVD: 🔍

Entryinfo

Created: 03/01/2023 07:04
Updated: 10/06/2025 04:09
Changes: 03/01/2023 07:04 (46), 03/26/2023 13:50 (10), 05/19/2025 19:15 (17), 10/06/2025 04:09 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!