{"id":"CVE-2023-53111","aliases":["CVE-2023-53111"],"related":[],"kind":"vulnerability","state":"published","title":"loop: Fix use-after-free issues","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nloop: Fix use-after-free issues\n\ndo_req_filebacked() calls blk_mq_complete_request() synchronously or\nasynchronously when using asynchronous I/O unless memory allocation fails.\nHence, modify loop_handle_cmd() such that it does not dereference 'cmd' nor\n'rq' after do_req_filebacked() finished unless we are sure that the request\nhas not yet been completed. This patch fixes the following kernel crash:\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000054\nCall trace:\n css_put.42938+0x1c/0x1ac\n loop_process_work+0xc8c/0xfd4\n loop_rootcg_workfn+0x24/0x34\n process_one_work+0x244/0x558\n worker_thread+0x400/0x8fc\n kthread+0x16c/0x1e0\n ret_from_fork+0x10/0x20","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nloop: Fix use-after-free issues\n\ndo_req_filebacked() calls blk_mq_complete_request() synchronously or\nasynchronously when using asynchronous I/O unless memory allocation fails.\nHence, modify loop_handle_cmd() such that it does not dereference 'cmd' nor\n'rq' after do_req_filebacked() finished unless we are sure that the request\nhas not yet been completed. This patch fixes the following kernel crash:\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000054\nCall trace:\n css_put.42938+0x1c/0x1ac\n loop_process_work+0xc8c/0xfd4\n loop_rootcg_workfn+0x24/0x34\n process_one_work+0x244/0x558\n worker_thread+0x400/0x8fc\n kthread+0x16c/0x1e0\n ret_from_fork+0x10/0x20","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: loop: Se corrigen los problemas de use after free. do_req_filebacked() llama a blk_mq_complete_request() de forma síncrona o asíncrona al usar E/S asíncrona, a menos que falle la asignación de memoria. Por lo tanto, se debe modificar loop_handle_cmd() para que no desreferencia «cmd» ni «rq» tras la finalización de do_req_filebacked(), a menos que estemos seguros de que la solicitud aún no se ha completado. Este parche corrige el siguiente fallo del kernel: No se puede manejar la desreferencia del puntero NULL del kernel en la dirección virtual 0000000000000054 Seguimiento de llamadas: css_put.42938+0x1c/0x1ac loop_process_work+0xc8c/0xfd4 loop_rootcg_workfn+0x24/0x34 process_one_work+0x244/0x558worker_thread+0x400/0x8fckthread+0x16c/0x1e0ret_from_fork+0x10/0x20","source":"nvd"}],"published":"2025-05-02T15:55:51.029Z","modified":"2026-10-30T13:17:17.340Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","fixed":"81bf9d78fa246a166619196ff5005430ed2bc7c2","status":"affected"},{"type":"git","introduced":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","fixed":"407badf73ec9fb0d5744bf2ca1745c1818aa222f","status":"affected"},{"type":"git","introduced":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","fixed":"e3fda704903f6d1fc351412f1bc6620333959ada","status":"affected"},{"type":"git","introduced":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","fixed":"6917395c4667cfb607ed8bf1826205a59414657c","status":"affected"},{"type":"git","introduced":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","fixed":"9b0cb770f5d7b1ff40bea7ca385438ee94570eec","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.4","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.104","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.21","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.8","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4","fixed":"5.15.104"},{"status":"affected","introduced":"5.16","fixed":"6.1.21"},{"status":"affected","introduced":"6.2","fixed":"6.2.8"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/81bf9d78fa246a166619196ff5005430ed2bc7c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/407badf73ec9fb0d5744bf2ca1745c1818aa222f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3fda704903f6d1fc351412f1bc6620333959ada","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6917395c4667cfb607ed8bf1826205a59414657c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b0cb770f5d7b1ff40bea7ca385438ee94570eec","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:33:59.619Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53111","url":"https://www.cve.org/CVERecord?id=CVE-2023-53111","licence":"CVE Terms of Use","modified":"2026-10-30T12:17:26.200Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53111","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53111","licence":"Public domain","modified":"2026-10-30T13:17:17.340Z"}],"updatedAt":"2026-11-25T22:58:34.675Z","epss":{"score":0.00211,"percentile":0.12104,"date":"2026-12-01T12:00:22.000Z"}}