CVE-2023-53848
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
09/12/2025
Última modificación:
09/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
md/raid5-cache: fix a deadlock in r5l_exit_log()<br />
<br />
Commit b13015af94cf ("md/raid5-cache: Clear conf->log after finishing<br />
work") introduce a new problem:<br />
<br />
// caller hold reconfig_mutex<br />
r5l_exit_log<br />
flush_work(&log->disable_writeback_work)<br />
r5c_disable_writeback_async<br />
wait_event<br />
/*<br />
* conf->log is not NULL, and mddev_trylock()<br />
* will fail, wait_event() can never pass.<br />
*/<br />
conf->log = NULL<br />
<br />
Fix this problem by setting &#39;config->log&#39; to NULL before wake_up() as it<br />
used to be, so that wait_event() from r5c_disable_writeback_async() can<br />
exist. In the meantime, move forward md_unregister_thread() so that<br />
null-ptr-deref this commit fixed can still be fixed.



