CVE-2026-99454: Linux kernel rtl8723bs Wi-Fi driver overruns memory on crafted frames from a rogue access point

ByLinuxtastic

November 30, 2026 #CVE, #Linux Kernel

The Realtek RTL8723BS is the SDIO Wi-Fi chip in a great many low-cost Intel Atom laptops and tablets and some ARM single-board computers, and its driver lives in the kernel’s staging tree. Its software decryption path trusted the length of a protected frame: a frame shorter than the 802.11 header plus the cipher’s trailer made an unsigned subtraction wrap to about 4 GiB, which the WEP, TKIP and AES decrypt loops and the TKIP MIC check then used as a length, reading and writing far past the receive buffer. A second slip used a frame after a failed decrypt had already freed it. An access point in radio range triggers both with crafted frames and needs no association secrets. Update the kernel to 7.3.2, 6.18.63, 6.12.117, 6.6.163, 6.1.193, 5.15.226 or 5.10.275 (or your distribution’s build) and reboot; until then, do not join untrusted networks with this chip, or unload the r8723bs driver. Machines without this chip are not affected, which is every server and almost every desktop.

CVE-2026-99454 at a glance.

ComponentLinux kernel, the staging r8723bs Wi-Fi driver for the Realtek RTL8723BS SDIO chip (drivers/staging/rtl8723bs/core/rtw_recv.c, decryptor() and validate_80211w_mgmt()); reachable only on hardware that has this chip and loads this driver
Affected versionsMainline from 4.12 (commit 554c0a3a, which added the driver to staging in 2017) up to the fixes below; every stable series in between
Fixed inMainline 7.4-rc1 (commit 495cb31c, “staging: rtl8723bs: fix protected RX frame validation in decrypt path”); stable 7.3.2, 6.18.63, 6.12.117, 6.6.163, 6.1.193, 5.15.226, 5.10.275. Distribution kernels below
SeverityKernel CNA CVSS 3.1 8.8 High (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); NVD has not scored it. Red Hat Important, 8.8 (same vector, CWE-787, draft) while listing every RHEL as not affected; SUSE important, 8.8. All three agree: an unauthenticated attacker in radio range, low complexity, full impact on the victim machine
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026. EPSS 0.0040 (26th percentile) on 30 November 2026
Who is exposedLaptops, tablets, mini-PCs and single-board computers with the RTL8723BS SDIO chip, when their Wi-Fi is on and within range of an access point the attacker controls, including a rogue AP impersonating a network the device knows. The attacker needs no password: the frames are crafted protected frames and the device decrypts them in software before any check. Servers, machines with other Wi-Fi chips, and devices using a USB adapter instead of the onboard SDIO chip are not affected. Red Hat’s statement: not present in standard enterprise configurations
PublishedKernel CNA record 19 November 2026 (updated 23 November; the record credits “Atuin – Automated Vulnerability Discovery Engine”); this page built 30 November 2026, last updated 30 November 2026

What it is

Unlike most modern Wi-Fi drivers, which hand decryption to the firmware or to the kernel’s mac80211 layer, the staging r8723bs driver carries its own receive path and decrypts some frames itself. The commit message describes the first defect: decryptor() never checked that a protected frame was long enough to hold the 802.11 header plus the cipher’s IV and trailer. All of rtw_wep_decrypt(), rtw_tkip_decrypt() and rtw_aes_decrypt() compute length = hdr.len - hdrlen - iv_len, and the TKIP MIC check subtracts the trailer and an 8-byte MIC on top. A frame shorter than that makes the unsigned subtraction wrap, “turning into a ~4 GiB iteration count” in the decrypt loops or a ~4 GiB CRC length, with out-of-bounds reads and writes starting from the receive buffer.

The second defect is in validate_80211w_mgmt(), which handles protected management frames (deauthentication, disassociation, action frames) and always software-decrypts them. It kept using the frame, two memcpy calls through a stale pointer and a length update, before checking whether decryptor() had returned NULL; on a decrypt failure, such as a bad MIC, the buffer had already been freed, so those are use-after-free reads and writes, and the caller’s error path then freed the frame a second time. The fix rejects too-short frames in decryptor() before touching the IV, which covers all three ciphers and the MIC check, and bails out of the management-frame path as soon as decryption fails.

What makes this one worth a page despite the narrow hardware is the vector: adjacent network, no privileges, no user interaction. A device with this chip and its radio on will process frames from any access point in range, and a rogue AP that beacons a known network name is enough to get a device to talk to it. The exposure is the hardware list, and the hardware list is long in the cheap-laptop and maker-board world. The git.kernel.org commit pages refuse automated readers, so this page describes the fix from the CNA’s copy of the commit message and names the file from the record’s programFiles, not from the diff.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Enterprise kernels mostly do not build the staging driver at all, which is why Red Hat rates it Important and lists nothing affected.

