{"id":"CVE-2025-68256","summary":"staging: rtl8723bs: fix out-of-bounds read in rtw_get_ie() parser","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix out-of-bounds read in rtw_get_ie() parser\n\nThe Information Element (IE) parser rtw_get_ie() trusted the length\nbyte of each IE without validating that the IE body (len bytes after\nthe 2-byte header) fits inside the remaining frame buffer. A malformed\nframe can advertise an IE length larger than the available data, causing\nthe parser to increment its pointer beyond the buffer end. This results\nin out-of-bounds reads or, depending on the pattern, an infinite loop.\n\nFix by validating that (offset + 2 + len) does not exceed the limit\nbefore accepting the IE or advancing to the next element.\n\nThis prevents OOB reads and ensures the parser terminates safely on\nmalformed frames.","modified":"2026-03-31T17:30:03.217454584Z","published":"2025-12-16T14:44:58.829Z","related":["SUSE-SU-2026:0447-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2025:15836-1","openSUSE-SU-2026:10301-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68256.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/154828bf9559b9c8421fc2f0d7f7f76b3683aaed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30c558447e90935f0de61be181bbcedf75952e00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a54e2b2db1b7de2e008b4f62eec35aaefcc663c5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b977eb31802817f4a37da95bf16bfdaa1eeb5fc2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0d93d69e1472ba75b78898979b90a98ba2a2501"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df191dd9f4c7249d98ada55634fa8ac19089b8cb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68256.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68256"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b"},{"fixed":"b977eb31802817f4a37da95bf16bfdaa1eeb5fc2"},{"fixed":"30c558447e90935f0de61be181bbcedf75952e00"},{"fixed":"a54e2b2db1b7de2e008b4f62eec35aaefcc663c5"},{"fixed":"df191dd9f4c7249d98ada55634fa8ac19089b8cb"},{"fixed":"c0d93d69e1472ba75b78898979b90a98ba2a2501"},{"fixed":"154828bf9559b9c8421fc2f0d7f7f76b3683aaed"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68256.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"6.1.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.62"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68256.json"}}],"schema_version":"1.7.5"}