← CVE Intelligence

CVE-2025-68782

scsi: target: Reset t_task_cdb pointer in error case PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 6cac97b12bdab04832e0416d049efcd0d48d303b; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 45fd86b444105c8bd07a763f58635c87e5dc7aea; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 8727663ded659aad55eef21e3864ebf5a4796a96; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 0260ad551b0815eb788d47f32899fbcd65d6f128; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 0d36db68fdb8a3325386fd9523b67735f944e1f3; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 8edbb9e371af186b4cf40819dab65fafe109df4d; affected 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 5053eab38a4c4543522d0c320c639c56a8b59908
Linux / Linuxaffected 5.8; unaffected 0 before 5.8; unaffected 5.10.248 through 5.10.*; unaffected 5.15.198 through 5.15.*; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.64 through 6.12.*; unaffected 6.18.3 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

siemens-SADP

No English description supplied.