{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142826",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.331Z",
        "datePublished": "2026-12-03T03:20:44.376Z",
        "dateUpdated": "2026-12-03T03:20:44.376Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:20:44.376Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: bsg: Reject UIC commands with a non-zero result byte\n\nufs_bsg_request() passes the user-supplied UIC argument2 unchanged,\nincluding the result byte (bits 7:0) that only the host controller\nwrites. A non-zero value triggers the WARN_ON_ONCE() in\nufshcd_dispatch_uic_cmd() and corrupts the reported result. Found by\nsyzkaller.\n\nReject UIC commands that have the result byte set with -EINVAL."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/ufs/core/ufs_bsg.c"
                    ],
                    "versions": [
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "8d5b5284da8b92df044fec1739d754143639ba51",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "ae521f87d8be470316271cdc7e756df72725ec77",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "a510df6b6c4836222b3dd783487ea47028a252a8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "a59c6ed53ffcc50af065c4d0a973af3380753a20",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "d18cf19c92e2fafda2e581029f49f17a01244a02",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "420e4a8f2a274effc4959b8bcfabed0d831bb7f1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "fab642b4b94e195052562ae21737acd6d4d303bf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e77044c5a8422e4e139f0a2ac5d49f4075779594",
                            "lessThan": "1ae42513205a38b811afedb6797f9f9c4de37b90",
                            "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/ufs/core/ufs_bsg.c"
                    ],
                    "versions": [
                        {
                            "version": "4.20",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.20",
                            "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.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "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": "4.20",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8d5b5284da8b92df044fec1739d754143639ba51"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ae521f87d8be470316271cdc7e756df72725ec77"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a510df6b6c4836222b3dd783487ea47028a252a8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a59c6ed53ffcc50af065c4d0a973af3380753a20"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d18cf19c92e2fafda2e581029f49f17a01244a02"
                },
                {
                    "url": "https://git.kernel.org/stable/c/420e4a8f2a274effc4959b8bcfabed0d831bb7f1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fab642b4b94e195052562ae21737acd6d4d303bf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1ae42513205a38b811afedb6797f9f9c4de37b90"
                }
            ],
            "title": "scsi: ufs: bsg: Reject UIC commands with a non-zero result byte",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}