tun_detach_all
drivers/net/tun.c
Last patched
Overview
tun_detach_all in drivers/net/tun.c (torvalds/linux) was changed by 1 published CVE fix in 2025, in 6 distinct patches that added or removed 1 lines in total.
torvalds/linux has 20,419 CVEs with a located fix in total, so 0% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed tun_detach_all, newest first, with the lines each fix touched.
CVE-2022-49672 · line 800 · +1 −0
High · CVSS 7.8EPSS 0.3%2025-02-26
Get an alert when the next CVE fix lands in torvalds/linux, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1tun_get_userdrivers/net/tun.c26 patches · 5 CVEs2025 to 2026
- 2tun_xdp_onedrivers/net/tun.c12 patches · 3 CVEs2025 to 2026
- 3tun_set_iffdrivers/net/tun.c11 patches · 4 CVEs2019 to 2026
- 4tun_net_initdrivers/net/tun.c6 patches · 3 CVEs2012 to 2024
- 5tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 6__tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 7tun_not_capabledrivers/net/tun.c4 patches · 1 CVE2026
- 8tun_ptr_to_xdpdrivers/net/tun.c3 patches · 1 CVE2024
Other hotspots in the repository
Functions in torvalds/linux changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to tun_detach_all.
- How many CVEs have patched tun_detach_all?
- 1 published CVEs changed tun_detach_all in torvalds/linux, in 6 distinct patches totalling 1 changed lines, between 2025 and 2025.
- What is the latest CVE that changed tun_detach_all?
- CVE-2022-49672 (net: tun: unlink NAPI from device on destruction), published 2025-02-26, changed lines 800 of drivers/net/tun.c.
- How does tun_detach_all compare to the rest of torvalds/linux?
- torvalds/linux has 20,419 CVEs with a located fix in total; 1 of them changed tun_detach_all.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- drivers/net/tun.c on GitHub (opens in a new tab)
- All patched functions in torvalds/linux
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track torvalds/linux CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.