What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2022-49672 or the next vulnerability affects your stack