---
id: CVE-2025-68782
title: |-
  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 e…
summary: |-
  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 e…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    6cac97b12bdab04832e0416d049efcd0d48d303b
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    45fd86b444105c8bd07a763f58635c87e5dc7aea
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    8727663ded659aad55eef21e3864ebf5a4796a96
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    0260ad551b0815eb788d47f32899fbcd65d6f128
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    0d36db68fdb8a3325386fd9523b67735f944e1f3
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    8edbb9e371af186b4cf40819dab65fafe109df4d
  - >-
    Linux >= 9e95fb805dc043cc8ed878a08d1583e4097a5f80 <
    5053eab38a4c4543522d0c320c639c56a8b59908
  - Linux 5.8
published: '2026-01-13'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:13.787'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68782'
references:
  - url: 'https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00693
epssPercentile: 0.52707
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-16T19:10:49.122593Z'
ingestedAt: '2026-09-08T15:33:26.995Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
