Skip to main content
← All vulnerabilities
CVE-2026-90297

drm/sun4i: crtc: Propagate layer initialization error

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: crtc: Propagate layer initialization error sun4i_crtc_init() returns plain NULL when layer initialization fails, while all its other error paths return an error pointer. The only caller, sun4i_tcon_bind(), checks the result with IS_ERR() and happily continues with tcon->crtc set to NULL. sun4i_rgb_init() and sun4i_lvds_init() then dereference it in drm_crtc_mask(), which oopses. Return the error pointer instead.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in aaf812960fb5ade24be7a1d8fea27a1ffc458c30; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in e216d6168f25a69e5ae5b981ee73b3a860a46441; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in 2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in 1882112124a642de7571fbf354fa1929decbb3ef; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in 8f32af44d43332c02198752e596df00659bf4354; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in 65bc02fec98e4e1d7d59d86cf2ddf8fd73dacb89; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in c0d3219ffd4c0d42295e0dc949856067b7818b71; From dcd215801b0279f0a021516526cf7c0b67d5302e · fixed in 7061ff05ed4a3cf16e83f7e3ad09cbd212508a32

  • Linux Linux

    4.12

  • KernelLinux

    From 4.12.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6

References 8

git.kernel.org