Upstream information
Description
In the Linux kernel, the following vulnerability has been resolved:block: Fix potential deadlock while freezing queue and acquiring sysfs_lock
For storing a value to a queue attribute, the queue_attr_store function
first freezes the queue (->q_usage_counter(io)) and then acquire
->sysfs_lock. This seems not correct as the usual ordering should be to
acquire ->sysfs_lock before freezing the queue. This incorrect ordering
causes the following lockdep splat which we are able to reproduce always
simply by accessing /sys/kernel/debug file using ls command:
[ 57.597146] WARNING: possible circular locking dependency detected
[ 57.597154] 6.12.0-10553-gb86545e02e8c #20 Tainted: G W
[ 57.597162] ------------------------------------------------------
[ 57.597168] ls/4605 is trying to acquire lock:
[ 57.597176] c00000003eb56710 (&mm->mmap_lock){++++}-{4:4}, at: __might_fault+0x58/0xc0
[ 57.597200]
but task is already holding lock:
[ 57.597207] c0000018e27c6810 (&sb->s_type->i_mutex_key#3){++++}-{4:4}, at: iterate_dir+0x94/0x1d4
[ 57.597226]
which lock already depends on the new lock.
[ 57.597233]
the existing dependency chain (in reverse order) is:
[ 57.597241]
-> #5 (&sb->s_type->i_mutex_key#3){++++}-{4:4}:
[ 57.597255] down_write+0x6c/0x18c
[ 57.597264] start_creating+0xb4/0x24c
[ 57.597274] debugfs_create_dir+0x2c/0x1e8
[ 57.597283] blk_register_queue+0xec/0x294
[ 57.597292] add_disk_fwnode+0x2e4/0x548
[ 57.597302] brd_alloc+0x2c8/0x338
[ 57.597309] brd_init+0x100/0x178
[ 57.597317] do_one_initcall+0x88/0x3e4
[ 57.597326] kernel_init_freeable+0x3cc/0x6e0
[ 57.597334] kernel_init+0x34/0x1cc
[ 57.597342] ret_from_kernel_user_thread+0x14/0x1c
[ 57.597350]
-> #4 (&q->debugfs_mutex){+.+.}-{4:4}:
[ 57.597362] __mutex_lock+0xfc/0x12a0
[ 57.597370] blk_register_queue+0xd4/0x294
[ 57.597379] add_disk_fwnode+0x2e4/0x548
[ 57.597388] brd_alloc+0x2c8/0x338
[ 57.597395] brd_init+0x100/0x178
[ 57.597402] do_one_initcall+0x88/0x3e4
[ 57.597410] kernel_init_freeable+0x3cc/0x6e0
[ 57.597418] kernel_init+0x34/0x1cc
[ 57.597426] ret_from_kernel_user_thread+0x14/0x1c
[ 57.597434]
-> #3 (&q->sysfs_lock){+.+.}-{4:4}:
[ 57.597446] __mutex_lock+0xfc/0x12a0
[ 57.597454] queue_attr_store+0x9c/0x110
[ 57.597462] sysfs_kf_write+0x70/0xb0
[ 57.597471] kernfs_fop_write_iter+0x1b0/0x2ac
[ 57.597480] vfs_write+0x3dc/0x6e8
[ 57.597488] ksys_write+0x84/0x140
[ 57.597495] system_call_exception+0x130/0x360
[ 57.597504] system_call_common+0x160/0x2c4
[ 57.597516]
-> #2 (&q->q_usage_counter(io)#21){++++}-{0:0}:
[ 57.597530] __submit_bio+0x5ec/0x828
[ 57.597538] submit_bio_noacct_nocheck+0x1e4/0x4f0
[ 57.597547] iomap_readahead+0x2a0/0x448
[ 57.597556] xfs_vm_readahead+0x28/0x3c
[ 57.597564] read_pages+0x88/0x41c
[ 57.597571] page_cache_ra_unbounded+0x1ac/0x2d8
[ 57.597580] filemap_get_pages+0x188/0x984
[ 57.597588] filemap_read+0x13c/0x4bc
[ 57.597596] xfs_file_buffered_read+0x88/0x17c
[ 57.597605] xfs_file_read_iter+0xac/0x158
[ 57.597614] vfs_read+0x2d4/0x3b4
[ 57.597622] ksys_read+0x84/0x144
[ 57.597629] system_call_exception+0x130/0x360
[ 57.597637] system_call_common+0x160/0x2c4
[ 57.597647]
-> #1 (mapping.invalidate_lock#2){++++}-{4:4}:
[ 57.597661] down_read+0x6c/0x220
[ 57.597669] filemap_fault+0x870/0x100c
[ 57.597677] xfs_filemap_fault+0xc4/0x18c
[ 57.597684] __do_fault+0x64/0x164
[ 57.597693] __handle_mm_fault+0x1274/0x1dac
[ 57.597702] handle_mm_fault+0x248/0x48
---truncated---
SUSE information
Overall state of this security issue: New
This issue is currently rated as having not set severity.
No SUSE Bugzilla entries cross referenced. 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 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Desktop 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP6 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Live Patching 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Live Patching 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.1 | kernel-default | Analysis |
SUSE Linux Enterprise Micro 5.1 | kernel-rt | Analysis |
SUSE Linux Enterprise Micro 5.1 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.1 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Micro 5.2 | kernel-default | Analysis |
SUSE Linux Enterprise Micro 5.2 | kernel-rt | Analysis |
SUSE Linux Enterprise Micro 5.2 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.2 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Micro 5.3 | kernel-default | Analysis |
SUSE Linux Enterprise Micro 5.3 | kernel-rt | Analysis |
SUSE Linux Enterprise Micro 5.3 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.3 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Micro 5.4 | kernel-default | Analysis |
SUSE Linux Enterprise Micro 5.4 | kernel-rt | Analysis |
SUSE Linux Enterprise Micro 5.4 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.4 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Micro 5.5 | kernel-default | Analysis |
SUSE Linux Enterprise Micro 5.5 | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.5 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Real Time 15 SP6 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Server 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP6 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-default | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-source-azure | Analysis |
SUSE Linux Micro 6.0 | kernel-default | Analysis |
SUSE Linux Micro 6.0 | kernel-source | Analysis |
SUSE Linux Micro 6.0 | kernel-source-rt | Analysis |
SUSE Linux Micro 6.1 | kernel-default | Analysis |
SUSE Linux Micro 6.1 | kernel-source | Analysis |
SUSE Linux Micro 6.1 | kernel-source-rt | Analysis |
SUSE Manager Proxy 4.3 | kernel-default | Analysis |
SUSE Manager Proxy 4.3 | kernel-source | Analysis |
SUSE Manager Retail Branch Server 4.3 | kernel-default | Analysis |
SUSE Manager Retail Branch Server 4.3 | kernel-source | Analysis |
SUSE Manager Server 4.3 | kernel-default | Analysis |
SUSE Manager Server 4.3 | kernel-source | Analysis |
SUSE Real Time Module 15 SP6 | kernel-source-rt | Analysis |
openSUSE Leap 15.6 | kernel-default | Analysis |
openSUSE Leap 15.6 | kernel-source | Analysis |
openSUSE Leap 15.6 | kernel-source-azure | Analysis |
openSUSE Leap 15.6 | kernel-source-rt | Analysis |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise High Availability Extension 12 SP5 | kernel-default | Analysis |
SUSE Linux Enterprise High Availability Extension 12 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5 | kernel-source-azure | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-default | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Live Patching 12 SP5 | kernel-default | Analysis |
SUSE Linux Enterprise Live Patching 12 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Live Patching 15 SP3 | kernel-default | Analysis |
SUSE Linux Enterprise Live Patching 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Live Patching 15 SP4 | kernel-default | Analysis |
SUSE Linux Enterprise Live Patching 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Live Patching 15 SP5 | kernel-default | Analysis |
SUSE Linux Enterprise Live Patching 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Public Cloud 15 SP5 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-default | Analysis |
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP5 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP5 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-source-azure | Analysis |
SUSE Linux Enterprise Server for SAP Applications 12 SP5 | kernel-default | Analysis |
SUSE Linux Enterprise Server for SAP Applications 12 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | kernel-default | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-default | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-default | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-source-azure | Analysis |
Products past their end of life and not receiving proactive updates anymore. | ||
HPE Helion OpenStack 8 | kernel-source | Analysis |
SUSE CaaS Platform 4.0 | kernel-source | Analysis |
SUSE CaaS Platform Toolchain 3 | kernel-source | Analysis |
SUSE Enterprise Storage 6 | kernel-source | Analysis |
SUSE Enterprise Storage 7 | kernel-source | Analysis |
SUSE Enterprise Storage 7.1 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 11 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 12 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 12 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 12 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Desktop 15 SP5 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise High Performance Computing 15-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Micro 5.0 | kernel-default | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Basesystem 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise Module for Development Tools 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT | kernel-source | Analysis |
SUSE Linux Enterprise Real Time 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Real Time 15 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Real Time 15 SP3 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Real Time 15 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Real Time 15 SP4 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Real Time 15 SP5 | kernel-source-rt | Analysis |
SUSE Linux Enterprise Server 11 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Server 11 SP4 LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 11 SP4 LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 11 SP4-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP2-BCL | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP2-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP2-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 12 SP2-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP3-BCL | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP3-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP3-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP4-ESPOS | kernel-source | Analysis |
SUSE Linux Enterprise Server 12 SP4-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 12 SP4-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP1-BCL | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP2-BCL | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server 15 SP3-BCL | kernel-source | Analysis |
SUSE Linux Enterprise Server 15-LTSS | kernel-default | Analysis |
SUSE Linux Enterprise Server 15-LTSS | kernel-source | Analysis |
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 12 SP2 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 12 SP3 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 12 SP4 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP1 | kernel-source | Analysis |
SUSE Linux Enterprise Server for SAP Applications 15 SP2 | kernel-source | Analysis |
SUSE Manager Proxy 4.0 | kernel-source | Analysis |
SUSE Manager Proxy 4.1 | kernel-source | Analysis |
SUSE Manager Proxy 4.2 | kernel-source | Analysis |
SUSE Manager Retail Branch Server 4.0 | kernel-source | Analysis |
SUSE Manager Retail Branch Server 4.1 | kernel-source | Analysis |
SUSE Manager Retail Branch Server 4.2 | kernel-source | Analysis |
SUSE Manager Server 4.0 | kernel-source | Analysis |
SUSE Manager Server 4.1 | kernel-source | Analysis |
SUSE Manager Server 4.2 | kernel-source | Analysis |
SUSE OpenStack Cloud 7 | kernel-source | Analysis |
SUSE OpenStack Cloud 8 | kernel-source | Analysis |
SUSE OpenStack Cloud 9 | kernel-source | Analysis |
SUSE OpenStack Cloud Crowbar 8 | kernel-source | Analysis |
SUSE OpenStack Cloud Crowbar 9 | kernel-source | Analysis |
SUSE Real Time Module 15 SP3 | kernel-source-rt | Analysis |
SUSE Real Time Module 15 SP4 | kernel-source-rt | Analysis |
SUSE Real Time Module 15 SP5 | kernel-source-rt | Analysis |
openSUSE Leap 15.3 | kernel-source | Analysis |
openSUSE Leap 15.3 | kernel-source-rt | Analysis |
openSUSE Leap 15.4 | kernel-source | Analysis |
openSUSE Leap 15.4 | kernel-source-azure | Analysis |
openSUSE Leap 15.4 | kernel-source-rt | Analysis |
openSUSE Leap 15.5 | kernel-source | Analysis |
openSUSE Leap 15.5 | kernel-source-azure | Analysis |
openSUSE Leap 15.5 | kernel-source-rt | Analysis |
SUSE Timeline for this CVE
CVE page created: Sat Jan 11 16:01:46 2025CVE page last modified: Sat Jan 11 19:06:52 2025