Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: target: file: Use kzalloc_flex for aio_cmd

The target_core_file doesn't initialize the aio_cmd->iocb for the
ki_write_stream. When a write command fd_execute_rw_aio() is executed,
we may get a bogus ki_write_stream value, causing unintended write
failure status when checking iocb->ki_write_stream > max_write_streams
in the block device.

Let's just use kzalloc_flex when allocating the aio_cmd and let
ki_write_stream=0 to fix this issue.
Published: 2026-05-01
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Write Failure
Action: Patch
AI Analysis

Impact

The Linux kernel SCSI target subsystem contains a defect in the target_core_file module where the aio_cmd->iocb ki_write_stream field is not initialized during write operations. When fd_execute_rw_aio() processes a write command, the uninitialized ki_write_stream value may be interpreted as exceeding the maximum allowed streams, leading the kernel to return a failure status for the write. This flaw results in unintended write failures and can disrupt data integrity and service availability for processes that depend on the SCSI target interface.

Affected Systems

All Linux kernel releases that include the target_core_file module before the commit that introduced kzalloc_flex allocation and explicit ki_write_stream initialization are potentially vulnerable. The affected versions include the mainline Linux kernel and the 7.0 release candidates (rc1 through rc5) listed in the supplied CPE strings.

Risk and Exploitability

The flaw is rated high severity with a CVSS score of 7.5, yet its EPSS score is below 1%, indicating that active exploitation is currently rare. A local or privileged user who can submit write requests through the SCSI target interface can trigger the bug, but remote code execution or privilege escalation is not supported by the description. The vulnerability is not listed in the CISA KEV catalog, so no public exploit evidence is currently known.

Generated by OpenCVE AI on October 23, 2026 at 08:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the kzalloc_flex allocation change and sets ki_write_stream to zero during aio_cmd construction.
  • If an immediate kernel upgrade is not feasible, unload the target_core_file module or block its loading to eliminate the faulty path.
  • Alternatively, restrict write operations on the SCSI target interface through device or system policies to reduce the attack surface.

Generated by OpenCVE AI on October 23, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Fri, 16 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 07 May 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*

Sun, 03 May 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Sat, 02 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Sat, 02 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 01 May 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: target: file: Use kzalloc_flex for aio_cmd The target_core_file doesn't initialize the aio_cmd->iocb for the ki_write_stream. When a write command fd_execute_rw_aio() is executed, we may get a bogus ki_write_stream value, causing unintended write failure status when checking iocb->ki_write_stream > max_write_streams in the block device. Let's just use kzalloc_flex when allocating the aio_cmd and let ki_write_stream=0 to fix this issue.
Title scsi: target: file: Use kzalloc_flex for aio_cmd
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T19:06:11.626Z

Reserved: 2026-05-01T14:12:55.980Z

Link: CVE-2026-43055

cve-icon Vulnrichment

Updated: 2026-10-16T15:14:05.121Z

cve-icon NVD

Status : Modified

Published: 2026-05-01T15:16:52.040

Modified: 2026-10-19T20:18:03.287

Link: CVE-2026-43055

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-43055 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T08:30:09Z

Weaknesses