Upstream information

CVE-2024-53190 at MITRE

Description

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

wifi: rtlwifi: Drastically reduce the attempts to read efuse in case of failures

Syzkaller reported a hung task with uevent_show() on stack trace. That
specific issue was addressed by another commit [0], but even with that
fix applied (for example, running v6.12-rc5) we face another type of hung
task that comes from the same reproducer [1]. By investigating that, we
could narrow it to the following path:

(a) Syzkaller emulates a Realtek USB WiFi adapter using raw-gadget and
dummy_hcd infrastructure.

(b) During the probe of rtl8192cu, the driver ends-up performing an efuse
read procedure (which is related to EEPROM load IIUC), and here lies the
issue: the function read_efuse() calls read_efuse_byte() many times, as
loop iterations depending on the efuse size (in our example, 512 in total).

This procedure for reading efuse bytes relies in a loop that performs an
I/O read up to *10k* times in case of failures. We measured the time of
the loop inside read_efuse_byte() alone, and in this reproducer (which
involves the dummy_hcd emulation layer), it takes 15 seconds each. As a
consequence, we have the driver stuck in its probe routine for big time,
exposing a stack trace like below if we attempt to reboot the system, for
example:

task:kworker/0:3 state:D stack:0 pid:662 tgid:662 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
__schedule+0xe22/0xeb6
schedule_timeout+0xe7/0x132
__wait_for_common+0xb5/0x12e
usb_start_wait_urb+0xc5/0x1ef
? usb_alloc_urb+0x95/0xa4
usb_control_msg+0xff/0x184
_usbctrl_vendorreq_sync+0xa0/0x161
_usb_read_sync+0xb3/0xc5
read_efuse_byte+0x13c/0x146
read_efuse+0x351/0x5f0
efuse_read_all_map+0x42/0x52
rtl_efuse_shadow_map_update+0x60/0xef
rtl_get_hwinfo+0x5d/0x1c2
rtl92cu_read_eeprom_info+0x10a/0x8d5
? rtl92c_read_chip_version+0x14f/0x17e
rtl_usb_probe+0x323/0x851
usb_probe_interface+0x278/0x34b
really_probe+0x202/0x4a4
__driver_probe_device+0x166/0x1b2
driver_probe_device+0x2f/0xd8
[...]

We propose hereby to drastically reduce the attempts of doing the I/O
reads in case of failures, restricted to USB devices (given that
they're inherently slower than PCIe ones). By retrying up to 10 times
(instead of 10000), we got reponsiveness in the reproducer, while seems
reasonable to believe that there's no sane USB device implementation in
the field requiring this amount of retries at every I/O read in order
to properly work. Based on that assumption, it'd be good to have it
backported to stable but maybe not since driver implementation (the 10k
number comes from day 0), perhaps up to 6.x series makes sense.

[0] Commit 15fffc6a5624 ("driver core: Fix uevent_show() vs driver detach race")

[1] A note about that: this syzkaller report presents multiple reproducers
that differs by the type of emulated USB device. For this specific case,
check the entry from 2024/08/08 06:23 in the list of crashes; the C repro
is available at https://syzkaller.appspot.com/text?tag=ReproC&x=1521fc83980000.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having low severity.

CVSS v3 Scores
  SUSE
Base Score 2.3
Vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Attack Vector Local
Attack Complexity Low
Privileges Required High
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact Low
CVSSv3 Version 3.1
CVSS v4 Scores
  SUSE
Base Score 1.8
Vector CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Attack Vector Local
Attack Complexity Low
Attack Requirements Present
Privileges Required High
User Interaction None
Vulnerable System Confidentiality Impact None
Vulnerable System Integrity Impact None
Vulnerable System Availability Impact Low
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1234950 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Desktop 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Desktop 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Live Patching 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Live Patching 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Live Patching 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Micro 5.1 kernel-default Unsupported
SUSE Linux Enterprise Micro 5.1 kernel-rt Unsupported
SUSE Linux Enterprise Micro 5.1 kernel-source Unsupported
SUSE Linux Enterprise Micro 5.1 kernel-source-rt Unsupported
SUSE Linux Enterprise Micro 5.2 kernel-default Unsupported
SUSE Linux Enterprise Micro 5.2 kernel-rt Unsupported
SUSE Linux Enterprise Micro 5.2 kernel-source Unsupported
SUSE Linux Enterprise Micro 5.2 kernel-source-rt Unsupported
SUSE Linux Enterprise Micro 5.3 kernel-default Unsupported
SUSE Linux Enterprise Micro 5.3 kernel-rt Unsupported
SUSE Linux Enterprise Micro 5.3 kernel-source Unsupported
SUSE Linux Enterprise Micro 5.3 kernel-source-rt Unsupported
SUSE Linux Enterprise Micro 5.4 kernel-default Unsupported
SUSE Linux Enterprise Micro 5.4 kernel-rt Unsupported
SUSE Linux Enterprise Micro 5.4 kernel-source Unsupported
SUSE Linux Enterprise Micro 5.4 kernel-source-rt Unsupported
SUSE Linux Enterprise Micro 5.5 kernel-default Unsupported
SUSE Linux Enterprise Micro 5.5 kernel-source Unsupported
SUSE Linux Enterprise Micro 5.5 kernel-source-rt Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Module for Legacy 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Module for Legacy 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Module for Public Cloud 15 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Real Time 15 SP5 kernel-source-rt Unsupported
SUSE Linux Enterprise Real Time 15 SP6 kernel-source-rt Already fixed
SUSE Linux Enterprise Server 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise Server 15 SP5-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP5-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Workstation Extension 15 SP5 kernel-default Unsupported
SUSE Linux Enterprise Workstation Extension 15 SP5 kernel-source Unsupported
SUSE Linux Micro 6.0 kernel-default Already fixed
SUSE Linux Micro 6.0 kernel-source Already fixed
SUSE Linux Micro 6.0 kernel-source-rt Already fixed
SUSE Linux Micro 6.1 kernel-default Already fixed
SUSE Linux Micro 6.1 kernel-source Already fixed
SUSE Linux Micro 6.1 kernel-source-rt Already fixed
SUSE Manager Proxy 4.3 kernel-default Unsupported
SUSE Manager Proxy 4.3 kernel-source Unsupported
SUSE Manager Retail Branch Server 4.3 kernel-default Unsupported
SUSE Manager Retail Branch Server 4.3 kernel-source Unsupported
SUSE Manager Server 4.3 kernel-default Unsupported
SUSE Manager Server 4.3 kernel-source Unsupported
SUSE Real Time Module 15 SP5 kernel-source-rt Unsupported
SUSE Real Time Module 15 SP6 kernel-source-rt Already fixed
openSUSE Leap 15.5 kernel-default Unsupported
openSUSE Leap 15.5 kernel-source Unsupported
openSUSE Leap 15.5 kernel-source-azure Unsupported
openSUSE Leap 15.5 kernel-source-rt Unsupported
openSUSE Leap 15.6 kernel-default Already fixed
openSUSE Leap 15.6 kernel-source Already fixed
openSUSE Leap 15.6 kernel-source-azure Already fixed
openSUSE Leap 15.6 kernel-source-rt Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise High Availability Extension 12 SP5 kernel-default Unsupported
SUSE Linux Enterprise High Availability Extension 12 SP5 kernel-source Unsupported
SUSE Linux Enterprise High Availability Extension 15 SP2 kernel-default Unsupported
SUSE Linux Enterprise High Availability Extension 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS kernel-default Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS kernel-source Unsupported
SUSE Linux Enterprise Live Patching 12 SP5 kernel-default Unsupported
SUSE Linux Enterprise Live Patching 12 SP5 kernel-source Unsupported
SUSE Linux Enterprise Live Patching 15 SP2 kernel-default Unsupported
SUSE Linux Enterprise Live Patching 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Live Patching 15 SP3 kernel-default Unsupported
SUSE Linux Enterprise Live Patching 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Live Patching 15 SP4 kernel-default Unsupported
SUSE Linux Enterprise Live Patching 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-default Unsupported
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP5 kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise Server 12 SP5-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 12 SP5-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP5-LTSS kernel-source-azure Unsupported
SUSE Linux Enterprise Server 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP4-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP4-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 kernel-source Unsupported
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 kernel-source-azure Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP5 kernel-default Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP5 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 kernel-default Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-default Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP4 kernel-default Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP4 kernel-source Unsupported
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 kernel-source Unsupported
SUSE CaaS Platform 4.0 kernel-source Unsupported
SUSE CaaS Platform Toolchain 3 kernel-source Unsupported
SUSE Enterprise Storage 6 kernel-source Unsupported
SUSE Enterprise Storage 7 kernel-source Unsupported
SUSE Enterprise Storage 7.1 kernel-source Unsupported
SUSE Linux Enterprise Desktop 11 SP4 kernel-source Unsupported
SUSE Linux Enterprise Desktop 12 SP2 kernel-source Unsupported
SUSE Linux Enterprise Desktop 12 SP3 kernel-source Unsupported
SUSE Linux Enterprise Desktop 12 SP4 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 SP1 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15-LTSS kernel-source Unsupported
SUSE Linux Enterprise Micro 5.0 kernel-default Unsupported
SUSE Linux Enterprise Module for Basesystem 15 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP1 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP1 kernel-source Unsupported
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT kernel-source Unsupported
SUSE Linux Enterprise Real Time 15 SP2 kernel-source Unsupported
SUSE Linux Enterprise Real Time 15 SP3 kernel-source Unsupported
SUSE Linux Enterprise Real Time 15 SP3 kernel-source-rt Unsupported
SUSE Linux Enterprise Real Time 15 SP4 kernel-source Unsupported
SUSE Linux Enterprise Real Time 15 SP4 kernel-source-rt Unsupported
SUSE Linux Enterprise Server 11 SP4 kernel-source Unsupported
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 11 SP4-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP2 kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP2-BCL kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP2-ESPOS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP2-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 12 SP2-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP3 kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP3-BCL kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP3-ESPOS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP3-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP4 kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP4-ESPOS kernel-source Unsupported
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 15 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP1 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP1-BCL kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP2-BCL kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP3-BCL kernel-source Unsupported
SUSE Linux Enterprise Server 15-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP2 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP3 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 kernel-source Unsupported
SUSE Manager Proxy 4.0 kernel-source Unsupported
SUSE Manager Proxy 4.1 kernel-source Unsupported
SUSE Manager Proxy 4.2 kernel-source Unsupported
SUSE Manager Retail Branch Server 4.0 kernel-source Unsupported
SUSE Manager Retail Branch Server 4.1 kernel-source Unsupported
SUSE Manager Retail Branch Server 4.2 kernel-source Unsupported
SUSE Manager Server 4.0 kernel-source Unsupported
SUSE Manager Server 4.1 kernel-source Unsupported
SUSE Manager Server 4.2 kernel-source Unsupported
SUSE OpenStack Cloud 7 kernel-source Unsupported
SUSE OpenStack Cloud 8 kernel-source Unsupported
SUSE OpenStack Cloud 9 kernel-source Unsupported
SUSE OpenStack Cloud Crowbar 8 kernel-source Unsupported
SUSE OpenStack Cloud Crowbar 9 kernel-source Unsupported
SUSE Real Time Module 15 SP3 kernel-source-rt Unsupported
SUSE Real Time Module 15 SP4 kernel-source-rt Unsupported
openSUSE Leap 15.3 kernel-source Unsupported
openSUSE Leap 15.3 kernel-source-rt Unsupported
openSUSE Leap 15.4 kernel-source Unsupported
openSUSE Leap 15.4 kernel-source-azure Unsupported
openSUSE Leap 15.4 kernel-source-rt Unsupported


SUSE Timeline for this CVE

CVE page created: Fri Dec 27 16:00:37 2024
CVE page last modified: Tue Dec 31 15:01:18 2024