{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53111","id":"CVE-2023-53111","title":"loop: Fix use-after-free issues","description":"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\nha","descriptionLong":"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","published":"2025-05-02T15:55:51.029Z","updated":"2026-11-01T02:31:02.997673431Z","reserved":"2025-05-02T15:51:43.554Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","lessThan":"81bf9d78fa246a166619196ff5005430ed2bc7c2","status":"affected","versionType":"git"},{"version":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","lessThan":"407badf73ec9fb0d5744bf2ca1745c1818aa222f","status":"affected","versionType":"git"},{"version":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","lessThan":"e3fda704903f6d1fc351412f1bc6620333959ada","status":"affected","versionType":"git"},{"version":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","lessThan":"6917395c4667cfb607ed8bf1826205a59414657c","status":"affected","versionType":"git"},{"version":"bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6","lessThan":"9b0cb770f5d7b1ff40bea7ca385438ee94570eec","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","lessThan":"4.4","status":"unaffected","versionType":"semver"},{"version":"5.10.273","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.104","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.21","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.8","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/81bf9d78fa246a166619196ff5005430ed2bc7c2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/407badf73ec9fb0d5744bf2ca1745c1818aa222f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3fda704903f6d1fc351412f1bc6620333959ada","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6917395c4667cfb607ed8bf1826205a59414657c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9b0cb770f5d7b1ff40bea7ca385438ee94570eec","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53111.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53111","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00207,"epssPercentile":0.10864,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53111","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53111","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53111","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53111","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}