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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ed194d1367698a0872a2b75bbe06b3932ce9df3a to < 67b0c6f098c56e16e19dde053cd260d95074bbd3affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < 482046984d01ca3accd69512950939635d574123affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < 689e513591d1f59676be1fcb2e34c7e4d37aa52daffecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < ff881a3b779034822c317ce30765adba729cc051affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < 12868c6617ecdb8efa9987a0ff192ec6e4814813affecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < e892f7cabe1931f30e4edd53c5149ddf40b261ceaffecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < 3da6b10b71c840e22ef08e60a897b839b564cf4aaffecteded194d1367698a0872a2b75bbe06b3932ce9df3a to < 95a5c641fc7becab441bf244baa73b0b0f8b7deaaffected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