{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139723",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.949Z",
        "datePublished": "2026-11-30T13:37:22.801Z",
        "dateUpdated": "2026-11-30T13:37:22.801Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:22.801Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow in the BSG target device map\n\nThe size of the target device map buffer is held in a u16 while the number\nof devices it is derived from is not bounded to fit. With enough devices\nthe size wraps, a short buffer is allocated, and the loop that fills it\nwrites past the end.\n\nDo the calculation in size_t."
                }
            ],
            "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": "8ba997b22f2cd5d29aad8c39f6201f7608ed0c04",
                            "lessThan": "18f8301c66da25bbd4efed6ee39d57f31c66b88f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fb428a2005fc1260d18b989cc5199f281617f44d",
                            "lessThan": "60b25364d7e430c202fb3f1aa24247914d7b1d53",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fb428a2005fc1260d18b989cc5199f281617f44d",
                            "lessThan": "89930d3c26c282526f904118ddbe0d5b5755cb0b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fb428a2005fc1260d18b989cc5199f281617f44d",
                            "lessThan": "3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fb428a2005fc1260d18b989cc5199f281617f44d",
                            "lessThan": "fe81812af36bad609d233f11ba989dedcde41ca3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fb428a2005fc1260d18b989cc5199f281617f44d",
                            "lessThan": "203b3072e7aa10d98b3f2b766693ea925cfc571d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2f3d3fa5b8ed7d3b147478f42b00b468eeb1ecd2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.16",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.3",
                            "lessThan": "6.3",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "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": "6.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.3",
                            "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": "6.1.16",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/18f8301c66da25bbd4efed6ee39d57f31c66b88f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/60b25364d7e430c202fb3f1aa24247914d7b1d53"
                },
                {
                    "url": "https://git.kernel.org/stable/c/89930d3c26c282526f904118ddbe0d5b5755cb0b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fe81812af36bad609d233f11ba989dedcde41ca3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/203b3072e7aa10d98b3f2b766693ea925cfc571d"
                }
            ],
            "title": "scsi: mpi3mr: Fix buffer overflow in the BSG target device map",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}