CVE-2025-68782

scsi: target: Reset t_task_cdb pointer in error case

State
Published
Severity
7.5 High
Published
Jan 13, 2026
Updated
Oct 19, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 6cac97b12bdab04832e0416d049efcd0d48d303bAffected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 45fd86b444105c8bd07a763f58635c87e5dc7aeaAffected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 8727663ded659aad55eef21e3864ebf5a4796a96Affected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 0260ad551b0815eb788d47f32899fbcd65d6f128Affected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 0d36db68fdb8a3325386fd9523b67735f944e1f3Affected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 8edbb9e371af186b4cf40819dab65fafe109df4dAffected
  • 9e95fb805dc043cc8ed878a08d1583e4097a5f80 to before 5053eab38a4c4543522d0c320c639c56a8b59908Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.3 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.