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

Summary

CVECVE-2025-68362
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-24 11:15:59 UTC
Updated2026-10-13 11:10:00 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c 118e12bf3e4288cf845cd3759bd9d4c99f91aab5 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c 6a96bd0d94305fd04a6ac64446ec113bae289384 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c e2f3ea15e804607e0a4a34a2f6c331c8750b68bc git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c dc153401fb26c1640a2b279c47b65e1c416af276 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c 4758770a673c60d8f615809304d72e1432fa6355 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c 638d4148e166d114a4cd7becaae992ce1a815ed8 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c 5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15 git Not specified
CNA Linux Linux affected 6f7853f3cbe457067e9fe05461f56c7ea4ac488c b647d2574e4583c2e3b0ab35568f60c88e910840 git Not specified
CNA Linux Linux affected 2.6.27 Not specified
CNA Linux Linux unaffected 2.6.27 semver Not specified
CNA Linux Linux unaffected 5.10.248 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.198 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.160 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.120 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.63 6.12.* semver Not specified
CNA Linux Linux unaffected 6.17.13 6.17.* semver Not specified
CNA Linux Linux unaffected 6.18.2 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/dc153401fb26c1640a2b279c47b65e1c416af276 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4758770a673c60d8f615809304d72e1432fa6355 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e2f3ea15e804607e0a4a34a2f6c331c8750b68bc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/118e12bf3e4288cf845cd3759bd9d4c99f91aab5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b647d2574e4583c2e3b0ab35568f60c88e910840 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6a96bd0d94305fd04a6ac64446ec113bae289384 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5ebf0fe7eaef9f6173a4c6ea77c5353e21645d15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/638d4148e166d114a4cd7becaae992ce1a815ed8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report