# CVE-2021-47356: mISDN: fix possible use-after-free in HFC\_cleanup()

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; 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.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-21T14:35:59.097Z
- **Modified:** 2026-06-17T04:17:16.827Z

## Who should check

- Anyone running Linux \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 54ff3202928952a100c477248e65ac6db01258a7; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 7867ddc5f3de7f289aee63233afc0df4b62834c5; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 5f2818185da0fe82a932f0856633038b66faf124; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 3ecd228c636ee17c14662729737fa07242a93cb0; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 61370ff07e0acc657559a8fac02551dfeb9d3020; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 009fc857c5f6fda81f2f7dd851b2d54193a8e733
- Anyone running Linux 2.6.29

## Description

In the Linux kernel, the following vulnerability has been resolved:

mISDN: fix possible use-after-free in HFC\_cleanup()

This module's remove path calls del\_timer(). However, that function
does not wait until the timer handler finishes. This means that the
timer handler may still be running after the driver's remove function
has finished, which would result in a use-after-free.

Fix by calling del\_timer\_sync(), which makes sure the timer handler
has finished, and unable to re-schedule itself.

## Affected and fixed versions

- Linux: \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 54ff3202928952a100c477248e65ac6db01258a7; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 7867ddc5f3de7f289aee63233afc0df4b62834c5; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 5f2818185da0fe82a932f0856633038b66faf124; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 3ecd228c636ee17c14662729737fa07242a93cb0; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 61370ff07e0acc657559a8fac02551dfeb9d3020; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 009fc857c5f6fda81f2f7dd851b2d54193a8e733 (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- Upgrade Linux to 009fc857c5f6fda81f2f7dd851b2d54193a8e733 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47356. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47356.md
Affected: Linux >= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, < 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe; >= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, < 54ff3202928952a100c477248e65ac6db01258a7; >= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, < 7867ddc5f3de7f289aee63233afc0df4b62834c5; >= 87c5fa1bb42624254a2013c…
Fixed in: Linux 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe, Linux 54ff3202928952a100c477248e65ac6db01258a7, Linux 7867ddc5f3de7f289aee63233afc0df4b62834c5, Linux 5f2818185da0fe82a932f0856633038b66faf124, Linux 3ecd228c636ee17c14662729737fa07242a93cb0, Linux 61370ff07e0acc657559a8fac02551dfeb9d3020, Linux 009fc…

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-47356 being exploited?

There is no confirmed exploitation: CVE-2021-47356 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47356?

High: CVSS 7.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47356?

Linux \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 54ff3202928952a100c477248e65ac6db01258a7; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 7867ddc5f3de7f289aee63233afc0df4b62834c5; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 5f2818185da0fe82a932f0856633038b66faf124; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 3ecd228c636ee17c14662729737fa07242a93cb0; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 61370ff07e0acc657559a8fac02551dfeb9d3020; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda; \>= 87c5fa1bb42624254a2013cbbc3b170d6017f5d6, \< 009fc857c5f6fda81f2f7dd851b2d54193a8e733; Linux 2.6.29.

### Is there a fix for CVE-2021-47356?

Yes. Fixed in Linux 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe, Linux 54ff3202928952a100c477248e65ac6db01258a7, Linux 7867ddc5f3de7f289aee63233afc0df4b62834c5, Linux 5f2818185da0fe82a932f0856633038b66faf124, Linux 3ecd228c636ee17c14662729737fa07242a93cb0, Linux 61370ff07e0acc657559a8fac02551dfeb9d3020, Linux 009fc857c5f6fda81f2f7dd851b2d54193a8e733. Upgrade Linux to 009fc857c5f6fda81f2f7dd851b2d54193a8e733 or later.

### How do I check if I'm affected by CVE-2021-47356?

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/49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe>
- patch: <https://git.kernel.org/stable/c/54ff3202928952a100c477248e65ac6db01258a7>
- patch: <https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5>
- patch: <https://git.kernel.org/stable/c/5f2818185da0fe82a932f0856633038b66faf124>
- patch: <https://git.kernel.org/stable/c/3ecd228c636ee17c14662729737fa07242a93cb0>
- patch: <https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d>
- patch: <https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020>
- patch: <https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda>
- patch: <https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733>

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

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