# CVE-2022-49672: net: tun: unlink NAPI from device on destruction

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-02-26T02:24:05.284Z
- Modified: 2026-08-05T08:56:01.503Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 943170998b200190f99d3fe7e771437e2c51f319 before 82e729aee59acefe135fceffadcbc5b86dd4f1b9; from 943170998b200190f99d3fe7e771437e2c51f319 before a8cf919022373c97a84fe596bbea544f909c485d; from 943170998b200190f99d3fe7e771437e2c51f319 before bec1be0a745ab420718217e3e0d9542a75108989; from 943170998b200190f99d3fe7e771437e2c51f319 before 8145f77d38de4f88b8a69e1463f5c09ba189d77c; from 943170998b200190f99d3fe7e771437e2c51f319 before 8661d4b8faa2f7ee7a559969c0a7c57f077b1728; from 943170998b200190f99d3fe7e771437e2c51f319 before 3b9bc84d311104906d2b4995a9a02d7b7ddab2db; 4.15 (not affected: before 4.15; from 4.19.251 up to 4.19.*; from 5.4.204 up to 5.4.*; from 5.10.129 up to 5.10.*; from 5.15.53 up to 5.15.*; from 5.18.10 up to 5.18.*; from 5.19 up to *)
- linux 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/82e729aee59acefe135fceffadcbc5b86dd4f1b9> (patch)
- <https://git.kernel.org/stable/c/a8cf919022373c97a84fe596bbea544f909c485d> (patch)
- <https://git.kernel.org/stable/c/bec1be0a745ab420718217e3e0d9542a75108989> (patch)
- <https://git.kernel.org/stable/c/8145f77d38de4f88b8a69e1463f5c09ba189d77c> (patch)
- <https://git.kernel.org/stable/c/8661d4b8faa2f7ee7a559969c0a7c57f077b1728> (patch)
- <https://git.kernel.org/stable/c/3b9bc84d311104906d2b4995a9a02d7b7ddab2db> (patch)

## Sources

- CVE List: [CVE-2022-49672](https://www.cve.org/CVERecord?id=CVE-2022-49672), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49672](https://nvd.nist.gov/vuln/detail/CVE-2022-49672), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49672 · Whole record: https://cve.day/CVE-2022-49672.json · Rebuilt by cve.day 2026-11-25T22:58:20.796Z
