CVE-2025-68229
kernel: scsi: target: tcm_loop: Fix segfault in tcm_loop_tpg_address_show()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 16, 2025
Updated · June 30, 2026
Description
A null pointer dereference was found in the SCSI target tcm_loop driver in the Linux kernel. If scsi_host allocation fails during tcm_loop_driver_probe(), the tl_hba->sh pointer remains NULL. Subsequent reads of the tpg_address configfs attribute trigger a segfault when dereferencing this NULL pointer.
Statement
tcm_loop is used for SCSI target testing and loopback configurations. The crash requires probe failure (e.g., memory pressure) followed by configfs attribute access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the tcm_loop module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-252 · Unchecked Return Value