{"id":"CVE-2026-138932","summary":"staging: rtl8723bs: fix RX buffer OOB write from device-reported length","details":"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-\u003eSdioRxFIFOSize, 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.","modified":"2026-11-30T15:01:31.893222137Z","published":"2026-11-30T13:26:19.459Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138932.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138932.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138932"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b"},{"fixed":"9350d13427d0a4474eaccfb210e410579f8e5813"},{"fixed":"47d002350caf3fcfb12e4555782fd78ccfcc5105"},{"fixed":"61d254aebdd5971b32a94bbd08388112615f7e86"},{"fixed":"a57be7f9545d68fba5f1958692a7a8356e7d67c3"},{"fixed":"5ce411b4b92ff923fbb956f63052665cf1b3d7ef"},{"fixed":"07a1b080c5a514449406f4c5842e6dd0d7b8b0df"},{"fixed":"ced1565397ddc42cb324d4d616698f494049eafc"},{"fixed":"c52929073fccbc149267a2fd7458626a7e9abcfc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138932.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138932.json"}}],"schema_version":"1.9.2"}