CVE-2025-68362

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before 118e12bf3e4288cf845cd3759bd9d4c99f91aab5Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before 6a96bd0d94305fd04a6ac64446ec113bae289384Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before e2f3ea15e804607e0a4a34a2f6c331c8750b68bcAffected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before dc153401fb26c1640a2b279c47b65e1c416af276Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before 4758770a673c60d8f615809304d72e1432fa6355Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before 638d4148e166d114a4cd7becaae992ce1a815ed8Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before 5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15Affected
  • 6f7853f3cbe457067e9fe05461f56c7ea4ac488c to before b647d2574e4583c2e3b0ab35568f60c88e910840Affected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.63 through 6.12.*Not affected
  • 6.17.13 through 6.17.*Not affected
  • 6.18.2 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.