DistributionStatusFixed package
Debian bookworm, trixie, forky, sidFixed in trixie, forky, sid and bookworm’s linux-6.12 (DLA-4927-1); vulnerable in bookworm’s 6.1 kerneltrixie linux 6.12.117-1 (security 6.12.118-1), forky 7.3.5-1, sid 7.3.6-1, bookworm-security linux-6.12 6.12.117-1~deb12u1; bookworm linux 6.1.176-1 and 6.1.192-2 still vulnerable on 30 November
Ubuntu 20.04 to 26.04Tracker unreachable on 30 November 2026Ubuntu’s CVE page refused automated readers when this page was built, so no priority or per-release linux status is reproduced here; Ubuntu does ship the staging driver, so the tracker link is the one to read
RHEL 6 to 10 (and rebuilds)Not affected (rated Important, 8.8)every RHEL kernel and kernel-rt row and every OpenShift CoreOS row “Not affected”: the staging driver is not shipped
SUSE SLE 15 SP6, SP7, SLE Micro 6.x, openSUSE Leap 15.6important, pending; SLES 16.x not affectedSLES 15 SP7, SLES 15 SP6-LTSS, SLE Micro 6.x and openSUSE Leap 15.6 “Affected”, no fixed build listed; SLES 16.0 and 16.1 not affected (SUSE bugs 1291555 and 1291557)
Fedora, Arch, Alpine, Raspberry Pi OS, Armbian and other board imagesNot consultedtrackers not read for this page; these track the stable series above, so 7.3.2 / 6.18.63 / 6.12.117 / 6.6.163 / 6.1.193 and later are the builds to look for, and vendor board kernels are the ones most likely to lag
Self-built and vendor kernels with CONFIG_RTL8723BSAffected from 4.12 below the fixed stable releases7.3.2, 6.18.63, 6.12.117, 6.6.163, 6.1.193, 5.15.226, 5.10.275 or later

How to check

Two questions: does this machine have the chip and the driver, and is the kernel older than the fix. The first clears everything that is not a small device with onboard SDIO Wi-Fi.

# 1. the chip and the driver: no r8723bs module means this bug cannot be reached
lsmod | grep -E '^r8723bs'
dmesg 2>/dev/null | grep -i 'rtl8723bs\|r8723bs' | head -3
ls /sys/bus/sdio/devices/ 2>/dev/null && grep -H . /sys/bus/sdio/devices/*/{vendor,device} 2>/dev/null   # 0x024c 0xb723 is RTL8723BS
# is the radio up and associated?
iw dev 2>/dev/null | grep -E 'Interface|ssid|type'

# 2. the running kernel: affected from 4.12 below 7.3.2 / 6.18.63 / 6.12.117 / 6.6.163 / 6.1.193 / 5.15.226 / 5.10.275
uname -r
dpkg -l 'linux-image-*' 2>/dev/null | grep '^ii' | awk '{print $2, $3}'   # Debian / Ubuntu
rpm -q kernel 2>/dev/null                                                   # SUSE / Fedora

No r8723bs module and no SDIO device with Realtek’s vendor ID means you are done. A machine with the module loaded, the radio up and a kernel below the fixed releases is the vulnerable configuration; it is exposed whenever the radio is on in range of an access point you do not control, including while it is only scanning, and most exposed on public or shared Wi-Fi.

How to fix it

Install the fixed kernel and reboot. On board images whose vendor kernel lags, the fix arrives when the vendor rebases; until then the mitigation below is the only option.

# Debian trixie, or bookworm with the linux-6.12 kernel (DLA-4927-1) / Ubuntu
apt update && apt install linux-image-amd64        # or linux-image-arm64 / your metapackage
# SUSE / Fedora
zypper patch
dnf update kernel
reboot
uname -r                                            # must show the fixed build

If you cannot update yet, take the driver out of the picture: unload and blacklist r8723bs and use a wired connection or a USB Wi-Fi adapter with a mac80211 driver, or at least keep the radio off anywhere you do not control the access points. Do not treat a strong Wi-Fi password as protection: the frames that trigger the bug are processed before the device has verified anything about the sender, and a rogue AP using your network’s name is enough to get the device talking to it.

# mitigation: stop using the staging driver until the kernel is fixed
nmcli radio wifi off 2>/dev/null
modprobe -r r8723bs
echo 'blacklist r8723bs' > /etc/modprobe.d/blacklist-r8723bs.conf
lsmod | grep -c '^r8723bs' || echo "driver unloaded"

Sources

  • CVE-2026-99454 at CVE.org — the kernel CNA record (19 November 2026): the commit message with both defects, the affected and fixed ranges, programFiles and the 8.8 vector
  • Fix commit 495cb31c (7.4-rc1) — “staging: rtl8723bs: fix protected RX frame validation in decrypt path”; git.kernel.org refused automated readers, so the diff was not read for this page
  • NVD entry — Received; no NVD score, the CNA’s vector only
  • Distribution trackers: Debian (DLA-4927-1) · Ubuntu (unreachable on 30 November) · Red Hat (Important, 8.8, nothing affected) · SUSE
  • EPSS score for this CVE, 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.