# CVE-2025-68362: wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-24T10:32:50.492Z
- Modified: 2026-10-13T11:10:00.203Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()

The rtl8187_rx_cb() calculates the rx descriptor header address
by subtracting its size from the skb tail pointer.
However, it does not validate if the received packet
(skb->len from urb->actual_length) is large enough to contain this
header.

If a truncated packet is received, this will lead to a buffer
underflow, reading memory before the start of the skb data area,
and causing a kernel panic.

Add length checks for both rtl8187 and rtl8187b descriptor headers
before attempting to access them, dropping the packet cleanly if the
check fails.

(As written by CVE List.)

## Affected

- Linux Linux: from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before 118e12bf3e4288cf845cd3759bd9d4c99f91aab5; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before 6a96bd0d94305fd04a6ac64446ec113bae289384; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before e2f3ea15e804607e0a4a34a2f6c331c8750b68bc; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before dc153401fb26c1640a2b279c47b65e1c416af276; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before 4758770a673c60d8f615809304d72e1432fa6355; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before 638d4148e166d114a4cd7becaae992ce1a815ed8; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before 5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15; from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c before b647d2574e4583c2e3b0ab35568f60c88e910840; 2.6.27 (not affected: before 2.6.27; from 5.10.248 up to 5.10.*; from 5.15.198 up to 5.15.*; from 6.1.160 up to 6.1.*; from 6.6.120 up to 6.6.*; from 6.12.63 up to 6.12.*; from 6.17.13 up to 6.17.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/118e12bf3e4288cf845cd3759bd9d4c99f91aab5>
- <https://git.kernel.org/stable/c/6a96bd0d94305fd04a6ac64446ec113bae289384>
- <https://git.kernel.org/stable/c/e2f3ea15e804607e0a4a34a2f6c331c8750b68bc>
- <https://git.kernel.org/stable/c/dc153401fb26c1640a2b279c47b65e1c416af276>
- <https://git.kernel.org/stable/c/4758770a673c60d8f615809304d72e1432fa6355>
- <https://git.kernel.org/stable/c/638d4148e166d114a4cd7becaae992ce1a815ed8>
- <https://git.kernel.org/stable/c/5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15>
- <https://git.kernel.org/stable/c/b647d2574e4583c2e3b0ab35568f60c88e910840>

## Sources

- CVE List: [CVE-2025-68362](https://www.cve.org/CVERecord?id=CVE-2025-68362), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68362](https://nvd.nist.gov/vuln/detail/CVE-2025-68362), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-68362 · Whole record: https://cve.day/CVE-2025-68362.json · Rebuilt by cve.day 2026-11-25T22:59:09.868Z
