In the Linux kernel, the following vulnerability has been resolved: scsi: target: Reset t_task_cdb pointer in error case If allocation of… (CVE-2025-68782)
A vulnerability in the Linux kernel's SCSI target subsystem involves improper handling of the t_task_cdb pointer when memory allocation fails. Specifically, if allocation of cmd->t_task_cdb fails, the pointer remains NULL but is later dereferenced in the error handling path, which can lead to a denial of service. The issue has been resolved by resetting the NULL pointer to a default fixed-size buffer in error cases.
AI Analysis
Technical Summary
The Linux kernel SCSI target subsystem had a vulnerability where failure to allocate memory for cmd->t_task_cdb left the pointer NULL. Subsequent error handling code dereferenced this NULL pointer, causing a potential denial of service (crash). The fix involves resetting the t_task_cdb pointer to a default buffer when allocation fails, preventing NULL dereference. This vulnerability was discovered by the Linux Verification Center using SVACE analysis tools.
Potential Impact
This vulnerability can cause a denial of service (system crash) due to NULL pointer dereference in the Linux kernel's SCSI target code when memory allocation fails. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: scsi: target: Reset t_task_cdb pointer in error case If allocation of… (CVE-2025-68782)
Description
A vulnerability in the Linux kernel's SCSI target subsystem involves improper handling of the t_task_cdb pointer when memory allocation fails. Specifically, if allocation of cmd->t_task_cdb fails, the pointer remains NULL but is later dereferenced in the error handling path, which can lead to a denial of service. The issue has been resolved by resetting the NULL pointer to a default fixed-size buffer in error cases.
CVSS v3.1
Score 7.5high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel SCSI target subsystem had a vulnerability where failure to allocate memory for cmd->t_task_cdb left the pointer NULL. Subsequent error handling code dereferenced this NULL pointer, causing a potential denial of service (crash). The fix involves resetting the t_task_cdb pointer to a default buffer when allocation fails, preventing NULL dereference. This vulnerability was discovered by the Linux Verification Center using SVACE analysis tools.
Potential Impact
This vulnerability can cause a denial of service (system crash) due to NULL pointer dereference in the Linux kernel's SCSI target code when memory allocation fails. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r6v3-89j7-2957
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68782"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d19c2644c7f8477385
Added to database: 07/30/2026, 15:50:41 UTC
Last enriched: 07/30/2026, 19:10:55 UTC
Last updated: 09/10/2026, 19:26:52 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.