Skip to content
Fencer Vulns
medium 5.5

CVE-2023-22998 json

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 (expect…

published 2023-02-28 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-27098

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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).

Patch / fix

  • linux linux_kernel 6.0.3
  • linux Debian 14, Debian 13, Debian 12 6.0.3-1

debian advisories DEBIAN-CVE-2023-22998

  • linux Ubuntu 22.04 LTS 5.15.0-60.66
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1030.34
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1029.36
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1027.32
  • linux-ibm Ubuntu 22.04 LTS 5.15.0-1025.28
  • linux-kvm Ubuntu 22.04 LTS 5.15.0-1028.33
  • linux-azure Ubuntu 22.04 LTS 5.15.0-1033.40
  • linux-gkeop Ubuntu 22.04 LTS 5.15.0-1015.19

ubuntu advisories UBUNTU-CVE-2023-22998

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-284.11.1.el9_2
  • perf RHEL 9 5.14.0-284.11.1.el9_2
  • rtla RHEL 9 5.14.0-284.11.1.el9_2
  • bpftool RHEL 9 7.0.0-284.11.1.el9_2
  • kernel-64k RHEL 9 5.14.0-284.11.1.el9_2
  • kernel-core RHEL 9 5.14.0-284.11.1.el9_2
  • kernel-tools RHEL 9 5.14.0-284.11.1.el9_2
  • python3-perf RHEL 9 5.14.0-284.11.1.el9_2

red hat advisories RHSA-2023:2458RHSA-2023:2148RHSA-2023:2736RHSA-2023:2951

  • dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +3 more 5.14.21-150500.55.7.1
  • kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.7.1
  • kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1

suse advisories SUSE-SU-2023:2871-1SUSE-SU-2023:2809-1SUSE-SU-2023:2646-1SUSE-SU-2023:1710-1SUSE-SU-2023:1609-1SUSE-SU-2023:1608-1

  • kernel CBL-Mariner 2.0 5.15.102.1-1

azure linux advisories AZL-13774

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-22998 updated cvss 5.5

kernel: drm/virtio: improper return value check in virtio_gpu_object_shmem_init()

  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.11.1.el9_2, rtla 5.14.0-284.11.1.el9_2, kernel-devel-matched 5.14.0-284.11.1.el9_2, kernel-64k-devel-matched 5.14.0-284.11.1.el9_2, kernel-debug-devel-matched 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, +5 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.10.1.el8_8, kernel 4.18.0-477.10.1.el8_8, bpftool 4.18.0-477.10.1.el8_8, kernel-core 4.18.0-477.10.1.el8_8, kernel-tools 4.18.0-477.10.1.el8_8, python3-perf 4.18.0-477.10.1.el8_8, +15 more
    fixed: vendor fix RHSA-2023:2951
  • Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.11.1.el9_2, kernel 5.14.0-284.11.1.el9_2, kernel-64k 5.14.0-284.11.1.el9_2, kernel-core 5.14.0-284.11.1.el9_2, kernel-tools 5.14.0-284.11.1.el9_2, python3-perf 5.14.0-284.11.1.el9_2, +28 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.10.1.el8_8
    fixed: vendor fix RHSA-2023:2951
  • Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.11.1.el9_2
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, +4 more
    fixed: vendor fix RHSA-2023:2736
  • Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, +6 more
    fixed: vendor fix RHSA-2023:2148
  • Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules-extra 4.18.0-477.10.1.rt7.274.el8_8, +2 more
    fixed: vendor fix RHSA-2023:2736
show 2 more
  • Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-modules 5.14.0-284.11.1.rt14.296.el9_2, +4 more
    fixed: vendor fix RHSA-2023:2148
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.