NULL pointer dereference in Linux

CVE-2025-68782

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.007, 53.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 9e95fb805dc043cc8ed878a08d1583e4097a5f80, 5.8, 0

Weakness classification (CWE)

References