# CVE-2025-68782: scsi: target: Reset t_task_cdb pointer in error case

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-01-13T15:28:56.929Z
- Modified: 2026-11-10T13:17:59.777Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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.*; from 6.18.3 up to 6.18.*; from 6.19 up to *)

## 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>

## Sources

- CVE List: [CVE-2025-68782](https://www.cve.org/CVERecord?id=CVE-2025-68782), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-68782](https://nvd.nist.gov/vuln/detail/CVE-2025-68782), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-68782 · Whole record: https://cve.day/CVE-2025-68782.json · Rebuilt by cve.day 2026-11-25T22:59:10.529Z
