{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142858",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.333Z",
        "datePublished": "2026-12-03T03:21:01.829Z",
        "dateUpdated": "2026-12-03T03:21:01.829Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:21:01.829Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nata: libata-scsi: abort multi-sector pass-through commands when multi_count is 0\n\nWhen an ATA_12, ATA_16, or ATA_32 pass-through command with a\nmulti-sector PIO command opcode (ATA_CMD_READ_MULTI,\nATA_CMD_WRITE_MULTI, ATA_CMD_READ_MULTI_EXT, ATA_CMD_WRITE_MULTI_EXT, or\nATA_CMD_WRITE_MULTI_FUA_EXT) is submitted via SG_IO on a device where\nmultiple-sector mode is not configured (dev->multi_count == 0),\nata_scsi_pass_thru() currently logs a warning and still dispatches the\ntaskfile. When the DRQ interrupt fires, ata_pio_sectors() triggers\nWARN_ON_ONCE(qc->dev->multi_count == 0) and computes\nnsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, 0) = 0, failing\nto transfer any sectors:\n\n  ata1.00: invalid multi_count 1 ignored\n  WARNING: drivers/ata/libata-sff.c:666 at ata_pio_sectors+0x27d/0x300\n  Call Trace:\n   <IRQ>\n   ata_sff_hsm_move+0x211/0x22e0\n   __ata_sff_port_intr+0x1c8/0x520\n   ata_bmdma_port_intr+0xa1/0x5b0\n   ata_bmdma_interrupt+0x1f5/0x550\n\nPer ACS-3 section 7.12.7.21, if IDENTIFY DEVICE word 59 bit 8 is cleared\nto zero (multi_count == 0) and a READ MULTIPLE or WRITE MULTIPLE command\nis received without a preceding successful SET MULTIPLE MODE command, the\ndevice returns command aborted (ABRT). Per the SAT specification, an ABRT\nerror translates to the ABORTED COMMAND sense key with NO ADDITIONAL SENSE\nINFORMATION (0x00, 0x00).\n\nFail multi-sector taskfile commands in ata_scsi_pass_thru() with\nata_scsi_set_sense(dev, scmd, ABORTED_COMMAND, 0, 0) when\ndev->multi_count == 0."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/ata/libata-scsi.c"
                    ],
                    "versions": [
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "5f14c59783475b8a6a72c17b3ecbbc862a940209",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "d1ccb62e43be338bc188554dc35e46ca7ba1e33a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "c6e42762df7d50c9c33d807d6763ff45a375e859",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "30c40077827d8ceeda247579758cada74bc44a7b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "7e1052d3ab39fb144d46673cc69e5a377c3892d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "2c4be2b6248f94e3163ce9634db8112d8b9a93fa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "ce74798da24b35c68b5c2affc78ab3ccec5e0464",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1dce589c38c36ae69614840ee230183f3a7d43c5",
                            "lessThan": "3bab8c7e0c6ba187a47163a1f71477213a278c48",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/ata/libata-scsi.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.22",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.22",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.22",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5f14c59783475b8a6a72c17b3ecbbc862a940209"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d1ccb62e43be338bc188554dc35e46ca7ba1e33a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c6e42762df7d50c9c33d807d6763ff45a375e859"
                },
                {
                    "url": "https://git.kernel.org/stable/c/30c40077827d8ceeda247579758cada74bc44a7b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7e1052d3ab39fb144d46673cc69e5a377c3892d8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c4be2b6248f94e3163ce9634db8112d8b9a93fa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ce74798da24b35c68b5c2affc78ab3ccec5e0464"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3bab8c7e0c6ba187a47163a1f71477213a278c48"
                }
            ],
            "title": "ata: libata-scsi: abort multi-sector pass-through commands when multi_count is 0",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}