Linux Kernel SCSI Target TCM Loop NULL Pointer Dereference Vulnerability

Vulnerability

A segmentation fault vulnerability has been identified in the Linux kernel's SCSI target TCM loop module. This issue arises in the function 'tcm_loop_tpg_address_show()' when the allocation of 'tl_hba->sh' fails in 'tcm_loop_driver_probe()'. Attempting to dereference a null pointer leads to a kernel NULL pointer dereference error, causing a crash. The vulnerability is present in the Linux kernel stable tree, specifically in versions through 6.6.104.2-4.azl3.

Impact

The vulnerability causes a kernel panic due to a NULL pointer dereference, which can lead to a denial of service by crashing the kernel and terminating all running processes.

Reproduction

The vulnerability can be reproduced by loading the TCM loop module in a Linux kernel version that is vulnerable. If the 'tl_hba->sh' allocation fails, any attempt to access this pointer in the 'tcm_loop_tpg_address_show()' function will result in a segmentation fault, crashing the kernel.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable repository.

Added: Dec 16, 2025, 7:05 PM
Updated: Dec 16, 2025, 7:05 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.4
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.