CVE-2025-68362

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

No CVSS score yet EPSS 0.23%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-68362

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68362 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before 118e12bf3e4288cf845cd3759bd9d4c99f91aab5
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before 6a96bd0d94305fd04a6ac64446ec113bae289384
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before e2f3ea15e804607e0a4a34a2f6c331c8750b68bc
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before dc153401fb26c1640a2b279c47b65e1c416af276
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before 4758770a673c60d8f615809304d72e1432fa6355
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before 638d4148e166d114a4cd7becaae992ce1a815ed8
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before 5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15
affected from 6f7853f3cbe457067e9fe05461f56c7ea4ac488c, before b647d2574e4583c2e3b0ab35568f60c88e910840
Other versions: unaffected
Linux
affected 2.6.27
unaffected before 2.6.27
unaffected from 5.10.248 up to and including 5.10.*
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.160 up to and including 6.1.*
unaffected from 6.6.120 up to and including 6.6.*
unaffected from 6.12.63 up to and including 6.12.*
unaffected from 6.17.13 up to and including 6.17.*
unaffected from 6.18.2 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68362 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68362

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-68362
trivy image --scanners vuln IMAGE | grep CVE-2025-68362

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-68362 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.