cbcvebase.
CVE-2023-52837
published 2024-05-21

CVE-2023-52837: In the Linux kernel, the following vulnerability has been resolved: nbd: fix uaf in nbd_open Commit 4af5f2e03013 ("nbd: use blk_mq_alloc_disk and…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
16.5th percentile
In the Linux kernel, the following vulnerability has been resolved: nbd: fix uaf in nbd_open Commit 4af5f2e03013 ("nbd: use blk_mq_alloc_disk and blk_cleanup_disk") cleans up disk by blk_cleanup_disk() and it won't set disk->private_data as NULL as before. UAF may be triggered in nbd_open() if someone tries to open nbd device right after nbd_put() since nbd has been free in nbd_dev_remove(). Fix this by implementing ->free_disk and free private data in it.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.64-1 (bookworm)linux 6.1.64-1 (bookworm)
linuxlinux
linuxlinux>= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 4e9b3ec84dc97909876641dad14e0a2300d6c2a34e9b3ec84dc97909876641dad14e0a2300d6c2a3
linuxlinux>= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 879947f4180bc6e83af64eb0515e0cf57fce15db879947f4180bc6e83af64eb0515e0cf57fce15db
linuxlinux>= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 56bd7901b5e9dbc9112036ea615ebcba1565fafe56bd7901b5e9dbc9112036ea615ebcba1565fafe
linuxlinux>= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 327462725b0f759f093788dfbcb2f1fd132f956b327462725b0f759f093788dfbcb2f1fd132f956b
linuxlinux_kernel>= 0 < 6.1.64-16.1.64-1
linuxlinux_kernel>= 0 < 6.6.8-16.6.8-1
linuxlinux_kernel>= 0 < 6.6.8-16.6.8-1
linuxlinux_kernel>= 5.14 < 6.1.636.1.63
linuxlinux_kernel>= 6.2 < 6.5.126.5.12
linuxlinux_kernel>= 6.6 < 6.6.26.6.2

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.