{"id":"CVE-2025-68362","aliases":["CVE-2025-68362"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()\n\nThe rtl8187_rx_cb() calculates the rx descriptor header address\nby subtracting its size from the skb tail pointer.\nHowever, it does not validate if the received packet\n(skb->len from urb->actual_length) is large enough to contain this\nheader.\n\nIf a truncated packet is received, this will lead to a buffer\nunderflow, reading memory before the start of the skb data area,\nand causing a kernel panic.\n\nAdd length checks for both rtl8187 and rtl8187b descriptor headers\nbefore attempting to access them, dropping the packet cleanly if the\ncheck fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()\n\nThe rtl8187_rx_cb() calculates the rx descriptor header address\nby subtracting its size from the skb tail pointer.\nHowever, it does not validate if the received packet\n(skb->len from urb->actual_length) is large enough to contain this\nheader.\n\nIf a truncated packet is received, this will lead to a buffer\nunderflow, reading memory before the start of the skb data area,\nand causing a kernel panic.\n\nAdd length checks for both rtl8187 and rtl8187b descriptor headers\nbefore attempting to access them, dropping the packet cleanly if the\ncheck fails.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nwifi: rtl818x: rtl8187: Corrección de un posible desbordamiento negativo de búfer en rtl8187_rx_cb()\n\nLa función rtl8187_rx_cb() calcula la dirección de la cabecera del descriptor rx restando su tamaño del puntero de cola del skb. Sin embargo, no valida si el paquete recibido (skb -> len de urb -> actual_length) es lo suficientemente grande para contener esta cabecera.\n\nSi se recibe un paquete truncado, esto conducirá a un desbordamiento negativo de búfer, leyendo memoria antes del inicio del área de datos del skb, y causando un kernel panic.\n\nAñadir comprobaciones de longitud para las cabeceras de descriptor tanto de rtl8187 como de rtl8187b antes de intentar acceder a ellas, descartando el paquete limpiamente si la comprobación falla.","source":"nvd"}],"published":"2025-12-24T10:32:50.492Z","modified":"2026-10-13T11:10:00.203Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"118e12bf3e4288cf845cd3759bd9d4c99f91aab5","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"6a96bd0d94305fd04a6ac64446ec113bae289384","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"e2f3ea15e804607e0a4a34a2f6c331c8750b68bc","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"dc153401fb26c1640a2b279c47b65e1c416af276","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"4758770a673c60d8f615809304d72e1432fa6355","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"638d4148e166d114a4cd7becaae992ce1a815ed8","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15","status":"affected"},{"type":"git","introduced":"6f7853f3cbe457067e9fe05461f56c7ea4ac488c","fixed":"b647d2574e4583c2e3b0ab35568f60c88e910840","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.27","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","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.63","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","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/118e12bf3e4288cf845cd3759bd9d4c99f91aab5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a96bd0d94305fd04a6ac64446ec113bae289384","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2f3ea15e804607e0a4a34a2f6c331c8750b68bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc153401fb26c1640a2b279c47b65e1c416af276","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4758770a673c60d8f615809304d72e1432fa6355","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/638d4148e166d114a4cd7becaae992ce1a815ed8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b647d2574e4583c2e3b0ab35568f60c88e910840","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68362","url":"https://www.cve.org/CVERecord?id=CVE-2025-68362","licence":"CVE Terms of Use","modified":"2026-05-11T21:51:44.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68362","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68362","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.868Z","epss":{"score":0.00228,"percentile":0.14444,"date":"2026-12-01T12:00:22.000Z"}}