# CVE-2021-47356: mISDN: fix possible use-after-free in HFC_cleanup()

- Severity: High 7.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Published: 2024-05-21T14:35:59.097Z
- Modified: 2026-06-17T04:17:16.827Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 54ff3202928952a100c477248e65ac6db01258a7; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 7867ddc5f3de7f289aee63233afc0df4b62834c5; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 5f2818185da0fe82a932f0856633038b66faf124; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 3ecd228c636ee17c14662729737fa07242a93cb0; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 61370ff07e0acc657559a8fac02551dfeb9d3020; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda; from 87c5fa1bb42624254a2013cbbc3b170d6017f5d6 before 009fc857c5f6fda81f2f7dd851b2d54193a8e733; 2.6.29 (not affected: before 2.6.29; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.133 up to 5.4.*; from 5.10.51 up to 5.10.*; from 5.12.18 up to 5.12.*; from 5.13.3 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 1da177e4c3f4 before 49331c07ef0f; from 1da177e4c3f4 before 54ff32029289; from 1da177e4c3f4 before 7867ddc5f3de; from 1da177e4c3f4 before 5f2818185da0; from 1da177e4c3f4 before 3ecd228c636e; from 1da177e4c3f4 before b7ee9ae1e0cf; from 1da177e4c3f4 before 61370ff07e0a; from 1da177e4c3f4 before ed7c3739d0a0; from 1da177e4c3f4 before 009fc857c5f6; before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; and 5 more (not affected: from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.133 up to 5.4.*; from 5.10.51 up to 5.10.*; from 5.12.18 up to 5.12.*; from 5.13.3 up to 5.13.*; 5.14)

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2021-47356](https://www.cve.org/CVERecord?id=CVE-2021-47356), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47356](https://nvd.nist.gov/vuln/detail/CVE-2021-47356), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47356 · Whole record: https://cve.day/CVE-2021-47356.json · Rebuilt by cve.day 2026-11-25T22:58:08.814Z
