tun_set_iff
drivers/net/tun.c
Last patched
Overview
tun_set_iff in drivers/net/tun.c (torvalds/linux) was changed by 4 published CVE fixes between 2019 and 2026, in 15 distinct patches that added or removed 119 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_set_iff, newest first, with the lines each fix touched.
CVE-2026-99281 · line 2799 · +1 −1
High · CVSS 7.8EPSS 0.2%2026-11-07CVE-2021-47082 · lines 2834–2860 · +7 −50 in 2 hunks
High · CVSS 7.8EPSS 0.3%2024-03-04CVE-2022-4744 · lines 2765–2791 · +7 −50 in 2 hunks
High · CVSS 7.8EPSS 0.5%2023-03-30CVE-2018-7191 · lines 2030–2032 · +3 −0
Medium · CVSS 5.5EPSS 0.7%2019-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_xdp_onedrivers/net/tun.c12 patches · 3 CVEs2025 to 2026
- 3tun_not_capabledrivers/net/tun.c8 patches · 1 CVE2026
- 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_detach_alldrivers/net/tun.c6 patches · 1 CVE2025
- 8tun_queue_resizedrivers/net/tun.c3 patches · 1 CVE2025
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_set_iff.
- How many CVEs have patched tun_set_iff?
- 4 published CVEs changed tun_set_iff in torvalds/linux, in 15 distinct patches totalling 119 changed lines, between 2019 and 2026.
- What is the latest CVE that changed tun_set_iff?
- CVE-2026-99281 (tun: Require CAP_NET_ADMIN to attach to an ownerless device), published 2026-11-07, changed lines 2799 of drivers/net/tun.c.
- How does tun_set_iff compare to the rest of torvalds/linux?
- torvalds/linux has 20,667 CVEs with a located fix in total; 4 of them changed tun_set_iff.
- 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.