tun_ptr_to_xdp
drivers/net/tun.c
Last patched
Overview
tun_ptr_to_xdp in drivers/net/tun.c (torvalds/linux) was changed by 1 published CVE fix in 2024, in 3 distinct patches that added or removed 3 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_ptr_to_xdp, newest first, with the lines each fix touched.
CVE-2021-47082 · lines 281–283 · +3 −0
High · CVSS 7.8EPSS 0.3%2024-03-04
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
- 6__tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 7tun_detachdrivers/net/tun.c6 patches · 1 CVE2024
- 8tun_not_capabledrivers/net/tun.c4 patches · 1 CVE2026
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_ptr_to_xdp.
- How many CVEs have patched tun_ptr_to_xdp?
- 1 published CVEs changed tun_ptr_to_xdp in torvalds/linux, in 3 distinct patches totalling 3 changed lines, between 2024 and 2024.
- What is the latest CVE that changed tun_ptr_to_xdp?
- CVE-2021-47082 (tun: avoid double free in tun_free_netdev), published 2024-03-04, changed lines 281 to 283 of drivers/net/tun.c.
- How does tun_ptr_to_xdp compare to the rest of torvalds/linux?
- torvalds/linux has 20,419 CVEs with a located fix in total; 1 of them changed tun_ptr_to_xdp.
- 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.