Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A NULL pointer dereference vulnerability has been identified in the Linux kernel ublk driver. The issue arises in the 'ublk_ctrl_set_size()' function, which unconditionally dereferences the 'ub->ub_disk' pointer without checking if it is NULL. This can lead to a crash when the pointer is NULL, which can occur if a device has been added but not yet started, or if it has been stopped. The vulnerability exists in the Linux kernel stable tree.
Exploitation of this vulnerability leads to a NULL pointer dereference, causing a kernel crash.
To reproduce this vulnerability, send the 'UBLK_CMD_UPDATE_SIZE' command to a ublk device that has been added but not yet started, or one that has been stopped. The command will trigger a NULL pointer dereference, causing a crash.
The vulnerability has been fixed in the Linux kernel stable tree. Users can upgrade to the latest version to address this issue.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.