CVE-2025-68362

Source
https://cve.org/CVERecord?id=CVE-2025-68362
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68362.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68362
Downstream
Related
Published
2025-12-24T10:32:50.492Z
Modified
2026-03-20T12:46:23.110909Z
Summary
wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()
Details

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

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

The rtl8187rxcb() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68362.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6f7853f3cbe457067e9fe05461f56c7ea4ac488c
Fixed
118e12bf3e4288cf845cd3759bd9d4c99f91aab5
Fixed
6a96bd0d94305fd04a6ac64446ec113bae289384
Fixed
e2f3ea15e804607e0a4a34a2f6c331c8750b68bc
Fixed
dc153401fb26c1640a2b279c47b65e1c416af276
Fixed
4758770a673c60d8f615809304d72e1432fa6355
Fixed
638d4148e166d114a4cd7becaae992ce1a815ed8
Fixed
5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15
Fixed
b647d2574e4583c2e3b0ab35568f60c88e910840

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68362.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.27
Fixed
5.10.248
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.198
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.160
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.63
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.13
Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68362.json"