CVE-2026-98404

Source
https://cve.org/CVERecord?id=CVE-2026-98404
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98404.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98404
Downstream
Published
2026-10-14T13:26:03Z
Modified
2026-10-15T02:47:42Z
Summary
drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()

Smatch complains that returning a NULL here will lead to a NULL pointer dereference in drm_mode_addfb2(). Return an error pointer instead.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98404.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dc5698e80cf724770283e10414054662bdf6ccfa
Fixed
975f3cf302bb7d7336df4c630a7c07e12780ad10
Fixed
07de0b31dd64094cd7d25729beaf2ecae74daa72
Fixed
5eda6cda0031ba17559d56882353be39e568ec09
Fixed
3fe8a33715265ecb24ca0bcd0a575c926da4277c
Fixed
974845d2535a250b180e62f9ed50284f312c01a3
Fixed
45dc2788a5b0e1e2824d1f98af521bd3acc340d7
Fixed
f1050a7d365283678b253828739d3866ae546a72
Fixed
94579f24e2b526a04eb41050af0ba018c6f528e7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98404.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
5.10.271
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.222
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98404.json"