Security mailing lists by PureSourceCode

CVE-2021-47294

MEDIUM 5.5CVSS 3.1

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.

Published
21 May 2024
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-672
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.4.173, < 4.4.277 4.4.277
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.9.155, < 4.9.277 4.9.277
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.14.98, < 4.14.241 4.14.241
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.19.20, < 4.19.199 4.19.199
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.0, < 5.4.136 5.4.136
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.5, < 5.10.54 5.10.54
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.13.6 5.13.6
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:3.18.134:*:*:*:*:*:*:*
= 3.18.134
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:4.20.7:*:*:*:*:*:*:*
= 4.20.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
= 5.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*
= 5.14

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.