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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-672
- **Published:** 2024-05-21T14:35:18.034Z
- **Modified:** 2026-06-17T04:17:07.440Z

## 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

## 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

- Linux: \>= ce29e8a259de767f7210d346ad2b031cb8ab2732, \< 853262355518cd1247515b74e83fabf038aa6c29; \>= baa9e32336bf6d0d74a7c3486d2a27feaf57cd5f, \< a01634bf91f2b6c42583770eb6815fb6d1e251cf; \>= 0adf571fa34b27bd0b97b408cc0f0dc54b72f0eb, \< 48866fd5c361ea417ed24b43fc2a7dc2f5b060ef; \>= 2c6b572458a9127e8070df13fa7f115c29ab1d92, \< 9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950; \>= 63346650c1a94a92be61a57416ac88c0a47c4327, \< 25df44e90ff5959b5c24ad361b648504a7e39ef3; \>= 63346650c1a94a92be61a57416ac88c0a47c4327, \< 6811744bd0efb9e472cb15d066cdb460beb8cb8a; \>= 63346650c1a94a92be61a57416ac88c0a47c4327, \< bc1660206c3723c37ed4d622ad81781f1e987250; \>= 63346650c1a94a92be61a57416ac88c0a47c4327, \< 517a16b1a88bdb6b530f48d5d153478b2552d9a8; f1d9a1f2ef6ff17293d21d5e6b80e04bea0cf508; 519e8a22a454b1f1baa3a151b184fe51bc18e178; … (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

## 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.

## References

- patch: <https://git.kernel.org/stable/c/853262355518cd1247515b74e83fabf038aa6c29>
- patch: <https://git.kernel.org/stable/c/a01634bf91f2b6c42583770eb6815fb6d1e251cf>
- patch: <https://git.kernel.org/stable/c/48866fd5c361ea417ed24b43fc2a7dc2f5b060ef>
- patch: <https://git.kernel.org/stable/c/9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950>
- patch: <https://git.kernel.org/stable/c/25df44e90ff5959b5c24ad361b648504a7e39ef3>
- patch: <https://git.kernel.org/stable/c/6811744bd0efb9e472cb15d066cdb460beb8cb8a>
- patch: <https://git.kernel.org/stable/c/bc1660206c3723c37ed4d622ad81781f1e987250>
- patch: <https://git.kernel.org/stable/c/517a16b1a88bdb6b530f48d5d153478b2552d9a8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47294>

HTML: <https://flawdb.com/CVE-2021-47294> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47294>
