{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2025-68782",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2025-68782"
  ],
  "published": "2026-01-13T15:29:33Z",
  "summary": "scsi: target: Reset t_task_cdb pointer in error case",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Reset t_task_cdb pointer in error case\n\nIf allocation of cmd->t_task_cdb fails, it remains NULL but is later\ndereferenced in the 'err' path.\n\nIn case of error, reset NULL t_task_cdb value to point at the default\nfixed-size buffer.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.160",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-68782"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T12:19:11Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.5,
      "cvss_v3_severity": "High",
      "scenario": "AV:N - A remote initiator can reach target_cmd_init_cdb() by sending an iSCSI SCSI Command PDU containing a variable-length CDB over TCP, iSER, or supported network offload transports.\nAC:L - The attacker controls the extended-CDB request and can create allocator pressure through concurrent sessions and outstanding commands before repeatedly triggering the allocation. No race or condition outside the attacker's practical influence is required.\nPR:N - LIO supports AuthMethod=None and dynamic initiator ACLs, allowing a remote attacker to establish a normal iSCSI session without credentials in a reasonable permissive deployment.\nUI:N - Exploitation requires only attacker-generated sessions and SCSI commands, without any victim action.\nS:U - Through the network iSCSI path, the vulnerable target-core code and the affected kernel availability remain within the same host security authority.\nC:N - The failed allocation produces a fixed NULL destination rather than an attacker-controlled read primitive, and no kernel data is disclosed.\nI:N - The attempted copy targets unmapped address zero and faults instead of modifying a live kernel object; it does not provide an arbitrary or useful write primitive.\nA:H - The NULL-destination memcpy can cause a kernel oops or panic, and a remote initiator can repeat the trigger to disrupt the target or entire system."
    }
  }
}
