CVE-2022-49672Published Feb 26, 2025 · Feb 26Updated Oct 28
net: tun: unlink NAPI from device on destruction
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 943170998b200190f99d3fe7e771437e2c51f319 · < 3b9bc84d311104906d2b4995a9a02d7b7ddab2db| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel has a race between tun file and device destruction when a queue is detached first. The input does not specify what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the tun component should check their systems; affected versions are not specified.