{"id":"CVE-2025-68782","state":"PUBLISHED","title":"scsi: target: Reset t_task_cdb pointer in error case","description":"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.","publishedAt":"2026-01-13T15:28:56.929Z","updatedAt":"2026-10-19T18:05:06.972Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"6cac97b12bdab04832e0416d049efcd0d48d303b","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"45fd86b444105c8bd07a763f58635c87e5dc7aea","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"8727663ded659aad55eef21e3864ebf5a4796a96","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"0260ad551b0815eb788d47f32899fbcd65d6f128","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"0d36db68fdb8a3325386fd9523b67735f944e1f3","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"8edbb9e371af186b4cf40819dab65fafe109df4d","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"5053eab38a4c4543522d0c320c639c56a8b59908","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/target/target_core_transport.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/target/target_core_transport.c"]}],"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"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68782.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68782","state":"PUBLISHED","datePublished":"2026-01-13T15:28:56.929Z","dateUpdated":"2026-10-19T18:05:06.972Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T10:30:51.036Z"},"containers":{"cna":{"title":"scsi: target: Reset t_task_cdb pointer in error case","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"6cac97b12bdab04832e0416d049efcd0d48d303b","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"45fd86b444105c8bd07a763f58635c87e5dc7aea","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"8727663ded659aad55eef21e3864ebf5a4796a96","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"0260ad551b0815eb788d47f32899fbcd65d6f128","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"0d36db68fdb8a3325386fd9523b67735f944e1f3","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"8edbb9e371af186b4cf40819dab65fafe109df4d","versionType":"git"},{"version":"9e95fb805dc043cc8ed878a08d1583e4097a5f80","status":"affected","lessThan":"5053eab38a4c4543522d0c320c639c56a8b59908","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/target/target_core_transport.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/target/target_core_transport.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6cac97b12bdab04832e0416d049efcd0d48d303b"},{"url":"https://git.kernel.org/stable/c/45fd86b444105c8bd07a763f58635c87e5dc7aea"},{"url":"https://git.kernel.org/stable/c/8727663ded659aad55eef21e3864ebf5a4796a96"},{"url":"https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128"},{"url":"https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3"},{"url":"https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d"},{"url":"https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:11:26.438Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.10.248"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.12.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-68782","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-16T19:10:49.122593Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","type":"CWE","description":"CWE-476 NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:05:06.972Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:10:10.210Z"},"x_adpType":"supplier"}]}}}