CVE-2021-47294
MEDIUMLinux kernel - Info Disclosure
Title source: llmDescription
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.
References (8)
Scores
CVSS v3
5.5
EPSS
0.0002
EPSS Percentile
3.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-672
Status
published
Affected Products (5)
linux/linux_kernel
< 4.4.277
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
Timeline
Published
May 21, 2024
Tracked Since
Feb 18, 2026