Exploiting CVE-2026-31695: A Linux Kernel Use-After-Free Vulnerability in Network Device Management
The author describes discovering and exploiting CVE-2026-31695, a logical bug in Linux network device management that caused a use-after-free vulnerability present for nearly five years. By exploiting a race condition between RTM_DELLINK and ETHTOOL_MSG_FEATURES_SET commands, the author successfully achieved local privilege escalation on Fedora 44 Server. After reporting the issue, a patch was applied to remove SET_NETDEV_DEV for the virt_wifi driver and backported to multiple stable and longterm kernel branches. Open article →