{"id":"CVE-2025-68256","aliases":["CVE-2025-68256"],"related":[],"kind":"vulnerability","state":"published","title":"staging: rtl8723bs: fix out-of-bounds read in rtw_get_ie() parser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nstaging: rtl8723bs: corrección de lectura fuera de límites en el analizador rtw_get_ie()\n\nEl analizador de Elementos de Información (IE) rtw_get_ie() confiaba en el byte de longitud de cada IE sin validar que el cuerpo del IE (len bytes después de la cabecera de 2 bytes) encajara dentro del búfer de trama restante. Una trama malformada puede anunciar una longitud de IE mayor que los datos disponibles, haciendo que el analizador incremente su puntero más allá del final del búfer. Esto resulta en lecturas fuera de límites o, dependiendo del patrón, en un bucle infinito.\n\nSolución validando que (offset + 2 + len) no exceda el límite antes de aceptar el IE o de avanzar al siguiente elemento.\n\nEsto previene lecturas fuera de límites y asegura que el analizador termine de forma segura en tramas malformadas.","source":"nvd"}],"published":"2025-12-16T14:44:58.829Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"9829c6e1b2e4180fd18315252ad6faeab6128076","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"b977eb31802817f4a37da95bf16bfdaa1eeb5fc2","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"30c558447e90935f0de61be181bbcedf75952e00","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"a54e2b2db1b7de2e008b4f62eec35aaefcc663c5","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"df191dd9f4c7249d98ada55634fa8ac19089b8cb","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"c0d93d69e1472ba75b78898979b90a98ba2a2501","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"154828bf9559b9c8421fc2f0d7f7f76b3683aaed","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.62","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.12","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.1","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9829c6e1b2e4180fd18315252ad6faeab6128076","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b977eb31802817f4a37da95bf16bfdaa1eeb5fc2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30c558447e90935f0de61be181bbcedf75952e00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a54e2b2db1b7de2e008b4f62eec35aaefcc663c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df191dd9f4c7249d98ada55634fa8ac19089b8cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0d93d69e1472ba75b78898979b90a98ba2a2501","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/154828bf9559b9c8421fc2f0d7f7f76b3683aaed","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68256","url":"https://www.cve.org/CVERecord?id=CVE-2025-68256","licence":"CVE Terms of Use","modified":"2026-08-05T12:10:31.326Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68256","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68256","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.514Z","epss":{"score":0.00464,"percentile":0.32232,"date":"2026-11-30T12:00:22.000Z"}}