__tun_detach
drivers/net/tun.c
Last patched
Overview
__tun_detach in drivers/net/tun.c (torvalds/linux) was changed by 1 published CVE fix in 2024, in 6 distinct patches that added or removed 1 lines in total.
torvalds/linux has 20,173 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, newest first, with the lines each fix touched.
CVE-2022-49014 · line 745 · +0 −1
High · CVSS 7.8EPSS 0.3%2024-10-21
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_detach_alldrivers/net/tun.c6 patches · 1 CVE2025
- 6tun_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.
- How many CVEs have patched __tun_detach?
- 1 published CVEs changed __tun_detach in torvalds/linux, in 6 distinct patches totalling 1 changed lines, between 2024 and 2024.
- What is the latest CVE that changed __tun_detach?
- CVE-2022-49014 (net: tun: Fix use-after-free in tun_detach()), published 2024-10-21, changed lines 745 of drivers/net/tun.c.
- How does __tun_detach compare to the rest of torvalds/linux?
- torvalds/linux has 20,173 CVEs with a located fix in total; 1 of them changed __tun_detach.
- 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.