CVE-2021-47294
netrom: Decrease sock refcount when sock timers expire
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ce29e8a259de767f7210d346ad2b031cb8ab2732, < 853262355518cd1247515b74e83fabf038aa6c29; >= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, < a01634bf91f2b6c42583770eb6815fb6d1e251cf; >= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, < 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; >= 2c6b572458a9127e8070df13fa7f115c29ab1d92, < 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 25df44e90ff5959b5c24ad361b648504a7e39ef3; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 6811744bd0efb9e472cb15d066cdb460beb8cb8a; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < bc1660206c3723c37ed4d622ad81781f1e987250; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 517a16b1a88bdb6b530f48d5d153478b2552d9a8; f1d9a1f2ef6ff17293d21d5e6b80e04bea0cf508; 519e8a22a454b1f1baa3a151b184fe51bc18e178; …
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= ce29e8a259de767f7210d346ad2b031cb8ab2732, < 853262355518cd1247515b74e83fabf038aa6c29; >= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, < a01634bf91f2b6c42583770eb6815fb6d1e251cf; >= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, < 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; >= 2c6b572458a9127e8070df13fa7f115c29ab1d92, < 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 25df44e90ff5959b5c24ad361b648504a7e39ef3; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 6811744bd0efb9e472cb15d066cdb460beb8cb8a; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < bc1660206c3723c37ed4d622ad81781f1e987250; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 517a16b1a88bdb6b530f48d5d153478b2552d9a8; f1d9a1f2ef6ff17293d21d5e6b80e04bea0cf508; 519e8a22a454b1f1baa3a151b184fe51bc18e178; …; Linux 5.0
- Fixed in
- Linux 853262355518cd1247515b74e83fabf038aa6c29, Linux 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef, Linux 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950, Linux 25df44e90ff5959b5c24ad361b648504a7e39ef3, Linux 6811744bd0efb9e472cb15d066cdb460beb8cb8a, Linux 517a16b1a88bdb6b530f48d5d153478b2552d9a8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 29, 2026-11-26)
- CWE
- CWE-672
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ce29e8a259de767f7210d346ad2b031cb8ab2732, < 853262355518cd1247515b74e83fabf038aa6c29; >= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, < a01634bf91f2b6c42583770eb6815fb6d1e251cf; >= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, < 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; >= 2c6b572458a9127e8070df13fa7f115c29ab1d92, < 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 25df44e90ff5959b5c24ad361b648504a7e39ef3; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 6811744bd0efb9e472cb15d066cdb460beb8cb8a; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < bc1660206c3723c37ed4d622ad81781f1e987250; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 517a16b1a88bdb6b530f48d5d153478b2552d9a8; f1d9a1f2ef6ff17293d21d5e6b80e04bea0cf508; 519e8a22a454b1f1baa3a151b184fe51bc18e178; … | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47294. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47294.md Affected: Linux >= ce29e8a259de767f7210d346ad2b031cb8ab2732, < 853262355518cd1247515b74e83fabf038aa6c29; >= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, < a01634bf91f2b6c42583770eb6815fb6d1e251cf; >= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, < 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; >= 2c6b572458a9127e8070df1… Fixed in: Linux 853262355518cd1247515b74e83fabf038aa6c29, Linux 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef, Linux 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950, Linux 25df44e90ff5959b5c24ad361b648504a7e39ef3, Linux 6811744bd0efb9e472cb15d066cdb460beb8cb8a, Linux 517a16b1a88bdb6b530f48d5d153478b2552d9a8 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2021-47294 being exploited?
There is no confirmed exploitation: CVE-2021-47294 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47294?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47294?
Linux >= ce29e8a259de767f7210d346ad2b031cb8ab2732, < 853262355518cd1247515b74e83fabf038aa6c29; >= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, < a01634bf91f2b6c42583770eb6815fb6d1e251cf; >= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, < 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; >= 2c6b572458a9127e8070df13fa7f115c29ab1d92, < 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 25df44e90ff5959b5c24ad361b648504a7e39ef3; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 6811744bd0efb9e472cb15d066cdb460beb8cb8a; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < bc1660206c3723c37ed4d622ad81781f1e987250; >= 63346650c1a94a92be61a57416ac88c0a47c4327, < 517a16b1a88bdb6b530f48d5d153478b2552d9a8; f1d9a1f2ef6ff17293d21d5e6b80e04bea0cf508; 519e8a22a454b1f1baa3a151b184fe51bc18e178; …; Linux 5.0.
Is there a fix for CVE-2021-47294?
Yes. Fixed in Linux 853262355518cd1247515b74e83fabf038aa6c29, Linux 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef, Linux 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950, Linux 25df44e90ff5959b5c24ad361b648504a7e39ef3, Linux 6811744bd0efb9e472cb15d066cdb460beb8cb8a, Linux 517a16b1a88bdb6b530f48d5d153478b2552d9a8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-47294?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.