Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7c2af0f634f1bc761ca827310dc7e8e586af502f before 7d3f15a664d115584fc177b5f2cfbdb3e5a50d60; affected 7c2af0f634f1bc761ca827310dc7e8e586af502f before e5e11274b5512e24a346ed83f8dd85e3389d2f4b; affected 7c2af0f634f1bc761ca827310dc7e8e586af502f before be98f92fc244688a6bdecbc834cf2cd243056d9d; affected 7c2af0f634f1bc761ca827310dc7e8e586af502f before d73441232f1f067eb659e94447b1353c16609711; affected 7c2af0f634f1bc761ca827310dc7e8e586af502f before 2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5 |
| Linux / Linux | affected 6.2; unaffected 0 before 6.2; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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