{"id":"CVE-2023-52837","published":"2024-05-21T15:31:37Z","modified":"2026-08-05T09:11:37Z","title":"nbd: fix uaf in nbd_open","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->private_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 ->free_disk and free private data in it.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16454,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3","tags":[]},{"url":"https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db","tags":[]},{"url":"https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe","tags":[]},{"url":"https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac, < 4e9b3ec84dc97909876641dad14e0a2300d6c2a3",">= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac, < 879947f4180bc6e83af64eb0515e0cf57fce15db",">= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac, < 56bd7901b5e9dbc9112036ea615ebcba1565fafe",">= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac, < 327462725b0f759f093788dfbcb2f1fd132f956b"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T18:01:48.631616Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59551","exploited":false,"provenance":"source"}}