CVE-2021-47294
netrom: Decrease sock refcount when sock timers expire
Reported by linux · Published May 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 5.13.6, 5.10.54, 5.4.136, 4.19.199, 4.14.241, 4.9.277, 4.4.277 |
| Linux | Linux | 517a16b1a88bdb6b530f48d5d153478b2552d9a8, 5.0, 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef, 4.21, 4.19.199, 4.14.241, 4.9.277, 4.4.277, 3.19 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ce29e8a259de767f7210d346ad2b031cb8ab2732, baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb |
| Linux | Linux | 5.0, 0, 4.4.277 |
| Linux | Linux | 4.20.7, *, 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb |
| linux | linux_kernel | 4.9.155, 4.14.98, 4.19.20 |
Timeline
- May 21, 2024 CVE Published
- May 22, 2024 EPSS Score (30 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (22 in total, the first dated here)
- Apr 29, 2026 Security Advisory (23 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47294
vulnetix vdb fixes CVE-2021-47294
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47294/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart