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 / product | Versions |
|---|---|
| Linux / Linux | affected 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 / Linux | affected 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
- 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
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.