CVE-2021-47294
Last modified
CVE-2021-47294 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.4.173, < 4.4.277 | — |
| Linux | Linux Kernel | >= 4.9.155, < 4.9.277 | — |
| Linux | Linux Kernel | >= 4.14.98, < 4.14.241 | — |
| Linux | Linux Kernel | >= 4.19.20, < 4.19.199 | — |
| Linux | Linux Kernel | >= 5.0, < 5.4.136 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.54 | — |
| Linux | Linux Kernel | >= 5.11, < 5.13.6 | — |
| Linux | Linux Kernel | 3.18.134 | — |
| Linux | Linux Kernel | 4.20.7 | — |
| Linux | Linux Kernel | 5.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47294?
How severe is CVE-2021-47294?
How do I fix CVE-2021-47294?
Are you affected by CVE-2021-47294?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
