# CVE-2025-21877: usbnet: gl620a: fix endpoint checking in genelink\_bind()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-03-27T14:57:07.462Z
- **Modified:** 2026-11-05T21:17:44.767Z

## Who should check

- Anyone running Linux \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 5f2dbabbce04b1ffcd6d8d07564adb94db577536; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 24dd971104057c8828d420a48e0a5af6e6f30d3e; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 67ebc3391c8377738e97a43374054d9718fdb6e4; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< a2ee5e55b50a97d13617c8653482c0ad4decff8c; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 4e8b8d43373bf837be159366f0192502f97ec7a5; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< ded25730c96949cb8b048b29c557e38569124943; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 1cf9631d836b289bd5490776551961c883ae8a4f
- Anyone running Linux 2.6.14

## Description

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

usbnet: gl620a: fix endpoint checking in genelink\_bind()

Syzbot reports \[1\] a warning in usb\_submit\_urb() triggered by
inconsistencies between expected and actually present endpoints
in gl620a driver. Since genelink\_bind() does not properly
verify whether specified eps are in fact provided by the device,
in this case, an artificially manufactured one, one may get a
mismatch.

Fix the issue by resorting to a usbnet utility function
usbnet\_get\_endpoints(), usually reserved for this very problem.
Check for endpoints and return early before proceeding further if
any are missing.

\[1\] Syzbot report:
usb 5-1: Manufacturer: syz
usb 5-1: SerialNumber: syz
usb 5-1: config 0 descriptor??
gl620a 5-1:0.23 usb0: register 'gl620a' at usb-dummy\_hcd.0-1, ...
------------\[ cut here \]------------
usb 5-1: BOGUS urb xfer, pipe 3 != type 1
WARNING: CPU: 2 PID: 1841 at drivers/usb/core/urb.c:503 usb\_submit\_urb+0xe4b/0x1730 drivers/usb/core/urb.c:503
Modules linked in:
CPU: 2 UID: 0 PID: 1841 Comm: kworker/2:2 Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 \#0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: mld mld\_ifc\_work
RIP: 0010:usb\_submit\_urb+0xe4b/0x1730 drivers/usb/core/urb.c:503
...
Call Trace:
 \<TASK\>
 usbnet\_start\_xmit+0x6be/0x2780 drivers/net/usb/usbnet.c:1467
 \_\_netdev\_start\_xmit include/linux/netdevice.h:5002 \[inline\]
 netdev\_start\_xmit include/linux/netdevice.h:5011 \[inline\]
 xmit\_one net/core/dev.c:3590 \[inline\]
 dev\_hard\_start\_xmit+0x9a/0x7b0 net/core/dev.c:3606
 sch\_direct\_xmit+0x1ae/0xc30 net/sched/sch\_generic.c:343
 \_\_dev\_xmit\_skb net/core/dev.c:3827 \[inline\]
 \_\_dev\_queue\_xmit+0x13d4/0x43e0 net/core/dev.c:4400
 dev\_queue\_xmit include/linux/netdevice.h:3168 \[inline\]
 neigh\_resolve\_output net/core/neighbour.c:1514 \[inline\]
 neigh\_resolve\_output+0x5bc/0x950 net/core/neighbour.c:1494
 neigh\_output include/net/neighbour.h:539 \[inline\]
 ip6\_finish\_output2+0xb1b/0x2070 net/ipv6/ip6\_output.c:141
 \_\_ip6\_finish\_output net/ipv6/ip6\_output.c:215 \[inline\]
 ip6\_finish\_output+0x3f9/0x1360 net/ipv6/ip6\_output.c:226
 NF\_HOOK\_COND include/linux/netfilter.h:303 \[inline\]
 ip6\_output+0x1f8/0x540 net/ipv6/ip6\_output.c:247
 dst\_output include/net/dst.h:450 \[inline\]
 NF\_HOOK include/linux/netfilter.h:314 \[inline\]
 NF\_HOOK include/linux/netfilter.h:308 \[inline\]
 mld\_sendpack+0x9f0/0x11d0 net/ipv6/mcast.c:1819
 mld\_send\_cr net/ipv6/mcast.c:2120 \[inline\]
 mld\_ifc\_work+0x740/0xca0 net/ipv6/mcast.c:2651
 process\_one\_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
 process\_scheduled\_works kernel/workqueue.c:3310 \[inline\]
 worker\_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret\_from\_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:244
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 5f2dbabbce04b1ffcd6d8d07564adb94db577536; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 24dd971104057c8828d420a48e0a5af6e6f30d3e; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 67ebc3391c8377738e97a43374054d9718fdb6e4; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< a2ee5e55b50a97d13617c8653482c0ad4decff8c; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 4e8b8d43373bf837be159366f0192502f97ec7a5; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< ded25730c96949cb8b048b29c557e38569124943; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 1cf9631d836b289bd5490776551961c883ae8a4f (cvelist)
- Linux: 2.6.14 (cvelist)

