tun_net_init
drivers/net/tun.c
Last patched
Overview
tun_net_init in drivers/net/tun.c (torvalds/linux) was changed by 3 published CVE fixes between 2012 and 2024, in 6 distinct patches that added or removed 91 lines in total.
torvalds/linux has 20,667 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_net_init, newest first, with the lines each fix touched.
CVE-2021-47082 · lines 984–1390 · +44 −1 in 2 hunks
High · CVSS 7.8EPSS 0.3%2024-03-04CVE-2022-4744 · lines 962–1346 · +44 −1 in 2 hunks
High · CVSS 7.8EPSS 0.5%2023-03-30CVE-2011-4112 · line 531 · +1 −0
Medium · CVSS 5.5EPSS 0.5%2012-05-17
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_set_iffdrivers/net/tun.c15 patches · 4 CVEs2019 to 2026
- 3tun_xdp_onedrivers/net/tun.c12 patches · 3 CVEs2025 to 2026
- 4tun_not_capabledrivers/net/tun.c8 patches · 1 CVE2026
- 5tun_detach_alldrivers/net/tun.c6 patches · 1 CVE2025
- 6__tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 7tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 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_net_init.
- How many CVEs have patched tun_net_init?
- 3 published CVEs changed tun_net_init in torvalds/linux, in 6 distinct patches totalling 91 changed lines, between 2012 and 2024.
- What is the latest CVE that changed tun_net_init?
- CVE-2021-47082 (tun: avoid double free in tun_free_netdev), published 2024-03-04, changed lines 984 to 1390 of drivers/net/tun.c.
- How does tun_net_init compare to the rest of torvalds/linux?
- torvalds/linux has 20,667 CVEs with a located fix in total; 3 of them changed tun_net_init.
- 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.