Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: auxdisplay: charlcd: cancel backlight work on registration failure With CONFIG_CHARLCD_BL_FLASH, charlcd_init() schedules bl_work before charlcd_register() calls misc_register(). If registration fails, the caller frees the charlcd object while delayed work still contains its address. Add charlcd_deinit() to cancel the delayed work and turn the backlight off. Use it for both registration rollback and normal unregistration.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 39f8ea46724efbed3ca021863a22337c31be264c before cd97b3c68fe3c06c8067cc59d7dff976c5b7ea04; affected 39f8ea46724efbed3ca021863a22337c31be264c before 22586432c1aba89d9bd33f3173408dac830f220b; affected 39f8ea46724efbed3ca021863a22337c31be264c before 6eaed64a32e550daf0dc9549742b3ab9e41d984f; affected 39f8ea46724efbed3ca021863a22337c31be264c before fe7ba73dde94c5f413b1588cd444b49105015dda; affected 39f8ea46724efbed3ca021863a22337c31be264c before 84858671842ae5857b9ed1202b62f9045373dcd1; affected 39f8ea46724efbed3ca021863a22337c31be264c before ff2fb3c1e60cb247ea3e28c0ea0bea81c18f7755; affected 39f8ea46724efbed3ca021863a22337c31be264c before e3e3bf40916c1e810df03958cfa7ba6883cdce79 |
| Linux / Linux | affected 4.12; unaffected 0 before 4.12; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cd97b3c68fe3c06c8067cc59d7dff976c5b7ea04
- https://git.kernel.org/stable/c/22586432c1aba89d9bd33f3173408dac830f220b
- https://git.kernel.org/stable/c/6eaed64a32e550daf0dc9549742b3ab9e41d984f
- https://git.kernel.org/stable/c/fe7ba73dde94c5f413b1588cd444b49105015dda
- https://git.kernel.org/stable/c/84858671842ae5857b9ed1202b62f9045373dcd1
- https://git.kernel.org/stable/c/ff2fb3c1e60cb247ea3e28c0ea0bea81c18f7755
- https://git.kernel.org/stable/c/e3e3bf40916c1e810df03958cfa7ba6883cdce79