CVE-2025-68782
scsi: target: Reset t_task_cdb pointer in error case
Check your servers for CVE-2025-68782
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68782 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.79%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 57.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 6cac97b12bdab04832e0416d049efcd0d48d303b affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 45fd86b444105c8bd07a763f58635c87e5dc7aea affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 8727663ded659aad55eef21e3864ebf5a4796a96 affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 0260ad551b0815eb788d47f32899fbcd65d6f128 affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 0d36db68fdb8a3325386fd9523b67735f944e1f3 affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 8edbb9e371af186b4cf40819dab65fafe109df4d affected from 9e95fb805dc043cc8ed878a08d1583e4097a5f80, before 5053eab38a4c4543522d0c320c639c56a8b59908
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68782 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68782
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68782
trivy image --scanners vuln IMAGE | grep CVE-2025-68782
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b git.kernel.org
- https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea git.kernel.org
- https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96 git.kernel.org
- https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128 git.kernel.org
- https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3 git.kernel.org
- https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d git.kernel.org
- https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68782 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse