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

Summary

CVECVE-2026-98404
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-14 14:17:51 UTC
Updated2026-10-19 10:18:45 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 975f3cf302bb7d7336df4c630a7c07e12780ad10 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 07de0b31dd64094cd7d25729beaf2ecae74daa72 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 5eda6cda0031ba17559d56882353be39e568ec09 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 3fe8a33715265ecb24ca0bcd0a575c926da4277c git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 974845d2535a250b180e62f9ed50284f312c01a3 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 45dc2788a5b0e1e2824d1f98af521bd3acc340d7 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa f1050a7d365283678b253828739d3866ae546a72 git Not specified
CNA Linux Linux affected dc5698e80cf724770283e10414054662bdf6ccfa 94579f24e2b526a04eb41050af0ba018c6f528e7 git Not specified
CNA Linux Linux affected 4.2 Not specified
CNA Linux Linux unaffected 4.2 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.111 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.53 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.7 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/07de0b31dd64094cd7d25729beaf2ecae74daa72 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3fe8a33715265ecb24ca0bcd0a575c926da4277c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/94579f24e2b526a04eb41050af0ba018c6f528e7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f1050a7d365283678b253828739d3866ae546a72 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/974845d2535a250b180e62f9ed50284f312c01a3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/45dc2788a5b0e1e2824d1f98af521bd3acc340d7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5eda6cda0031ba17559d56882353be39e568ec09 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/975f3cf302bb7d7336df4c630a7c07e12780ad10 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report