{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-45962",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-13T15:03:33.089Z",
        "datePublished": "2026-05-27T12:18:19.070Z",
        "dateUpdated": "2026-05-27T12:18:19.070Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-27T12:18:19.070Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: Validate SQE128 flag before accessing the cmd\n\nublk_ctrl_cmd_dump() accesses (header *)sqe->cmd before\nIO_URING_F_SQE128 flag check. This could cause out of boundary memory\naccess.\n\nMove the SQE128 flag check earlier in ublk_ctrl_uring_cmd() to return\n-EINVAL immediately if the flag is not set."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/block/ublk_drv.c"
                    ],
                    "versions": [
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "4b4dff498f46e9802f71bc84258bf73065f51c6a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "31cac6acf77ece488f29fb8f79589d9298e969c8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "dbe8e81a2ec608f87f79a34f6444cd62f6a243bb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "f75a5555e0049e7857eae25b60aee98b80e287ec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "17d33ba7291100008360b5a354962db37ad80684",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71f28f3136aff5890cd56de78abc673f8393cad9",
                            "lessThan": "da7e4b75e50c087d2031a92f6646eb90f7045a67",
                            "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/block/ublk_drv.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.165",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.128",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.75",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.14",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.4",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "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": "6.0",
                                    "versionEndExcluding": "6.1.165"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.128"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.75"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.14"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.19.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4b4dff498f46e9802f71bc84258bf73065f51c6a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/31cac6acf77ece488f29fb8f79589d9298e969c8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dbe8e81a2ec608f87f79a34f6444cd62f6a243bb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f75a5555e0049e7857eae25b60aee98b80e287ec"
                },
                {
                    "url": "https://git.kernel.org/stable/c/17d33ba7291100008360b5a354962db37ad80684"
                },
                {
                    "url": "https://git.kernel.org/stable/c/da7e4b75e50c087d2031a92f6646eb90f7045a67"
                }
            ],
            "title": "ublk: Validate SQE128 flag before accessing the cmd",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}