Description
In the Linux kernel, the following vulnerability has been resolved: m68k: nfcon: Do not call console_is_registered() in nfcon_device() Since 7c2af0f634f1 ("tty: tty_io: use console_list_lock for list synchronization") show_cons_active() calls the .device() method under the console_list_lock, but console_is_registered() tries to acquire console_list_lock as well, causing a deadlock. It should not be necessary to check console_is_registered() here since the function should not be called in the fist place when the console is not registered.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7c2af0f634f1bc761ca827310dc7e8e586af502f to < 7d3f15a664d115584fc177b5f2cfbdb3e5a50d60affected7c2af0f634f1bc761ca827310dc7e8e586af502f to < e5e11274b5512e24a346ed83f8dd85e3389d2f4baffected7c2af0f634f1bc761ca827310dc7e8e586af502f to < be98f92fc244688a6bdecbc834cf2cd243056d9daffected7c2af0f634f1bc761ca827310dc7e8e586af502f to < d73441232f1f067eb659e94447b1353c16609711affected7c2af0f634f1bc761ca827310dc7e8e586af502f to < 2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7d3f15a664d115584fc177b5f2cfbdb3e5a50d60 ↗
- https://git.kernel.org/stable/c/e5e11274b5512e24a346ed83f8dd85e3389d2f4b ↗
- https://git.kernel.org/stable/c/be98f92fc244688a6bdecbc834cf2cd243056d9d ↗
- https://git.kernel.org/stable/c/d73441232f1f067eb659e94447b1353c16609711 ↗
- https://git.kernel.org/stable/c/2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5 ↗