{"id":"CVE-2022-48846","published":"2024-07-16T12:25:15Z","modified":"2026-05-11T18:48:16Z","title":"block: release rq qos structures for queue without disk","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: release rq qos structures for queue without disk\n\nblkcg_init_queue() may add rq qos structures to request queue, previously\nblk_cleanup_queue() calls rq_qos_exit() to release them, but commit\n8e141f9eb803 (\"block: drain file system I/O on del_gendisk\")\nmoves rq_qos_exit() into del_gendisk(), so memory leak is caused\nbecause queues may not have disk, such as un-present scsi luns, nvme\nadmin queue, ...\n\nFixes the issue by adding rq_qos_exit() to blk_cleanup_queue() back.\n\nBTW, v5.18 won't need this patch any more since we move\nblkcg_init_queue()/blkcg_exit_queue() into disk allocation/release\nhandler, and patches have been in for-5.18/block.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00221,"percentile":0.12963,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d4ad8736ac982111bb0be8306bf19c8207f6600e","tags":[]},{"url":"https://git.kernel.org/stable/c/60c2c8e2ef3a3ec79de8cbc80a06ca0c21df8c29","tags":[]},{"url":"https://git.kernel.org/stable/c/daaca3522a8e67c46e39ef09c1d542e866f85f3b","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.59}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8e141f9eb803e209714a80aa6ec073893f94c526, < d4ad8736ac982111bb0be8306bf19c8207f6600e",">= 8e141f9eb803e209714a80aa6ec073893f94c526, < 60c2c8e2ef3a3ec79de8cbc80a06ca0c21df8c29",">= 8e141f9eb803e209714a80aa6ec073893f94c526, < daaca3522a8e67c46e39ef09c1d542e866f85f3b"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:56:38.225290Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53725","exploited":false,"provenance":"source"}}