CVE-2023-53730 in Linuxthông tin

Tóm tắt

Bởi VulDB • 24/05/2026

Trong kernel Linux, lỗ hổng sau đây đã được khắc phục:

blk-iocost: sử dụng spin_lock_irqsave trong adjust_inuse_and_calc_cost

Hàm adjust_inuse_and_calc_cost() sử dụng spin_lock_irq() và ngắt phần cứng (IRQ) sẽ được kích hoạt khi giải phóng khóa. Có thể xảy ra DEADLOCK nếu chúng ta đã giữ các khóa khác và đã vô hiệu hóa IRQ trước khi gọi hàm này.

Khắc phục bằng cách sử dụng spin_lock_irqsave() thay thế, điều này giúp giữ trạng thái IRQ nhất quán với trạng thái trước đó khi giải phóng khóa.

================================ WARNING: inconsistent lock state 5.10.0-02758-g8e5f91fd772f #26 ---------------------------------- possible unsafe locking scenario:

CPU0 ---- lock(&bfqd->lock); lock(&bfqd->lock);

*** DEADLOCK ***

3 locks held by kworker/2:3/388: #0: ffff888107af0f38 ((wq_completion)kthrotld){+.+.}-{0:0}, at: process_one_work+0x742/0x13f0
#1: ffff8881176bfdd8 ((work_completion)(&td->dispatch_work)){+.+.}-{0:0}, at: process_one_work+0x777/0x13f0
#2: ffff888118c00c28 (&bfqd->lock){?.-.}-{2:2}, at: spin_lock_irq
#2: ffff888118c00c28 (&bfqd->lock){?.-.}-{2:2}, at: bfq_bio_merge+0x141/0x390

stack backtrace: CPU: 2 PID: 388 Comm: kworker/2:3 Not tainted 5.10.0-02758-g8e5f91fd772f #26 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: kthrotld blk_throtl_dispatch_work_fn Call Trace: __dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x107/0x167 print_usage_bug valid_state mark_lock_irq.cold+0x32/0x3a mark_lock+0x693/0xbc0 mark_held_locks+0x9e/0xe0 __trace_hardirqs_on_caller lockdep_hardirqs_on_prepare.part.0+0x151/0x360 trace_hardirqs_on+0x5b/0x180 __raw_spin_unlock_irq _raw_spin_unlock_irq+0x24/0x40 spin_unlock_irq adjust_inuse_and_calc_cost+0x4fb/0x970 ioc_rqos_merge+0x277/0x740 __rq_qos_merge+0x62/0xb0 rq_qos_merge bio_attempt_back_merge blk_mq_sched_try_merge+0x1b6/0x4d0 bfq_bio_merge+0x24a/0x390 __blk_mq_sched_bio_merge+0xa6/0x460 blk_mq_sched_bio_merge blk_mq_submit_bio+0x2e7/0x1ee0 __submit_bio_noacct_mq+0x175/0x3b0 submit_bio_noacct+0x1fb/0x270 blk_throtl_dispatch_work_fn+0x1ef/0x2b0 process_one_work+0x83e/0x13f0 process_scheduled_works worker_thread+0x7e3/0xd80 kthread+0x353/0x470 ret_from_fork+0x1f/0x30

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

chịu trách nhiệm

Linux

Đặt trước

22/10/2025

Tiết lộ

22/10/2025

Kiểm duyệt

được chấp nhận

EPSS

0.00191

KEV

không

Các hoạt động

rất thấp

Nguồn

Might our Artificial Intelligence support you?

Check our Alexa App!