# CVE-2021-47294: netrom: Decrease sock refcount when sock timers expire

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-21 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2021-47294, DEBIAN-CVE-2021-47294
- Record: https://cvemate.com/vulnerability/CVE-2021-47294 · JSON: https://cvemate.com/vulnerability/CVE-2021-47294/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.276%, percentile 21.421%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 91)

- debian linux (Debian): \< 5.14.6-1
- ubuntu linux (Ubuntu): \< 4.4.0-274.308 \| \< 4.15.0-159.167 \| \< 5.4.0-88.99
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1149.155 \| \< 4.4.0-1187.202 \| \< 4.15.0-1112.119 \| \< 5.4.0-1057.60
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1057.60~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2054.56 \| \< 5.4.0-1069.73+fips2 \| All versions (No fix recorded)
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1112.119~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1124.137~14.04.1 \| \< 4.15.0-1124.137~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1059.62
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1124.137
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/853262355518cd1247515b74e83fabf038aa6c29>
- <https://git.kernel.org/stable/c/a01634bf91f2b6c42583770eb6815fb6d1e251cf>
- <https://git.kernel.org/stable/c/48866fd5c361ea417ed24b43fc2a7dc2f5b060ef>
- <https://git.kernel.org/stable/c/9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950>
- <https://git.kernel.org/stable/c/25df44e90ff5959b5c24ad361b648504a7e39ef3>
- <https://git.kernel.org/stable/c/6811744bd0efb9e472cb15d066cdb460beb8cb8a>
- <https://git.kernel.org/stable/c/bc1660206c3723c37ed4d622ad81781f1e987250>
- <https://git.kernel.org/stable/c/517a16b1a88bdb6b530f48d5d153478b2552d9a8>
- <https://ubuntu.com/security/CVE-2021-47294>
- <https://www.cve.org/CVERecord?id=CVE-2021-47294>
- <https://git.kernel.org/linus/517a16b1a88bdb6b530f48d5d153478b2552d9a8>
- <https://ubuntu.com/security/notices/USN-7863-1>
- <https://ubuntu.com/security/notices/USN-7865-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-47294>

---

Data as of 2026-12-05T04:58:32.745Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
