« List of all CVEs

CVE-2026-45997

scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

Published: 5/27/2026 Last updated: 6/14/2026 Reserved: 5/13/2026

In the Linux kernel, the following vulnerability has been resolved: scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails If device_add(&sdkp->disk_dev) fails, put_device() runs scsi_disk_release(), which frees the scsi_disk but leaves the gendisk referenced. The device_add_disk() error path in sd_probe() calls put_disk(gd); call put_disk(gd) here to mirror that cleanup.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (29)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes ortools_solvers orun rawlink rawlink-eio rawlink-lwt restricted shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux 1.0
Linux Linux < iOS 13.2 and iPadOS 13.2
Linux Linux PR-400KI/RT-400KI/RV-440KI firmware version Ver.07.00.1010 and earlier
Linux Linux PR-400MI/RT-400MI/RV-440MI firmware version Ver. 07.00.1012 and earlier

References (12)