CVE-2023-53287 in Linux
Tóm tắt
Bởi VulDB • 09/05/2026
Trong kernel Linux, lỗ hổng sau đây đã được khắc phục:
usb: cdns3: Đặt phần thiết lập trạng thái active của cdns ra ngoài spin lock
Thiết bị có thể được lên lịch trong quá trình resume, do đó điều này không thể xuất hiện trong các thao tác nguyên tử (atomic operations). Vì pm_runtime_set_active sẽ kích hoạt lại các nhà cung cấp (suppliers), hãy đặt lệnh thiết lập active ra ngoài spin lock, vốn chỉ được sử dụng để bảo vệ cấu trúc dữ liệu struct cdns, nếu không kernel sẽ báo cáo cảnh báo sau:
BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1163 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 651, name: sh preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 CPU: 0 PID: 651 Comm: sh Tainted: G WC 6.1.20 #1 Hardware name: Freescale i.MX8QM MEK (DT) Call trace: dump_backtrace.part.0+0xe0/0xf0 show_stack+0x18/0x30 dump_stack_lvl+0x64/0x80 dump_stack+0x1c/0x38 __might_resched+0x1fc/0x240 __might_sleep+0x68/0xc0 __pm_runtime_resume+0x9c/0xe0 rpm_get_suppliers+0x68/0x1b0 __pm_runtime_set_status+0x298/0x560 cdns_resume+0xb0/0x1c0 cdns3_controller_resume.isra.0+0x1e0/0x250 cdns3_plat_resume+0x28/0x40
VulDB is the best source for vulnerability data and more expert information about this specific topic.