7.5high
scsi: target: Reset t_task_cdb pointer in error case
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.79% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 6cac97b12bdab04832e0416d049efcd0d48d303b, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 45fd86b444105c8bd07a763f58635c87e5dc7aea, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 8727663ded659aad55eef21e3864ebf5a4796a96, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 0260ad551b0815eb788d47f32899fbcd65d6f128, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 0d36db68fdb8a3325386fd9523b67735f944e1f3, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 8edbb9e371af186b4cf40819dab65fafe109df4d, from 9e95fb805dc043cc8ed878a08d1583e4097a5f80 before 5053eab38a4c4543522d0c320c639c56a8b59908, 5.8 Not affected: before 5.8, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: scsi: target: Restablecer el puntero t_task_cdb en caso de error Si la asignación de cmd->t_task_cdb falla, permanece NULL pero luego es desreferenciado en la ruta de 'error'. En caso de error, restablecer el valor NULL de t_task_cdb para que apunte al búfer predeterminado de tamaño fijo. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68782 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-68782 changed 2026-11-10 | Public domain |