2084AI Security Observatory

CVE

CVE-2023-52837

CVE-2023-52837HIGH 7.8EPSS 16%

CNA description

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 versions

All Linux kernel vulnerabilities →

  • ≥ 6.6, < 6.6.2Fixed in 6.6.2
  • ≥ 6.2, < 6.5.12Fixed in 6.5.12
  • ≥ 5.14, < 6.1.63Fixed in 6.1.63

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.