CVE-2026-98404

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

State
Published
Severity
Not scored
Published
Oct 14, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 975f3cf302bb7d7336df4c630a7c07e12780ad10Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 07de0b31dd64094cd7d25729beaf2ecae74daa72Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 5eda6cda0031ba17559d56882353be39e568ec09Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 3fe8a33715265ecb24ca0bcd0a575c926da4277cAffected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 974845d2535a250b180e62f9ed50284f312c01a3Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 45dc2788a5b0e1e2824d1f98af521bd3acc340d7Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before f1050a7d365283678b253828739d3866ae546a72Affected
  • dc5698e80cf724770283e10414054662bdf6ccfa to before 94579f24e2b526a04eb41050af0ba018c6f528e7Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.