# CVE-2025-68782: scsi: target: Reset t\_task\_cdb pointer in error case

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.02% (percentile 63, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-13T15:28:56.929Z
- **Modified:** 2026-11-10T13:17:59.777Z

## Who should check

- Anyone running Linux \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 6cac97b12bdab04832e0416d049efcd0d48d303b; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 45fd86b444105c8bd07a763f58635c87e5dc7aea; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8727663ded659aad55eef21e3864ebf5a4796a96; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0260ad551b0815eb788d47f32899fbcd65d6f128; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0d36db68fdb8a3325386fd9523b67735f944e1f3; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8edbb9e371af186b4cf40819dab65fafe109df4d; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 5053eab38a4c4543522d0c320c639c56a8b59908
- Anyone running Linux 5.8

## 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 and fixed versions

- Linux: \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 6cac97b12bdab04832e0416d049efcd0d48d303b; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 45fd86b444105c8bd07a763f58635c87e5dc7aea; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8727663ded659aad55eef21e3864ebf5a4796a96; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0260ad551b0815eb788d47f32899fbcd65d6f128; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0d36db68fdb8a3325386fd9523b67735f944e1f3; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8edbb9e371af186b4cf40819dab65fafe109df4d; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 5053eab38a4c4543522d0c320c639c56a8b59908 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 5053eab38a4c4543522d0c320c639c56a8b59908 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68782. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68782.md
Affected: Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, < 6cac97b12bdab04832e0416d049efcd0d48d303b; >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, < 45fd86b444105c8bd07a763f58635c87e5dc7aea; >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, < 8727663ded659aad55eef21e3864ebf5a4796a96; >= 9e95fb805dc043cc8ed878a…
Fixed in: Linux 6cac97b12bdab04832e0416d049efcd0d48d303b, Linux 45fd86b444105c8bd07a763f58635c87e5dc7aea, Linux 8727663ded659aad55eef21e3864ebf5a4796a96, Linux 0260ad551b0815eb788d47f32899fbcd65d6f128, Linux 0d36db68fdb8a3325386fd9523b67735f944e1f3, Linux 8edbb9e371af186b4cf40819dab65fafe109df4d, Linux 5053e…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68782 being exploited?

There is no confirmed exploitation: CVE-2025-68782 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.02% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68782?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68782?

Linux \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 6cac97b12bdab04832e0416d049efcd0d48d303b; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 45fd86b444105c8bd07a763f58635c87e5dc7aea; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8727663ded659aad55eef21e3864ebf5a4796a96; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0260ad551b0815eb788d47f32899fbcd65d6f128; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 0d36db68fdb8a3325386fd9523b67735f944e1f3; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 8edbb9e371af186b4cf40819dab65fafe109df4d; \>= 9e95fb805dc043cc8ed878a08d1583e4097a5f80, \< 5053eab38a4c4543522d0c320c639c56a8b59908; Linux 5.8.

### Is there a fix for CVE-2025-68782?

Yes. Fixed in Linux 6cac97b12bdab04832e0416d049efcd0d48d303b, Linux 45fd86b444105c8bd07a763f58635c87e5dc7aea, Linux 8727663ded659aad55eef21e3864ebf5a4796a96, Linux 0260ad551b0815eb788d47f32899fbcd65d6f128, Linux 0d36db68fdb8a3325386fd9523b67735f944e1f3, Linux 8edbb9e371af186b4cf40819dab65fafe109df4d, Linux 5053eab38a4c4543522d0c320c639c56a8b59908. Upgrade Linux to 5053eab38a4c4543522d0c320c639c56a8b59908 or later.

### How do I check if I'm affected by CVE-2025-68782?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b>
- other: <https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea>
- other: <https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96>
- other: <https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128>
- other: <https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3>
- other: <https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d>
- other: <https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68782>

HTML: <https://flawdb.com/CVE-2025-68782> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68782>
