Description
In the Linux kernel, the following vulnerability has been resolved: net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll netpoll holds the txq lock and calls ndo_start_xmit() with IRQs off but BHs on. The spin_unlock_bh() in cdc_ncm_tx_fixup() then runs pending softirqs. If one of them transmits, it spins on the txq lock that netpoll holds. With netconsole on a cdc_ncm device this ends in a soft or hard lockup. Every caller of cdc_ncm_tx_fixup() holds the txq lock with BHs or IRQs off, so the softirq user of ctx->mtx cannot interrupt it. Use plain spin_lock().
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
c84ff1d6dff38058a5bd20cb633d13a0f685788a to < 269d8021d1ff82003cd95d32b522ac4b62ee8270affectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 859cb228907cc427eda438fae8ac4bf7015bc656affectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 8212dbfa78ba0ee21d829fc23c93f39f4084a39caffectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 2b85b062519efc0c51fd6cc9915ac3a2521ccae2affectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 38b69434c200dd232df60f546071475854741b9faffectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 73a249adb77fa2fd02bb44c275f2890048d3b5ceaffectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 8b70445ba6d55b46d2e2159d8c7381458be1b987affectedc84ff1d6dff38058a5bd20cb633d13a0f685788a to < 108ca34cf4b453f6375a70079e32b11866b02601affected
Linux Linux
Default version status: affected
3.4affected0 to < 3.4unaffected5.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/269d8021d1ff82003cd95d32b522ac4b62ee8270 ↗
- https://git.kernel.org/stable/c/859cb228907cc427eda438fae8ac4bf7015bc656 ↗
- https://git.kernel.org/stable/c/8212dbfa78ba0ee21d829fc23c93f39f4084a39c ↗
- https://git.kernel.org/stable/c/2b85b062519efc0c51fd6cc9915ac3a2521ccae2 ↗
- https://git.kernel.org/stable/c/38b69434c200dd232df60f546071475854741b9f ↗
- https://git.kernel.org/stable/c/73a249adb77fa2fd02bb44c275f2890048d3b5ce ↗
- https://git.kernel.org/stable/c/8b70445ba6d55b46d2e2159d8c7381458be1b987 ↗
- https://git.kernel.org/stable/c/108ca34cf4b453f6375a70079e32b11866b02601 ↗