## Mitigation

- Upgrade Linux to 1cf9631d836b289bd5490776551961c883ae8a4f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21877. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21877.md
Affected: Linux >= 47ee3051c856cc2aa95d35d577a8cb37279d540f, < 5f2dbabbce04b1ffcd6d8d07564adb94db577536; >= 47ee3051c856cc2aa95d35d577a8cb37279d540f, < 24dd971104057c8828d420a48e0a5af6e6f30d3e; >= 47ee3051c856cc2aa95d35d577a8cb37279d540f, < 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc; >= 47ee3051c856cc2aa95d35d…
Fixed in: Linux 5f2dbabbce04b1ffcd6d8d07564adb94db577536, Linux 24dd971104057c8828d420a48e0a5af6e6f30d3e, Linux 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc, Linux 67ebc3391c8377738e97a43374054d9718fdb6e4, Linux 4e8b8d43373bf837be159366f0192502f97ec7a5, Linux 1cf9631d836b289bd5490776551961c883ae8a4f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21877 being exploited?

There is no confirmed exploitation: CVE-2025-21877 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21877?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21877?

Linux \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 5f2dbabbce04b1ffcd6d8d07564adb94db577536; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 24dd971104057c8828d420a48e0a5af6e6f30d3e; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 67ebc3391c8377738e97a43374054d9718fdb6e4; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< a2ee5e55b50a97d13617c8653482c0ad4decff8c; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 4e8b8d43373bf837be159366f0192502f97ec7a5; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< ded25730c96949cb8b048b29c557e38569124943; \>= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \< 1cf9631d836b289bd5490776551961c883ae8a4f; Linux 2.6.14.

### Is there a fix for CVE-2025-21877?

Yes. Fixed in Linux 5f2dbabbce04b1ffcd6d8d07564adb94db577536, Linux 24dd971104057c8828d420a48e0a5af6e6f30d3e, Linux 9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc, Linux 67ebc3391c8377738e97a43374054d9718fdb6e4, Linux 4e8b8d43373bf837be159366f0192502f97ec7a5, Linux 1cf9631d836b289bd5490776551961c883ae8a4f. Upgrade Linux to 1cf9631d836b289bd5490776551961c883ae8a4f or later.

### How do I check if I'm affected by CVE-2025-21877?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5f2dbabbce04b1ffcd6d8d07564adb94db577536>
- patch: <https://git.kernel.org/stable/c/24dd971104057c8828d420a48e0a5af6e6f30d3e>
- patch: <https://git.kernel.org/stable/c/9bcb8cbc3e5d67eb223bfb7e2291a270dbb699dc>
- patch: <https://git.kernel.org/stable/c/67ebc3391c8377738e97a43374054d9718fdb6e4>
- patch: <https://git.kernel.org/stable/c/a2ee5e55b50a97d13617c8653482c0ad4decff8c>
- patch: <https://git.kernel.org/stable/c/4e8b8d43373bf837be159366f0192502f97ec7a5>
- patch: <https://git.kernel.org/stable/c/ded25730c96949cb8b048b29c557e38569124943>
- patch: <https://git.kernel.org/stable/c/1cf9631d836b289bd5490776551961c883ae8a4f>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21877>

HTML: <https://flawdb.com/CVE-2025-21877> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21877>
