CVE-2023-54227
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
30/12/2025
Última modificación:
30/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
blk-mq: fix tags leak when shrink nr_hw_queues<br />
<br />
Although we don&#39;t need to realloc set->tags[] when shrink nr_hw_queues,<br />
we need to free them. Or these tags will be leaked.<br />
<br />
How to reproduce:<br />
1. mount -t configfs configfs /mnt<br />
2. modprobe null_blk nr_devices=0 submit_queues=8<br />
3. mkdir /mnt/nullb/nullb0<br />
4. echo 1 > /mnt/nullb/nullb0/power<br />
5. echo 4 > /mnt/nullb/nullb0/submit_queues<br />
6. rmdir /mnt/nullb/nullb0<br />
<br />
In step 4, will alloc 9 tags (8 submit queues and 1 poll queue), then<br />
in step 5, new_nr_hw_queues = 5 (4 submit queues and 1 poll queue).<br />
At last in step 6, only these 5 tags are freed, the other 4 tags leaked.



