CVE-2023-22998 Null dereference in n/a

Medium 5.5 Published Updated

A flaw in the Linux kernel's virtio GPU driver mishandles error pointers, potentially causing a null dereference and system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-22998?

CVE-2023-22998 is a medium-severity vulnerability in Linux kernel, published on 28 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Weakness: CWE-436

Which versions are affected by CVE-2023-22998?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-22998?

Apply the vendor's patch.

Is CVE-2023-22998 being exploited?

There is no known exploitation of CVE-2023-22998 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-13774, DEBIAN-CVE-2023-22998, GHSA-3mg2-w983-r26q, OESA-2023-1323, OESA-2023-1324, UBUNTU-CVE-2023-22998.

Is CVE-2023-22998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free