usbnet: fix smp_processor_id() use in preemptible context
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
usbnet: fix smp_processor_id() use in preemptible context
tx_complete() calls this_cpu_ptr() before disabling preemption, which triggers a BUG when running with CONFIG_DEBUG_PREEMPT:
BUG: using smp_processor_id() in preemptible code in tx_complete
Fix by using get_cpu_ptr()/put_cpu_ptr() which disable preemption and return the per-CPU pointer atomically. The usbnet_skb_return() hunk is a hardening change: that path runs in softirq context so no warning fires there, but the same fix is applied for consistency.
| Product | Versions |
|---|---|
| Linux Linux | ed194d1367698a0872a2b75bbe06b3932ce9df3a to before 67b0c6f098c56e16e19dde053cd260d95074bbd3 Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before 482046984d01ca3accd69512950939635d574123 Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before 689e513591d1f59676be1fcb2e34c7e4d37aa52d Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before ff881a3b779034822c317ce30765adba729cc051 Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before 12868c6617ecdb8efa9987a0ff192ec6e4814813 Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before e892f7cabe1931f30e4edd53c5149ddf40b261ce Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before 3da6b10b71c840e22ef08e60a897b839b564cf4a Affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to before 95a5c641fc7becab441bf244baa73b0b0f8b7dea Affected |
| Linux Linux | 4.20 Affectedbefore 4.20 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/67b0c6f098c56e16e19dde053cd260d95074bbd3
- https://git.kernel.org/stable/c/482046984d01ca3accd69512950939635d574123
- https://git.kernel.org/stable/c/689e513591d1f59676be1fcb2e34c7e4d37aa52d
- https://git.kernel.org/stable/c/ff881a3b779034822c317ce30765adba729cc051
- https://git.kernel.org/stable/c/12868c6617ecdb8efa9987a0ff192ec6e4814813
- https://git.kernel.org/stable/c/e892f7cabe1931f30e4edd53c5149ddf40b261ce
- https://git.kernel.org/stable/c/3da6b10b71c840e22ef08e60a897b839b564cf4a
- https://git.kernel.org/stable/c/95a5c641fc7becab441bf244baa73b0b0f8b7dea
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.