CVE-2022-49672
published high CVSS 3.1 · 7.8net: tun: unlink NAPI from device on destruction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux943170998b200190f99d3fe7e771437e2c51f319 to < 82e729aee59acefe135fceffadcbc5b86dd4f1b9 · 943170998b200190f99d3fe7e771437e2c51f319 to < a8cf919022373c97a84fe596bbea544f909c485d · 943170998b200190f99d3fe7e771437e2c51f319 to < bec1be0a745ab420718217e3e0d9542a75108989 · 943170998b200190f99d3fe7e771437e2c51f319 to < 8145f77d38de4f88b8a69e1463f5c09ba189d77c · 943170998b200190f99d3fe7e771437e2c51f319 to < 8661d4b8faa2f7ee7a559969c0a7c57f077b1728 · 943170998b200190f99d3fe7e771437e2c51f319 to < 3b9bc84d311104906d2b4995a9a02d7b7ddab2db · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 4.19.251 through 4.19.* (unaffected · semver) · 5.4.204 through 5.4.* (unaffected · semver) · 5.10.129 through 5.10.* (unaffected · semver) · 5.15.53 through 5.15.* (unaffected · semver) · 5.18.10 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-018 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-005 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-033 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-611.5.1.el9_7 | ELSA-2025-20518-0 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is triggered via local /dev/net/tun ioctls (TUNSETIFF with IFF_NAPI|IFF_MULTI_QUEUE, TUNSETQUEUE IFF_DETACH_QUEUE) and local rtnetlink RTM_DELLINK/close, not by processing packets from a remote peer. AC:L - The attacker fully controls both sides of the race—detaching the queue, deleting the netdev, and closing the tun fd concurrently (as in the threaded syzbot repro)—so success does not depend on external timing or victim state. PR:L - Creating/configuring the tun device and issuing RTM_DELLINK require only ns_capable(CAP_NET_ADMIN) in the network namespace’s user_ns, which an unprivileged user obtains via user+net namespaces; /dev/net/tun is world-accessible and IFF_NAPI does not need init-ns capable(). UI:N - Exploitation is entirely attacker-driven through their own open/ioctl/netlink/close sequence; no separate victim action is required. S:U - This is a standard in-kernel use-after-free leading to local privilege escalation within the same host kernel authority, with no VM escape or IOMMU boundary crossing. C:H - KASAN confirms a use-after-free of the heap-allocated tun_file (containing napi_struct); reclaiming that object gives the attacker control of freed contents and enables arbitrary kernel reads. I:H - The same UAF leaves a dangling napi on netdev->napi_list that free_netdev/netif_napi_del list-walks and list_del’s, enabling heap spray and arbitrary write/control-flow hijack primitives. A:H - The dangling napi_list walk in free_netdev produces a reliable kernel oops/panic (KASAN use-after-free Read in free_netdev) even without full exploitation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 943170998b200190f99d3fe7e771437e2c51f319 to < 82e729aee59acefe135fceffadcbc5b86dd4f1b9 (affected · git)943170998b200190f99d3fe7e771437e2c51f319 to < a8cf919022373c97a84fe596bbea544f909c485d (affected · git)943170998b200190f99d3fe7e771437e2c51f319 to < bec1be0a745ab420718217e3e0d9542a75108989 (affected · git)943170998b200190f99d3fe7e771437e2c51f319 to < 8145f77d38de4f88b8a69e1463f5c09ba189d77c (affected · git)943170998b200190f99d3fe7e771437e2c51f319 to < 8661d4b8faa2f7ee7a559969c0a7c57f077b1728 (affected · git)943170998b200190f99d3fe7e771437e2c51f319 to < 3b9bc84d311104906d2b4995a9a02d7b7ddab2db (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)4.19.251 through 4.19.* (unaffected · semver)5.4.204 through 5.4.* (unaffected · semver)5.10.129 through 5.10.* (unaffected · semver)5.15.53 through 5.15.* (unaffected · semver)5.18.10 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- 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
Provider assertions
1Linux · cna
net: tun: unlink NAPI from device on destruction
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7407558f69aa566a4db3b12696aa0e40ab027dcca77a46aa8f18cf20b6457350
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record