CVE-2021-47294

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47294
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47294.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-47294
Downstream
Related
Published
2024-05-21T15:15:17Z
Modified
2025-08-09T20:01:26Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 modtimer() by skresettimer(), and deltimer() by skstoptimer().

Function skresettimer() 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

Affected packages