CVE Database›CVE-2022-49672

CVE-2022-49672

kernel: net: tun: unlink NAPI from device on destruction

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · February 26, 2025

Updated · November 4, 2026

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.

Statement

This vulnerability is rated as Moderate severity because exploitation requires local access and winning a tight race condition, restricting the blast radius to a denial of service via a kernel crash. An attacker must possess local privileges sufficient to create, configure, or detach TUN/TAP network interfaces, typically requiring administrative capabilities or user namespace privileges. Environments that restrict unprivileged user namespaces and administrative network configuration are not exposed to unprivileged exploitation.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization