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 | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB 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: 🔍
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: Return valueCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236642
Nessus Name: Alibaba Cloud Linux 3 : 0042: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2023:0042)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 6.0.3
Patch: c24968734abfed81c8f93dc5f44a7b7a9aecadfa
Timeline
01/11/2023 🔍03/01/2023 🔍
03/01/2023 🔍
10/06/2025 🔍
Sources
Vendor: kernel.orgAdvisory: c24968734abfed81c8f93dc5f44a7b7a9aecadfa
Status: Confirmed
CVE: CVE-2023-22998 (🔍)
GCVE (CVE): GCVE-0-2023-22998
GCVE (VulDB): GCVE-100-222015
EUVD: 🔍
Entry
Created: 03/01/2023 07:04Updated: 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.
No comments yet. Languages: en.
Please log in to comment.