{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138932",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.904Z",
        "datePublished": "2026-11-30T13:26:19.459Z",
        "dateUpdated": "2026-11-30T13:26:19.459Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:19.459Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix RX buffer OOB write from device-reported length\n\nsd_recv_rxfifo() trusts the device-reported RX0_REQ_LEN value\n(hal->SdioRxFIFOSize, a u16 read from the card via CMD52) as the\nsize of the next RX packet and passes it to sdio_read_port(), which\ncopies that many bytes into the recvbuf skb whose data area is only\nMAX_RECVBUF_SZ (10240) bytes. A bogus device on SDIO can report up to\n65535 bytes, causing a heap overflow of up to ~55KB past the skb\nbuffer.\n\nBail out when the RX0_REQ_LEN exceeds MAX_RECVBUF_SZ. This is expected\nto keep behavior unchanged on normal devices.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/rtl8723bs/hal/sdio_ops.c"
                    ],
                    "versions": [
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "9350d13427d0a4474eaccfb210e410579f8e5813",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "47d002350caf3fcfb12e4555782fd78ccfcc5105",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "61d254aebdd5971b32a94bbd08388112615f7e86",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "a57be7f9545d68fba5f1958692a7a8356e7d67c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "5ce411b4b92ff923fbb956f63052665cf1b3d7ef",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "07a1b080c5a514449406f4c5842e6dd0d7b8b0df",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "ced1565397ddc42cb324d4d616698f494049eafc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "554c0a3abf216c991c5ebddcdb2c08689ecd290b",
                            "lessThan": "c52929073fccbc149267a2fd7458626a7e9abcfc",
                            "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/staging/rtl8723bs/hal/sdio_ops.c"
                    ],
                    "versions": [
                        {
                            "version": "4.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.12",
                            "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": "4.12",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.12",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813"
                },
                {
                    "url": "https://git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105"
                },
                {
                    "url": "https://git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7ef"
                },
                {
                    "url": "https://git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0df"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfc"
                }
            ],
            "title": "staging: rtl8723bs: fix RX buffer OOB write from device-reported length",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}