Description
In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: backend: fix error pointer dereference The function drm_atomic_get_plane_state() can return an error pointer and is not checked for it. Add error pointer check. Detected by Smatch: drivers/gpu/drm/sun4i/sun4i_backend.c:496 sun4i_backend_atomic_check() error: 'plane_state' dereferencing possible ERR_PTR()
Affected products
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – ea51fd96aca01381e8f1ac0c671a57b7619193bb
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – cf615b90a11a39a28e313be5e508e94bcde72016
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – 779c2f10743fc021f2f0ebe2b188cadfb973c5e4
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – 47038159c559824f4dbfb5b0d87b9b3416663372
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – e9bef62f1bb9fcb38223730657af20f4c6283c16
- Linux / Linux96180dde23b799272ab2e7d47210c8840799d0d2 – 06277983eca4a31d3c2114fa33d99a6e82484b11
- Linux / Linux4.17 – 4.17
- Linux / Linux0 – 4.17
- Linux / Linux6.1.175 – 6.1.*
- Linux / Linux6.6.141 – 6.6.*
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/ea51fd96aca01381e8f1ac0c671a57b7619193bb
- MISChttps://git.kernel.org/stable/c/cf615b90a11a39a28e313be5e508e94bcde72016
- MISChttps://git.kernel.org/stable/c/779c2f10743fc021f2f0ebe2b188cadfb973c5e4
- MISChttps://git.kernel.org/stable/c/47038159c559824f4dbfb5b0d87b9b3416663372
- MISChttps://git.kernel.org/stable/c/e9bef62f1bb9fcb38223730657af20f4c6283c16
- MISChttps://git.kernel.org/stable/c/06277983eca4a31d3c2114fa33d99a6e82484b11