CVE-2021-47294
Description
In the Linux kernel, the following vulnerability has been resolved: netrom: Decrease sock refcount when sock timers expire Commit 63346650c1a9 ("netrom: switch to sock timer API") switched to use sock timer API. It replaces mod_timer() by sk_reset_timer(), and del_timer() by sk_stop_timer(). Function sk_reset_timer() will increase the refcount of sock if it is called on an inactive timer, hence, in case the timer expires, we need to decrease the refcount ourselves in the handler, otherwise, the sock refcount will be unbalanced and the sock will never be freed.
How to fix
- linux linux_kernel4.4.277, 4.9.277, 4.14.241, 4.19.199, 5.4.136, 5.10.54, 5.13.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.4.173 ≤ v < 4.4.277, 4.9.155 ≤ v < 4.9.277, 4.14.98 ≤ v < 4.14.241, 4.19.20 ≤ v < 4.19.199, 5.0 ≤ v < 5.4.136, 5.5 ≤ v < 5.10.54, 5.11 ≤ v < 5.13.6, 3.18.134, 4.20.7, 5.14 | 4.4.277, 4.9.277, 4.14.241, 4.19.199, 5.4.136, 5.10.54, 5.13.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.