---
id: CVE-2025-68362
title: |-
  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 …
summary: |-
  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 …
severity: none
published: '2025-12-24'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68362'
references:
  - url: 'https://git.kernel.org/stable/c/118e12bf3e4288cf845cd3759bd9d4c99f91aab5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4758770a673c60d8f615809304d72e1432fa6355'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/638d4148e166d114a4cd7becaae992ce1a815ed8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6a96bd0d94305fd04a6ac64446ec113bae289384'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b647d2574e4583c2e3b0ab35568f60c88e910840'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dc153401fb26c1640a2b279c47b65e1c416af276'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e2f3ea15e804607e0a4a34a2f6c331c8750b68bc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00212
epssPercentile: 0.1064
ingestedAt: '2026-10-13T11:23:51.151Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
