{"id":"CVE-2023-52837","summary":"nbd: fix uaf in nbd_open","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnbd: fix uaf in nbd_open\n\nCommit 4af5f2e03013 (\"nbd: use blk_mq_alloc_disk and\nblk_cleanup_disk\") cleans up disk by blk_cleanup_disk() and it won't set\ndisk-\u003eprivate_data as NULL as before. UAF may be triggered in nbd_open()\nif someone tries to open nbd device right after nbd_put() since nbd has\nbeen free in nbd_dev_remove().\n\nFix this by implementing -\u003efree_disk and free private data in it.","modified":"2026-04-02T09:43:22.561760Z","published":"2024-05-21T15:31:37.859Z","related":["SUSE-SU-2024:2372-1","SUSE-SU-2024:2385-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2495-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52837.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52837.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52837"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4af5f2e0301311f88c420fcfc5f3c8611ade20ac"},{"fixed":"4e9b3ec84dc97909876641dad14e0a2300d6c2a3"},{"fixed":"879947f4180bc6e83af64eb0515e0cf57fce15db"},{"fixed":"56bd7901b5e9dbc9112036ea615ebcba1565fafe"},{"fixed":"327462725b0f759f093788dfbcb2f1fd132f956b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52837.json"}}],"schema_version":"1.7.5"}