https://bugzilla.kernel.org/show_bug.cgi?id=220758
Bug ID: 220758
Summary: Observed Data-races on boot by using KCSAN
Product: ACPI
Version: 2.5
Hardware: AMD
OS: Linux
Status: NEW
Severity: high
Priority: P3
Component: ACPICA-Core
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 308911
--> https://bugzilla.kernel.org/attachment.cgi?id=308911&action=edit
attachment KCSAN BUG ACPI
Hello Team,
i have build linux kernel 6.17.7 by taking code from kernel.org and i have
enabled CONFIG_KCSAN in kernel config file and installed the kernel.
After the initial boot, i saw some concurrency issues in dmesg kernel ring
buffer.
Few are related to ACPI and few are related to timer subsystem.
ref dmesg log:
[ 9.860855] BUG: KCSAN: data-race in acpi_ut_exit / acpi_ut_trace_ptr
[ 9.860889] write to 0xffffffff930ffea4 of 4 bytes by task 1 on cpu 17:
[ 9.860902] acpi_ut_exit+0x6b/0xc0
[ 9.860922] acpi_ut_delete_object_desc+0xd2/0xf0
[ 9.860940] acpi_ut_update_ref_count.part.0+0x448/0xcf0
[ 9.860957] acpi_ut_update_object_reference+0x285/0x3a0
[ 9.860973] acpi_ut_remove_reference+0xb5/0xf0
[ 9.860988] acpi_rs_get_prt_method_data+0x88/0x100
[ 9.861005] acpi_get_irq_routing_table+0x6a/0xf0
[ 9.861022] acpi_pci_irq_find_prt_entry+0xd3/0x630
[ 9.861045] acpi_pci_irq_lookup+0x4a/0x360
[ 9.861065] acpi_pci_irq_enable+0xc6/0x390
[ 9.861085] pcibios_enable_device+0x5a/0x70
[ 9.861105] do_pci_enable_device+0x116/0x220
[ 9.861123] pci_enable_device_flags+0x16c/0x210
[ 9.861141] pci_enable_device+0x13/0x20
[ 9.861159] usb_hcd_pci_probe+0x3d/0x6b0
[ 9.861174] uhci_pci_probe+0x15/0x20
[ 9.861174] local_pci_probe+0x88/0xf0
[ 9.861174] pci_device_probe+0x19e/0x3d0
[ 9.861174] really_probe+0x16c/0x530
[ 9.861174] __driver_probe_device+0xe6/0x210
[ 9.861174] driver_probe_device+0x64/0x170
[ 9.861174] __driver_attach+0x170/0x2f0
[ 9.861174] bus_for_each_dev+0x94/0xf0
[ 9.861174] driver_attach+0x2d/0x40
[ 9.861174] bus_add_driver+0x16b/0x430
[ 9.861174] driver_register+0xa9/0x200
[ 9.861174] __pci_register_driver+0xeb/0x100
[ 9.861174] uhci_hcd_init+0x13c/0x260
[ 9.861174] do_one_initcall+0x4a/0x3c0
[ 9.861174] kernel_init_freeable+0x5ed/0x8c0
[ 9.861174] kernel_init+0x21/0x270
[ 9.861174] ret_from_fork+0x1aa/0x1e0
[ 9.861174] ret_from_fork_asm+0x1a/0x30
[ 9.861174] read to 0xffffffff930ffea4 of 4 bytes by task 317 on cpu 16:
[ 9.861174] acpi_ut_trace_ptr+0x40/0x140
[ 9.861174] acpi_ut_delete_object_desc+0x2e/0xf0
[ 9.861561] uhci_hcd 0000:02:01.0: UHCI Host Controller
[ 9.861174] acpi_ut_update_ref_count.part.0+0x448/0xcf0
[ 9.861174] acpi_ut_update_object_reference+0x18a/0x3a0
[ 9.861174] acpi_ut_remove_reference+0xb5/0xf0
[ 9.861174] acpi_rs_get_prt_method_data+0x88/0x100
[ 9.861628] uhci_hcd 0000:02:01.0: new USB bus registered, assigned bus
number 1
[ 9.861174] acpi_get_irq_routing_table+0x6a/0xf0
[ 9.861174] acpi_pci_irq_find_prt_entry+0xd3/0x630
[ 9.861174] acpi_pci_irq_lookup+0x4a/0x360
[ 9.861174] acpi_pci_irq_enable+0xc6/0x390
[ 9.861685] uhci_hcd 0000:02:01.0: detected 2 ports
[ 9.861174] pcibios_enable_device+0x5a/0x70
[ 9.861174] do_pci_enable_device+0x116/0x220
[ 9.861174] pci_enable_device_flags+0x16c/0x210
[ 9.861174] pci_enable_device+0x13/0x20
[ 9.861174] usb_hcd_pci_probe+0x3d/0x6b0
[ 9.861174] ehci_pci_probe+0x31/0x50
[ 9.861174] local_pci_probe+0x88/0xf0
[ 9.861174] pci_device_probe+0x19e/0x3d0
[ 9.861174] really_probe+0x16c/0x530
[ 9.861174] __driver_probe_device+0xe6/0x210
[ 9.861174] driver_probe_device+0x64/0x170
[ 9.861174] __driver_attach_async_helper+0xbb/0x180
[ 9.861174] async_run_entry_fn+0x66/0x240
[ 9.861926] uhci_hcd 0000:02:01.0: irq 18, io port 0x00000a00
[ 9.861174] process_one_work+0x3b2/0x800
[ 9.861174] worker_thread+0x57c/0x7f0
[ 9.861174] kthread+0x1ef/0x3f0
[ 9.861174] ret_from_fork+0x1aa/0x1e0
[ 9.861174] ret_from_fork_asm+0x1a/0x30
[ 9.861174] value changed: 0x00000008 -> 0x00000006
[ 9.861174] Reported by Kernel Concurrency Sanitizer on:
[ 9.861174] CPU: 16 UID: 0 PID: 317 Comm: kworker/u145:2 Not tainted 6.17.7
#4 PREEMPT(voluntary)
[ 9.861174] Hardware name: VMware, Inc. VMware20,1/440BX Desktop Reference
Platform, BIOS VMW201.00V.23553139.B64.2403260940 03/26/2024
[ 9.861174] Workqueue: async async_run_entry_fn
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla