Files
Centos-kernel-stream-9/net/rfkill
Jose Ignacio Tornos Martinez 8a010fb3c9 net: rfkill: prevent unlimited numbers of rfkill events from being created
JIRA: https://issues.redhat.com/browse/RHEL-171417
CVE: CVE-2026-31670

commit ea245d78dec594372e27d8c79616baf49e98a4a1
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Mon Mar 30 11:14:13 2026 +0200

    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.
    
    Cc: Johannes Berg <johannes@sipsolutions.net>
    Reported-by: Yuan Tan <yuantan098@gmail.com>
    Reported-by: Yifan Wu <yifanwucs@gmail.com>
    Reported-by: Juefei Pu <tomapufckgml@gmail.com>
    Reported-by: Xin Liu <bird@lzu.edu.cn>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Link: https://patch.msgid.link/2026033013-disfigure-scroll-e25e@gregkh
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2026-06-09 08:20:23 +02:00
..