Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F2F83E0235 for ; Fri, 24 Apr 2026 14:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042149; cv=none; b=ZRf9DFAC6fiuDhPynvswPDvdslUiaFavrKbcFqGn6qVFa8DGSRhXXcejB4Kwwcibf8QVICileXUBs2ARMe8EV975mYTMfO05kAaaDuKx6VHoB4peayrB30P1lb8uoI1dBFEh1vBm0wP5Cqflr10LOqve9x9VLuKi4vh/0JlIeA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042149; c=relaxed/simple; bh=zxTcjaiXhXruq+hnmSpOaL4AErWZDwPvf7CjEBoB/VA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GzOrGJNXJlgvHVXxDirtYrjRhmiXUXPQp44xL56gRGVvE7TOvtxPuykMCNksNBNqd1d0JHdXa606UGcN6q0WFFtospc04EF2sPewSEt9O6g8Jv3K4j/HC56o4HzvNv2EyFNpkxK4SaTuzc2pTKbR58d5zSqF4HjtfgItK+XyzDo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DOdOmm2l; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DOdOmm2l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06117C19425; Fri, 24 Apr 2026 14:49:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042149; bh=zxTcjaiXhXruq+hnmSpOaL4AErWZDwPvf7CjEBoB/VA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=DOdOmm2lAlB3dRVts8SE8b+hEWqtwk0vMP9k5w/Sk8MGxHcrT60modqATeh5jztje bsx468F+LWRTIyUKICN1vZZ/IqCf0en0gCU3N/OWvgp/tDyFkVDyVkr8ueJLG7dF5H JptR/KAh7Nb0mi2L/spIo7tq8JZebdvneqMS7noc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31670: net: rfkill: prevent unlimited numbers of rfkill events from being created Date: Fri, 24 Apr 2026 16:46:32 +0200 Message-ID: <2026042407-CVE-2026-31670-d54c@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2816; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lj26PlJr4DWsaqGo0UxlmXkokcrzEWeDrSMu8DSfaMY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm/RP3r+zuUsvpuJ3/5WQOzfUS5m/rF+j9clmcYebc pq96TaHjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI44sM87Tqgj8tZTvT4ZRU 9SfjLvfz6Y8+CjHMT6is1foyNzmXybevvEqTddbVPZH+AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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