What’s Vulnerable › Vulnerabilities
CVE-2022-49672: net: tun: unlink NAPI from device on destruction
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: net: tun: unlink NAPI from device on destruction Syzbot found a race between tun file and device destruction. NAPIs live in struct tun_file which can get destroyed before the netdev so we have to del them explicitly. The current code is missing deleting the NAPI if the queue was detached first.
Affected products
- Linux kernel: from 4.15 before 4.19.251; from 4.20 before 5.4.204; from 5.5 before 5.10.129; from 5.11 before 5.15.53; from 5.16 before 5.18.10; 5.19-rc1, 5.19-rc2, 5.19-rc3, 5.19-rc4 — fixed in 4.19.251, 5.10.129, 5.15.53, 5.18.10, 5.4.204
How to fix
Upgrade to a fixed version: Linux kernel 4.19.251, 5.10.129, 5.15.53, 5.18.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3b9bc84d311104906d2b4995a9a02d7b7ddab2db
- https://git.kernel.org/stable/c/8145f77d38de4f88b8a69e1463f5c09ba189d77c
- https://git.kernel.org/stable/c/82e729aee59acefe135fceffadcbc5b86dd4f1b9
- https://git.kernel.org/stable/c/8661d4b8faa2f7ee7a559969c0a7c57f077b1728
- https://git.kernel.org/stable/c/a8cf919022373c97a84fe596bbea544f909c485d
- https://git.kernel.org/stable/c/bec1be0a745ab420718217e3e0d9542a75108989
Get alerted when CVE-2022-49672 or the next vulnerability affects your stack