All reports
Low

kernel: scsi: target: Reset t_task_cdb pointer in error case

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-68782

Probability of exploitation in the next 30 days: 0.69%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Reset t_task_cdb pointer in error case If allocation of cmd->t_task_cdb fails, it remains NULL but is later dereferenced in the 'err' path. In case of error, reset NULL t_task_cdb value to point at the default fixed-size buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE.

A NULL pointer dereference flaw was found in the Linux kernel's SCSI target subsystem. When memory allocation for the command descriptor block (CDB) buffer fails, the t_task_cdb pointer remains NULL but is subsequently dereferenced in the error handling path, potentially causing a kernel crash.