{"id":"CVE-2023-54227","published":"2025-12-30T12:11:20Z","modified":"2026-10-15T21:41:42Z","title":"blk-mq: fix tags leak when shrink nr_hw_queues","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix tags leak when shrink nr_hw_queues\n\nAlthough we don't need to realloc set->tags[] when shrink nr_hw_queues,\nwe need to free them. Or these tags will be leaked.\n\nHow to reproduce:\n1. mount -t configfs configfs /mnt\n2. modprobe null_blk nr_devices=0 submit_queues=8\n3. mkdir /mnt/nullb/nullb0\n4. echo 1 > /mnt/nullb/nullb0/power\n5. echo 4 > /mnt/nullb/nullb0/submit_queues\n6. rmdir /mnt/nullb/nullb0\n\nIn step 4, will alloc 9 tags (8 submit queues and 1 poll queue), then\nin step 5, new_nr_hw_queues = 5 (4 submit queues and 1 poll queue).\nAt last in step 6, only these 5 tags are freed, the other 4 tags leaked.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00754,"percentile":0.51291,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/26d495f0f64d8cd4fcd29206ee5c653ee0e0cbcd","tags":[]},{"url":"https://git.kernel.org/stable/c/c0ef7493e68b8896806a2f598fcffbaa97333405","tags":[]},{"url":"https://git.kernel.org/stable/c/e1dd7bc93029024af5688253b0c05181d6e01f8e","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.26},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a846a8e6c9a5949582c5a6a8bbc83a7d27fd891e, < 26d495f0f64d8cd4fcd29206ee5c653ee0e0cbcd",">= a846a8e6c9a5949582c5a6a8bbc83a7d27fd891e, < c0ef7493e68b8896806a2f598fcffbaa97333405",">= a846a8e6c9a5949582c5a6a8bbc83a7d27fd891e, < e1dd7bc93029024af5688253b0c05181d6e01f8e"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-15T21:39:33.828518Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-60414","exploited":false,"provenance":"source"}}