{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139735",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.950Z",
        "datePublished": "2026-11-30T13:37:29.454Z",
        "dateUpdated": "2026-11-30T13:37:29.454Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:29.454Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy\n\nThe size of an incoming BSG request is checked using a variable that is\nnarrower than the field it is read from, so large values wrap and pass the\ncheck. The copy that follows then uses the full value and writes past the\nrequest buffer.\n\nWiden the variable and copy only the amount that was checked."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/mpi3mr/mpi3mr_app.c"
                    ],
                    "versions": [
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "869776cbca2578a7a51fcf74abda48dbdbd185c8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "f9fa6757a55a519d9595340b216d1d580d2bc1ea",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "2c118e14ead952ccfbae9d694a8b7dacaca56cd8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "fb62bd53bd7aac2b0714ce5617ef64860dae91c9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "506bc1a0d6ba626492c06e5632a3fbe202770fd2",
                            "lessThan": "896abdd4d81f40575b05d593f7fe004935a6cf97",
                            "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/scsi/mpi3mr/mpi3mr_app.c"
                    ],
                    "versions": [
                        {
                            "version": "5.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.19",
                            "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.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "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": "5.19",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/869776cbca2578a7a51fcf74abda48dbdbd185c8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9fa6757a55a519d9595340b216d1d580d2bc1ea"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c118e14ead952ccfbae9d694a8b7dacaca56cd8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fb62bd53bd7aac2b0714ce5617ef64860dae91c9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/896abdd4d81f40575b05d593f7fe004935a6cf97"
                }
            ],
            "title": "scsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}