KernelScan.io

HIGH Introduced in 4.7

iwlegacy BcastStation DoubleFree

CVE-2026-98195

CVSS 7.6 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: wifi: iwlegacy: fix broadcast stations deallocation On the error path of __il4965_up(), il_dealloc_bcast_stations() clears only IL_STA_UCODE_ACTIVE, leaving IL_STA_BCAST set. This causes the same broadcast stations to be deallocated again by __il4965_down(). This can occur when RF_KILL is toggled during driver startup. To fix clear the entire 'used' field, since we will not do any other operations on the station.

02

Engine v0.7.0

Risk summary

A double-free in the Intel 4965 (iwlegacy) WiFi driver is triggered when a radio-kill event occurs during interface startup, causing broadcast station data to be freed twice. This can lead to kernel memory corruption exploitable for local privilege escalation or system crash. The bug requires the specific Intel 4965 WiFi hardware and local access to the machine.

Affecteddrivers/net/wireless/intel/iwlegacy/common.c (iwlegacy wifi driver)

Vulnerability analysis

The error path of the WiFi driver's interface initialization function only partially clears the state of broadcast stations when initialization fails (for example, when a hardware radio-kill switch is active). A subsequent teardown path then sees the stale state and processes the same stations a second time, freeing their associated data structures twice — a double-free. The fix changes the cleanup to clear the entire station usage state so that the later teardown does not re-process already-cleaned-up stations. The bug requires the Intel 4965 (iwlegacy) wireless driver to be loaded and is triggered by a radio-kill event occurring during interface startup, which can be caused by either the hardware switch or the software rfkill interface from a local user.

03

BranchIntroducedFixed inPatch commit
5.104.75.10.271275d474a4b4b
5.154.75.15.222526fdd45548e
6.14.76.1.189c9a116d69136
6.124.76.12.1121d84c2a3de44
6.184.76.18.5455d34422c0d9
6.64.76.6.15885d847ff71fe
7.24.77.2.8a9176fe666af
mainline4.77.3b5526b780f8b
cip/4.194.74.19.325-cip137206079ed23ab
cip/4.19-rt4.74.19.325-cip137-rt51206079ed23ab
cip/4.44.74.4.302-cip116ed651dafa936
cip/5.104.75.10.271-cip78275d474a4b4b
cip/5.10-rt4.75.10.272-cip79-rt35275d474a4b4b
cip/6.14.76.1.189-cip61c9a116d69136
cip/6.1-rt4.76.1.189-cip61-rt32c9a116d69136
cip/6.124.76.12.112-cip331d84c2a3de44

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Fixed in 4.19.325-cip137
cip/4.19-rtFixed in 4.19.325-cip137-rt51
cip/4.4Fixed in 4.4.302-cip116
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)