From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, kjain@linux.ibm.com, hch@lst.de,
axboe@kernel.dk, ritesh.list@gmail.com, ming.lei@redhat.com,
gjoyce@linux.ibm.com, Nilay Shroff <nilay@linux.ibm.com>,
Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 162/172] block: Fix potential deadlock while freezing queue and acquiring sysfs_lock
Date: Tue, 17 Dec 2024 18:08:38 +0100 [thread overview]
Message-ID: <20241217170553.049517888@linuxfoundation.org> (raw)
In-Reply-To: <20241217170546.209657098@linuxfoundation.org>
6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nilay Shroff <nilay@linux.ibm.com>
[ Upstream commit be26ba96421ab0a8fa2055ccf7db7832a13c44d2 ]
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/0x484
[ 57.597711] ___do_page_fault+0x428/0xc0c
[ 57.597719] hash__do_page_fault+0x30/0x68
[ 57.597727] do_hash_fault+0x90/0x35c
[ 57.597736] data_access_common_virt+0x210/0x220
[ 57.597745] _copy_from_user+0xf8/0x19c
[ 57.597754] sel_write_load+0x178/0xd54
[ 57.597762] vfs_write+0x108/0x6e8
[ 57.597769] ksys_write+0x84/0x140
[ 57.597777] system_call_exception+0x130/0x360
[ 57.597785] system_call_common+0x160/0x2c4
[ 57.597794]
-> #0 (&mm->mmap_lock){++++}-{4:4}:
[ 57.597806] __lock_acquire+0x17cc/0x2330
[ 57.597814] lock_acquire+0x138/0x400
[ 57.597822] __might_fault+0x7c/0xc0
[ 57.597830] filldir64+0xe8/0x390
[ 57.597839] dcache_readdir+0x80/0x2d4
[ 57.597846] iterate_dir+0xd8/0x1d4
[ 57.597855] sys_getdents64+0x88/0x2d4
[ 57.597864] system_call_exception+0x130/0x360
[ 57.597872] system_call_common+0x160/0x2c4
[ 57.597881]
other info that might help us debug this:
[ 57.597888] Chain exists of:
&mm->mmap_lock --> &q->debugfs_mutex --> &sb->s_type->i_mutex_key#3
[ 57.597905] Possible unsafe locking scenario:
[ 57.597911] CPU0 CPU1
[ 57.597917] ---- ----
[ 57.597922] rlock(&sb->s_type->i_mutex_key#3);
[ 57.597932] lock(&q->debugfs_mutex);
[ 57.597940] lock(&sb->s_type->i_mutex_key#3);
[ 57.597950] rlock(&mm->mmap_lock);
[ 57.597958]
*** DEADLOCK ***
[ 57.597965] 2 locks held by ls/4605:
[ 57.597971] #0: c0000000137c12f8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0xcc/0x154
[ 57.597989] #1: c0000018e27c6810 (&sb->s_type->i_mutex_key#3){++++}-{4:4}, at: iterate_dir+0x94/0x1d4
Prevent the above lockdep warning by acquiring ->sysfs_lock before
freezing the queue while storing a queue attribute in queue_attr_store
function. Later, we also found[1] another function __blk_mq_update_nr_
hw_queues where we first freeze queue and then acquire the ->sysfs_lock.
So we've also updated lock ordering in __blk_mq_update_nr_hw_queues
function and ensured that in all code paths we follow the correct lock
ordering i.e. acquire ->sysfs_lock before freezing the queue.
[1] https://lore.kernel.org/all/CAFj5m9Ke8+EHKQBs_Nk6hqd=LGXtk4mUxZUN5==ZcCjnZSBwHw@mail.gmail.com/
Reported-by: kjain@linux.ibm.com
Fixes: af2814149883 ("block: freeze the queue in queue_attr_store")
Tested-by: kjain@linux.ibm.com
Cc: hch@lst.de
Cc: axboe@kernel.dk
Cc: ritesh.list@gmail.com
Cc: ming.lei@redhat.com
Cc: gjoyce@linux.ibm.com
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241210144222.1066229-1-nilay@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
block/blk-mq-sysfs.c | 16 ++++++----------
block/blk-mq.c | 29 ++++++++++++++++++-----------
block/blk-sysfs.c | 4 ++--
3 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/block/blk-mq-sysfs.c b/block/blk-mq-sysfs.c
index 156e9bb07abf..cd5ea6eaa76b 100644
--- a/block/blk-mq-sysfs.c
+++ b/block/blk-mq-sysfs.c
@@ -275,15 +275,13 @@ void blk_mq_sysfs_unregister_hctxs(struct request_queue *q)
struct blk_mq_hw_ctx *hctx;
unsigned long i;
- mutex_lock(&q->sysfs_dir_lock);
+ lockdep_assert_held(&q->sysfs_dir_lock);
+
if (!q->mq_sysfs_init_done)
- goto unlock;
+ return;
queue_for_each_hw_ctx(q, hctx, i)
blk_mq_unregister_hctx(hctx);
-
-unlock:
- mutex_unlock(&q->sysfs_dir_lock);
}
int blk_mq_sysfs_register_hctxs(struct request_queue *q)
@@ -292,9 +290,10 @@ int blk_mq_sysfs_register_hctxs(struct request_queue *q)
unsigned long i;
int ret = 0;
- mutex_lock(&q->sysfs_dir_lock);
+ lockdep_assert_held(&q->sysfs_dir_lock);
+
if (!q->mq_sysfs_init_done)
- goto unlock;
+ return ret;
queue_for_each_hw_ctx(q, hctx, i) {
ret = blk_mq_register_hctx(hctx);
@@ -302,8 +301,5 @@ int blk_mq_sysfs_register_hctxs(struct request_queue *q)
break;
}
-unlock:
- mutex_unlock(&q->sysfs_dir_lock);
-
return ret;
}
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 1030875a3e95..cc1b32023838 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -4462,7 +4462,8 @@ static void blk_mq_realloc_hw_ctxs(struct blk_mq_tag_set *set,
unsigned long i, j;
/* protect against switching io scheduler */
- mutex_lock(&q->sysfs_lock);
+ lockdep_assert_held(&q->sysfs_lock);
+
for (i = 0; i < set->nr_hw_queues; i++) {
int old_node;
int node = blk_mq_get_hctx_node(set, i);
@@ -4495,7 +4496,6 @@ static void blk_mq_realloc_hw_ctxs(struct blk_mq_tag_set *set,
xa_for_each_start(&q->hctx_table, j, hctx, j)
blk_mq_exit_hctx(q, set, hctx, j);
- mutex_unlock(&q->sysfs_lock);
/* unregister cpuhp callbacks for exited hctxs */
blk_mq_remove_hw_queues_cpuhp(q);
@@ -4527,10 +4527,14 @@ int blk_mq_init_allocated_queue(struct blk_mq_tag_set *set,
xa_init(&q->hctx_table);
+ mutex_lock(&q->sysfs_lock);
+
blk_mq_realloc_hw_ctxs(set, q);
if (!q->nr_hw_queues)
goto err_hctxs;
+ mutex_unlock(&q->sysfs_lock);
+
INIT_WORK(&q->timeout_work, blk_mq_timeout_work);
blk_queue_rq_timeout(q, set->timeout ? set->timeout : 30 * HZ);
@@ -4549,6 +4553,7 @@ int blk_mq_init_allocated_queue(struct blk_mq_tag_set *set,
return 0;
err_hctxs:
+ mutex_unlock(&q->sysfs_lock);
blk_mq_release(q);
err_exit:
q->mq_ops = NULL;
@@ -4929,12 +4934,12 @@ static bool blk_mq_elv_switch_none(struct list_head *head,
return false;
/* q->elevator needs protection from ->sysfs_lock */
- mutex_lock(&q->sysfs_lock);
+ lockdep_assert_held(&q->sysfs_lock);
/* the check has to be done with holding sysfs_lock */
if (!q->elevator) {
kfree(qe);
- goto unlock;
+ goto out;
}
INIT_LIST_HEAD(&qe->node);
@@ -4944,9 +4949,7 @@ static bool blk_mq_elv_switch_none(struct list_head *head,
__elevator_get(qe->type);
list_add(&qe->node, head);
elevator_disable(q);
-unlock:
- mutex_unlock(&q->sysfs_lock);
-
+out:
return true;
}
@@ -4975,11 +4978,9 @@ static void blk_mq_elv_switch_back(struct list_head *head,
list_del(&qe->node);
kfree(qe);
- mutex_lock(&q->sysfs_lock);
elevator_switch(q, t);
/* drop the reference acquired in blk_mq_elv_switch_none */
elevator_put(t);
- mutex_unlock(&q->sysfs_lock);
}
static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,
@@ -4999,8 +5000,11 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,
if (set->nr_maps == 1 && nr_hw_queues == set->nr_hw_queues)
return;
- list_for_each_entry(q, &set->tag_list, tag_set_list)
+ list_for_each_entry(q, &set->tag_list, tag_set_list) {
+ mutex_lock(&q->sysfs_dir_lock);
+ mutex_lock(&q->sysfs_lock);
blk_mq_freeze_queue(q);
+ }
/*
* Switch IO scheduler to 'none', cleaning up the data associated
* with the previous scheduler. We will switch back once we are done
@@ -5056,8 +5060,11 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,
list_for_each_entry(q, &set->tag_list, tag_set_list)
blk_mq_elv_switch_back(&head, q);
- list_for_each_entry(q, &set->tag_list, tag_set_list)
+ list_for_each_entry(q, &set->tag_list, tag_set_list) {
blk_mq_unfreeze_queue(q);
+ mutex_unlock(&q->sysfs_lock);
+ mutex_unlock(&q->sysfs_dir_lock);
+ }
/* Free the excess tags when nr_hw_queues shrink. */
for (i = set->nr_hw_queues; i < prev_nr_hw_queues; i++)
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 207577145c54..42c2cb97d778 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -690,11 +690,11 @@ queue_attr_store(struct kobject *kobj, struct attribute *attr,
return res;
}
- blk_mq_freeze_queue(q);
mutex_lock(&q->sysfs_lock);
+ blk_mq_freeze_queue(q);
res = entry->store(disk, page, length);
- mutex_unlock(&q->sysfs_lock);
blk_mq_unfreeze_queue(q);
+ mutex_unlock(&q->sysfs_lock);
return res;
}
--
2.39.5
next prev parent reply other threads:[~2024-12-17 17:32 UTC|newest]
Thread overview: 195+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 17:05 [PATCH 6.12 000/172] 6.12.6-rc1 review Greg Kroah-Hartman
2024-12-17 17:05 ` [PATCH 6.12 001/172] usb: misc: onboard_usb_dev: skip suspend/resume sequence for USB5744 SMBus support Greg Kroah-Hartman
2024-12-17 17:05 ` [PATCH 6.12 002/172] serial: sh-sci: Check if TX data was written to device in .tx_empty() Greg Kroah-Hartman
2024-12-17 17:05 ` [PATCH 6.12 003/172] bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 004/172] sched/deadline: Fix replenish_dl_new_period dl_server condition Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 005/172] perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 006/172] clk: en7523: Fix wrong BUS clock for EN7581 Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 007/172] ksmbd: fix racy issue from session lookup and expire Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 008/172] splice: do not checksum AF_UNIX sockets Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 009/172] tcp: check space before adding MPTCP SYN options Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 010/172] perf ftrace: Fix undefined behavior in cmp_profile_data() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 011/172] virtio_net: correct netdev_tx_reset_queue() invocation point Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 012/172] virtio_ring: add a func argument recycle_done to virtqueue_resize() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 013/172] virtio_net: ensure netdev_tx_reset_queue is called on tx ring resize Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 014/172] riscv: mm: Do not call pmd dtor on vmemmap page table teardown Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 015/172] riscv: Fix wrong usage of __pa() on a fixmap address Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 016/172] blk-cgroup: Fix UAF in blkcg_unpin_online() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 017/172] block: Switch to using refcount_t for zone write plugs Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 018/172] block: Use a zone write plug BIO work for REQ_NOWAIT BIOs Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 019/172] dm: Fix dm-zoned-reclaim zone write pointer alignment Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 020/172] block: Prevent potential deadlocks in zone write plug error recovery Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 021/172] gpio: graniterapids: Fix GPIO Ack functionality Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 022/172] memcg: slub: fix SUnreclaim for post charged objects Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 023/172] spi: rockchip: Fix PM runtime count on no-op cs Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 024/172] gpio: ljca: Initialize num before accessing item in ljca_gpio_config Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 025/172] ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5 Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 026/172] ALSA: hda/realtek: Fix headset mic on Acer Nitro 5 Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 027/172] riscv: Fix IPIs usage in kfence_protect_page() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 028/172] crypto: hisilicon/debugfs - fix the struct pointer incorrectly offset problem Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 029/172] drm/panic: remove spurious empty line to clean warning Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 030/172] usb: host: max3421-hcd: Correctly abort a USB request Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 031/172] block: Ignore REQ_NOWAIT for zone reset and zone finish operations Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 032/172] gpio: graniterapids: Fix vGPIO driver crash Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 033/172] gpio: graniterapids: Fix incorrect BAR assignment Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 034/172] gpio: graniterapids: Fix invalid GPI_IS register offset Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 035/172] gpio: graniterapids: Fix invalid RXEVCFG register bitmask Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 036/172] gpio: graniterapids: Determine if GPIO pad can be used by driver Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 037/172] gpio: graniterapids: Check if GPIO line can be used for IRQs Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 038/172] usb: core: hcd: only check primary hcd skip_phy_initialization Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 039/172] bpf: Revert "bpf: Mark raw_tp arguments with PTR_MAYBE_NULL" Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 040/172] ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 041/172] usb: dwc2: Fix HCD resume Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 042/172] usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 043/172] usb: dwc2: Fix HCD port connection race Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 044/172] scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 045/172] usb: gadget: midi2: Fix interpretation of is_midi1 bits Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 046/172] usb: ehci-hcd: fix call balance of clocks handling routines Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 047/172] usb: typec: anx7411: fix fwnode_handle reference leak Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 048/172] usb: dwc3: imx8mp: fix software node kernel dump Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 049/172] usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe() Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 050/172] usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 051/172] usb: typec: ucsi: Fix completion notifications Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 052/172] usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 053/172] iommu/tegra241-cmdqv: do not use smp_processor_id in preemptible context Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 054/172] iommu/vt-d: Remove cache tags before disabling ATS Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 055/172] iommu/vt-d: Fix qi_batch NULL pointer with nested parent domain Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 056/172] drm/xe: Call invalidation_fence_fini for PT inval fences in error state Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 057/172] drm/amdkfd: pause autosuspend when creating pdd Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 058/172] drm/i915: Fix memory leak by correcting cache object name in error handler Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 059/172] drm/i915/color: Stop using non-posted DSB writes for legacy LUT Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 060/172] drm/i915: Fix NULL pointer dereference in capture_engine Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 061/172] drm/amdgpu: fix UVD contiguous CS mapping problem Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 062/172] drm/amd/pm: Set SMU v13.0.7 default workload type Greg Kroah-Hartman
2024-12-17 17:06 ` [PATCH 6.12 063/172] drm/amdgpu: fix when the cleaner shader is emitted Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 064/172] drm/amdkfd: Dereference null return value Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 065/172] drm/amdkfd: hard-code cacheline size for gfx11 Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 066/172] drm/amdkfd: hard-code MALL cacheline size for gfx11, gfx12 Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 067/172] xfs: set XFS_SICK_INO_SYMLINK_ZAPPED explicitly when zapping a symlink Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 068/172] xfs: update btree keys correctly when _insrec splits an inode root block Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 069/172] xfs: dont drop errno values when we fail to ficlone the entire range Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 070/172] xfs: return a 64-bit block count from xfs_btree_count_blocks Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 071/172] xfs: fix null bno_hint handling in xfs_rtallocate_rtg Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 072/172] xfs: return from xfs_symlink_verify early on V4 filesystems Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 073/172] xfs: fix scrub tracepoints when inode-rooted btrees are involved Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 074/172] xfs: only run precommits once per transaction object Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 075/172] xfs: unlock inodes when erroring out of xfs_trans_alloc_dir Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 076/172] bpf: Check size for BTF-based ctx access of pointer members Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 077/172] bpf: Fix theoretical prog_array UAF in __uprobe_perf_func() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 078/172] bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 079/172] bpf, sockmap: Fix race between element replace and close() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 080/172] bpf, sockmap: Fix update element with same Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 081/172] bpf: Augment raw_tp arguments with PTR_MAYBE_NULL Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 082/172] perf tools: Fix build-id event recording Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 083/172] wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 084/172] wifi: mac80211: init cnt before accessing elem in ieee80211_copy_mbssid_beacon Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 085/172] wifi: mac80211: fix a queue stall in certain cases of CSA Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 086/172] wifi: mac80211: fix station NSS capability initialization order Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 087/172] perf machine: Initialize machine->env to address a segfault Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 088/172] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 089/172] amdgpu/uvd: get ring reference from rq scheduler Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 090/172] batman-adv: Do not send uninitialized TT changes Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 091/172] batman-adv: Remove uninitialized data in full table TT response Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 092/172] batman-adv: Do not let TT changes list grows indefinitely Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 093/172] tipc: fix NULL deref in cleanup_bearer() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 094/172] net/mlx5: DR, prevent potential error pointer dereference Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 095/172] wifi: cfg80211: sme: init n_channels before channels[] access Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 096/172] selftests: mlxsw: sharedbuffer: Remove h1 ingress test case Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 097/172] selftests: mlxsw: sharedbuffer: Remove duplicate test cases Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 098/172] selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 099/172] ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 100/172] bnxt_en: Fix GSO type for HW GRO packets on 5750X chips Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 101/172] net: lapb: increase LAPB_HEADER_LEN Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 102/172] net: defer final struct net free in netns dismantle Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 103/172] net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 104/172] net: mscc: ocelot: improve handling of TX timestamp for unknown skb Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 105/172] net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 106/172] net: mscc: ocelot: be resilient to loss of PTP packets during transmission Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 107/172] net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 108/172] regulator: axp20x: AXP717: set ramp_delay Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 109/172] spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user() Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 110/172] net: sparx5: fix FDMA performance issue Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 111/172] net: sparx5: fix the maximum frame length register Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 112/172] ACPI: resource: Fix memory resource type union access Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 113/172] cxgb4: use port number to set mac addr Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 114/172] qca_spi: Fix clock speed for multiple QCA7000 Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 115/172] qca_spi: Make driver probing reliable Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 116/172] ALSA: control: Avoid WARN() for symlink errors Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 117/172] ASoC: amd: yc: Fix the wrong return value Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 118/172] Documentation: PM: Clarify pm_runtime_resume_and_get() " Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 119/172] block: get wp_offset by bdev_offset_from_zone_start Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 120/172] bnxt_en: Fix aggregation ID mask to prevent oops on 5760X chips Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 121/172] Documentation: networking: Add a caveat to nexthop_compat_mode sysctl Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 122/172] cifs: Fix rmdir failure due to ongoing I/O on deleted file Greg Kroah-Hartman
2024-12-17 17:07 ` [PATCH 6.12 123/172] net: renesas: rswitch: fix possible early skb release Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 124/172] net: renesas: rswitch: fix race window between tx start and complete Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 125/172] net: renesas: rswitch: fix leaked pointer on error path Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 126/172] net: renesas: rswitch: avoid use-after-put for a device tree node Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 127/172] net: renesas: rswitch: handle stop vs interrupt race Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 128/172] ASoC: tas2781: Fix calibration issue in stress test Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 129/172] Bluetooth: Improve setsockopt() handling of malformed user input Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 130/172] libperf: evlist: Fix --cpu argument on hybrid platform Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 131/172] ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 132/172] ASoC: fsl_spdif: " Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 133/172] selftests: netfilter: Stabilize rpath.sh Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 134/172] netfilter: IDLETIMER: Fix for possible ABBA deadlock Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 135/172] netfilter: nf_tables: do not defer rule destruction via call_rcu Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 136/172] net: mana: Fix memory leak in mana_gd_setup_irqs Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 137/172] net: mana: Fix irq_contexts " Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 138/172] net: dsa: felix: fix stuck CPU-injected packets with short taprio windows Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 139/172] net/sched: netem: account for backlog updates from child qdisc Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 140/172] net, team, bonding: Add netdev_base_features helper Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 141/172] bonding: Fix initial {vlan,mpls}_feature set in bond_compute_features Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 142/172] bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 143/172] team: Fix initial vlan_feature set in __team_compute_features Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 144/172] team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 145/172] ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 146/172] ACPICA: events/evxfregn: dont release the ContextMutex that was never acquired Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 147/172] Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 148/172] Bluetooth: iso: Always release hdev at the end of iso_listen_bis Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 149/172] Bluetooth: iso: Fix recursive locking warning Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 150/172] Bluetooth: SCO: Add support for 16 bits transparent voice setting Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 151/172] Bluetooth: iso: Fix circular lock in iso_listen_bis Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 152/172] Bluetooth: iso: Fix circular lock in iso_conn_big_sync Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 153/172] Bluetooth: btmtk: avoid UAF in btmtk_process_coredump Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 154/172] net: renesas: rswitch: fix initial MPIC register setting Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 155/172] net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 156/172] net: dsa: tag_ocelot_8021q: fix broken reception Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 157/172] drm/xe: fix the ERR_PTR() returned on failure to allocate tiny pt Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 158/172] drm/xe/reg_sr: Remove register pool Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 159/172] blk-iocost: Avoid using clamp() on inuse in __propagate_weights() Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 160/172] kselftest/arm64: abi: fix SVCR detection Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 161/172] blk-mq: move cpuhp callback registering out of q->sysfs_lock Greg Kroah-Hartman
2024-12-17 17:08 ` Greg Kroah-Hartman [this message]
2024-12-17 17:08 ` [PATCH 6.12 163/172] rust: kbuild: set `bindgen`s Rust target version Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 164/172] KVM: arm64: Disable MPAM visibility by default and ignore VMM writes Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 165/172] xen/netfront: fix crash when removing device Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 166/172] x86: make get_cpu_vendor() accessible from Xen code Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 167/172] objtool/x86: allow syscall instruction Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 168/172] x86/static-call: provide a way to do very early static-call updates Greg Kroah-Hartman
2024-12-18 8:37 ` Jiri Slaby
2024-12-18 8:53 ` Jürgen Groß
2024-12-19 15:40 ` Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 169/172] x86/xen: dont do PV iret hypercall through hypercall page Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 170/172] x86/xen: add central hypercall functions Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 171/172] x86/xen: use new hypercall functions instead of hypercall page Greg Kroah-Hartman
2024-12-17 17:08 ` [PATCH 6.12 172/172] x86/xen: remove " Greg Kroah-Hartman
2024-12-17 20:21 ` [PATCH 6.12 000/172] 6.12.6-rc1 review Florian Fainelli
2024-12-17 22:58 ` Shuah Khan
2024-12-17 23:43 ` Christian Heusel
2024-12-18 0:58 ` Guenter Roeck
2024-12-18 6:42 ` Ron Economos
2024-12-18 12:16 ` Takeshi Ogasawara
2024-12-18 12:32 ` Mark Brown
2024-12-18 13:03 ` Peter Schneider
2024-12-18 13:19 ` Naresh Kamboju
2024-12-18 14:56 ` Jiri Slaby
2024-12-18 16:53 ` Guenter Roeck
2024-12-18 16:54 ` Peter Zijlstra
2024-12-18 17:48 ` Jiri Slaby
2024-12-19 5:56 ` Guenter Roeck
2025-01-13 11:00 ` Pavel Machek
2024-12-18 17:21 ` Jon Hunter
2024-12-18 17:57 ` Justin Forbes
2024-12-19 6:35 ` Harshit Mogalapalli
2024-12-19 18:29 ` Miguel Ojeda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241217170553.049517888@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=axboe@kernel.dk \
--cc=gjoyce@linux.ibm.com \
--cc=hch@lst.de \
--cc=kjain@linux.ibm.com \
--cc=ming.lei@redhat.com \
--cc=nilay@linux.ibm.com \
--cc=patches@lists.linux.dev \
--cc=ritesh.list@gmail.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox