All reports
High

kernel: tun: avoid double free in tun_free_netdev

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-4744

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-22

Description

A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the register_netdevice function fails (NETDEV_REGISTER notifier). This flaw allows a local user to crash or potentially escalate their privileges on the system.

A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the register_netdevice function fails (NETDEV_REGISTER notifier). This flaw allows a local user to crash or potentially escalate their privileges on the system.