Bug 2424858 (CVE-2025-68362) - CVE-2025-68362 kernel: wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()
Summary: CVE-2025-68362 kernel: wifi: rtl818x: rtl8187: Fix potential buffer underflow...
Keywords:
Status: NEW
Alias: CVE-2025-68362
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 11:01 UTC by OSIDB Bzimport
Modified: 2026-01-13 20:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 11:01:30 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.