drm/sun4i: crtc: Propagate layer initialization error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e216d6168f25a69e5ae5b981ee73b3a860a46441, Kernel 1882112124a642de7571fbf354fa1929decbb3ef, Kernel 2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=dcd215801b0279f0a021516526cf7c0b67d5302e <e216d6168f25a69e5ae5b981ee73b3a860a46441, >=dcd215801b0279f0a021516526cf7c0b67d5302e <1882112124a642de7571fbf354fa1929decbb3ef, >=dcd215801b0279f0a021516526cf7c0b67d5302e <2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829, >=dcd215801b0279f0a021516526cf7c0b67d5302e <65bc02fec98e4e1d7d59d86cf2ddf8fd73dacb89, >=dcd215801b0279f0a021516526cf7c0b67d5302e <7061ff05ed4a3cf16e83f7e3ad09cbd212508a32, >=dcd215801b0279f0a021516526cf7c0b67d5302e <8f32af44d43332c02198752e596df00659bf4354, >=dcd215801b0279f0a021516526cf7c0b67d5302e <aaf812960fb5ade24be7a1d8fea27a1ffc458c30, >=dcd215801b0279f0a021516526cf7c0b67d5302e <c0d3219ffd4c0d42295e0dc949856067b7818b71, =4.12 | e216d6168f25a69e5ae5b981ee73b3a860a46441, 1882112124a642de7571fbf354fa1929decbb3ef, 2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829, 65bc02fec98e4e1d7d59d86cf2ddf8fd73dacb89, 7061ff05ed4a3cf16e83f7e3ad09cbd212508a32, 8f32af44d43332c02198752e596df00659bf4354, aaf812960fb5ade24be7a1d8fea27a1ffc458c30, c0d3219ffd4c0d42295e0dc949856067b7818b71 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=4.12.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket