Skip to contentSkip to conversation

CVE-2026-31670: net: rfkill: prevent unlimited numbers of rfkill events from being created

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: rfkill: prevent unlimited numbers of rfkill events from being created

Userspace can create an unlimited number of rfkill events if the system is so configured, while not consuming them from the rfkill file descriptor, causing a potential out of memory situation. Prevent this from bounding the number of pending rfkill events at a "large" number (i.e. 1000) to prevent abuses like this.

The Linux kernel CVE team has assigned CVE-2026-31670 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.253 with commit 4bcd1615a4e2a185ae9edd27b4143d7dfa7134f4
	Fixed in 5.15.203 with commit b1e0c8d3ab58a0161db487bf5fc47adfcaf5d5ca
	Fixed in 6.1.169 with commit e3842779547c83150569071d9980517cc9029fc0
	Fixed in 6.6.135 with commit 673d2a3eef6e0ee9736501a150c9e4024a4e60a6
	Fixed in 6.12.82 with commit 82843afc19012a29ba863961ef494165aa1a88f4
	Fixed in 6.18.23 with commit a8c26800e0220e1550af012f5a20e50f5c78864d
	Fixed in 6.19.13 with commit 80ce4cb026f0a4c4532b6cad827b44debda6256a
	Fixed in 7.0 with commit ea245d78dec594372e27d8c79616baf49e98a4a1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-31670

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/rfkill/core.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/4bcd1615a4e2a185ae9edd27b4143d7dfa7134f4
	https://git.kernel.org/stable/c/b1e0c8d3ab58a0161db487bf5fc47adfcaf5d5ca
	https://git.kernel.org/stable/c/e3842779547c83150569071d9980517cc9029fc0
	https://git.kernel.org/stable/c/673d2a3eef6e0ee9736501a150c9e4024a4e60a6
	https://git.kernel.org/stable/c/82843afc19012a29ba863961ef494165aa1a88f4
	https://git.kernel.org/stable/c/a8c26800e0220e1550af012f5a20e50f5c78864d
	https://git.kernel.org/stable/c/80ce4cb026f0a4c4532b6cad827b44debda6256a
	https://git.kernel.org/stable/c/ea245d78dec594372e27d8c79616baf49e98a4a1