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.
Product status
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 6cac97b12bdab04832e0416d049efcd0d48d303b
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 45fd86b444105c8bd07a763f58635c87e5dc7aea
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 8727663ded659aad55eef21e3864ebf5a4796a96
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 0260ad551b0815eb788d47f32899fbcd65d6f128
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 0d36db68fdb8a3325386fd9523b67735f944e1f3
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 8edbb9e371af186b4cf40819dab65fafe109df4d
9e95fb805dc043cc8ed878a08d1583e4097a5f80 (git) before 5053eab38a4c4543522d0c320c639c56a8b59908
5.8
Any version before 5.8
5.10.248 (semver)
5.15.198 (semver)
6.1.160 (semver)
6.6.120 (semver)
6.12.64 (semver)
6.18.3 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/6cac97b12bdab04832e0416d049efcd0d48d303b
git.kernel.org/...c/45fd86b444105c8bd07a763f58635c87e5dc7aea
git.kernel.org/...c/8727663ded659aad55eef21e3864ebf5a4796a96
git.kernel.org/...c/0260ad551b0815eb788d47f32899fbcd65d6f128
git.kernel.org/...c/0d36db68fdb8a3325386fd9523b67735f944e1f3
git.kernel.org/...c/8edbb9e371af186b4cf40819dab65fafe109df4d
git.kernel.org/...c/5053eab38a4c4543522d0c320c639c56a8b59908