CVE-2021-47294

netrom: Decrease sock refcount when sock timers expire

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
19.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00276 · 19.0th percentile
Published
2024-05-21T14:35Z
EPSS history
Timeline
  • 21 MAY 14:35Z
    netrom: Decrease sock refcount when sock timers expire
    cvelistv5