CVE-2026-43055 (GCVE-0-2026-43055)
Vulnerability from cvelistv5
Published
2026-05-01 14:15
Modified
2026-10-19 19:06
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Version: 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Version: 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-43055",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:14:04.426072Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-457",
                "description": "CWE-457 Use of Uninitialized Variable",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T19:06:11.626Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/target/target_core_file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab",
              "status": "affected",
              "version": "732f25a2895a8c1c54fb56544f0b1e23770ef4d7",
              "versionType": "git"
            },
            {
              "lessThan": "4eaff1728d0e69b95933412241bbccf4f797dba8",
              "status": "affected",
              "version": "732f25a2895a8c1c54fb56544f0b1e23770ef4d7",
              "versionType": "git"
            },
            {
              "lessThan": "01f784fc9d0ab2a6dac45ee443620e517cb2a19b",
              "status": "affected",
              "version": "732f25a2895a8c1c54fb56544f0b1e23770ef4d7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/target/target_core_file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: file: Use kzalloc_flex for aio_cmd\n\nThe target_core_file doesn\u0027t initialize the aio_cmd-\u003eiocb for the\nki_write_stream. When a write command fd_execute_rw_aio() is executed,\nwe may get a bogus ki_write_stream value, causing unintended write\nfailure status when checking iocb-\u003eki_write_stream \u003e max_write_streams\nin the block device.\n\nLet\u0027s just use kzalloc_flex when allocating the aio_cmd and let\nki_write_stream=0 to fix this issue."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable FILEIO backend can be reached through network SCSI target fabrics, especially the in-kernel iSCSI target over TCP, by sending SCSI WRITE commands to an exported fileio LUN.\nAC:L - In an affected deployment with fileio async I/O enabled, triggering only requires ordinary WRITE CDB/DataOUT traffic; there is no race or attacker-uncontrolled timing condition.\nPR:N - iSCSI target supports no-auth/dynamic-ACL deployments, and in that reasonable worst-case a remote initiator can log in and issue writes without credentials.\nUI:N - No victim user action is needed after the target is configured and listening; the attacker sends protocol commands directly.\nS:U - The impact remains within the kernel target/storage service authority and does not cross a VM, IOMMU, or separate security boundary.\nC:N - The uninitialized field is a write-stream selector byte used internally and is not returned to the attacker or used as a memory read primitive.\nI:N - The bug causes bogus stream selection or write rejection, but it does not provide unauthorized modification of kernel memory or logical storage contents.\nA:H - A stale nonzero stream value can make valid block-device writes fail with CHECK CONDITION, and a remote initiator can repeatedly trigger write failure against the exported LUN."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:25:36.045Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab"
        },
        {
          "url": "https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8"
        },
        {
          "url": "https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b"
        }
      ],
      "title": "scsi: target: file: Use kzalloc_flex for aio_cmd",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43055",
    "datePublished": "2026-05-01T14:15:48.139Z",
    "dateReserved": "2026-05-01T14:12:55.980Z",
    "dateUpdated": "2026-10-19T19:06:11.626Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-43055\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:14:04.426072Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-457\", \"description\": \"CWE-457 Use of Uninitialized Variable\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:14:05.121Z\"}}], \"cna\": {\"title\": \"scsi: target: file: Use kzalloc_flex for aio_cmd\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The vulnerable FILEIO backend can be reached through network SCSI target fabrics, especially the in-kernel iSCSI target over TCP, by sending SCSI WRITE commands to an exported fileio LUN.\\nAC:L - In an affected deployment with fileio async I/O enabled, triggering only requires ordinary WRITE CDB/DataOUT traffic; there is no race or attacker-uncontrolled timing condition.\\nPR:N - iSCSI target supports no-auth/dynamic-ACL deployments, and in that reasonable worst-case a remote initiator can log in and issue writes without credentials.\\nUI:N - No victim user action is needed after the target is configured and listening; the attacker sends protocol commands directly.\\nS:U - The impact remains within the kernel target/storage service authority and does not cross a VM, IOMMU, or separate security boundary.\\nC:N - The uninitialized field is a write-stream selector byte used internally and is not returned to the attacker or used as a memory read primitive.\\nI:N - The bug causes bogus stream selection or write rejection, but it does not provide unauthorized modification of kernel memory or logical storage contents.\\nA:H - A stale nonzero stream value can make valid block-device writes fail with CHECK CONDITION, and a remote initiator can repeatedly trigger write failure against the exported LUN.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"732f25a2895a8c1c54fb56544f0b1e23770ef4d7\", \"lessThan\": \"ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"732f25a2895a8c1c54fb56544f0b1e23770ef4d7\", \"lessThan\": \"4eaff1728d0e69b95933412241bbccf4f797dba8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"732f25a2895a8c1c54fb56544f0b1e23770ef4d7\", \"lessThan\": \"01f784fc9d0ab2a6dac45ee443620e517cb2a19b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/target/target_core_file.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.18.22\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"6.19.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.19.*\"}, {\"status\": \"unaffected\", \"version\": \"7.0\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/target/target_core_file.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab\"}, {\"url\": \"https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8\"}, {\"url\": \"https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: target: file: Use kzalloc_flex for aio_cmd\\n\\nThe target_core_file doesn\u0027t initialize the aio_cmd-\u003eiocb for the\\nki_write_stream. When a write command fd_execute_rw_aio() is executed,\\nwe may get a bogus ki_write_stream value, causing unintended write\\nfailure status when checking iocb-\u003eki_write_stream \u003e max_write_streams\\nin the block device.\\n\\nLet\u0027s just use kzalloc_flex when allocating the aio_cmd and let\\nki_write_stream=0 to fix this issue.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.22\", \"versionStartIncluding\": \"6.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19.12\", \"versionStartIncluding\": \"6.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0\", \"versionStartIncluding\": \"6.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:25:36.045Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-43055\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T19:06:11.626Z\", \"dateReserved\": \"2026-05-01T14:12:55.980Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-05-01T14:15:48.139Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…