CVE-2025-68782
scsi: target: Reset t_task_cdb pointer in error case
- State
- Published
- Severity
- 7.5 High
- Published
- Jan 13, 2026
- Updated
- Oct 19, 2026
- Reserved
- Dec 24, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Linux |
Weaknesses
- CWE-476 NULL Pointer Dereference
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b
- https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea
- https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96
- https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128
- https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3
- https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d
- https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.