CVEvulnerability

CVE-2021-47294

5.5 MEDIUM Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-672

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

  • CWE-672 Operation on a Resource after Expiration or Release weakness

References