Skip to content

Conversation

@bhe4
Copy link

@bhe4 bhe4 commented May 22, 2025

BUG: KASAN: global-out-of-bounds in update_pdata+0x80b/0xcc0 [ipu6_acpi_pdata]
Write of size 8 at addr ffffffffc09bace8 by task (udev-worker)/235

the patch is to fix the below issue:
BUG: KASAN: global-out-of-bounds in update_pdata+0x80b/0xcc0 [ipu6_acpi_pdata]
Write of size 8 at addr ffffffffc09bace8 by task (udev-worker)/235
Call Trace:
 <TASK>
 dump_stack_lvl+0x36/0x80
 print_report+0xcf/0x640
 ? kasan_unpoison+0x44/0x80
 ? lock_acquire.part.0.isra.0+0x41/0xc0
 ? update_pdata+0x80b/0xcc0 [ipu6_acpi_pdata]
 kasan_report+0xb7/0x100
 ? update_pdata+0x80b/0xcc0 [ipu6_acpi_pdata]
 update_pdata+0x80b/0xcc0 [ipu6_acpi_pdata]
 get_sensor_pdata+0x2dd/0x940 [ipu6_acpi_pdata]
 ? __pfx_get_sensor_pdata+0x40/0x40 [ipu6_acpi_pdata]
 ipu_acpi_test+0x2c4/0x400 [ipu6_acpi]
 ? __pfx_get_sensor_pdata+0x40/0x40 [ipu6_acpi_pdata]
 ? __pfx_ipu_acpi_test+0x40/0x40 [ipu6_acpi]
 bus_for_each_dev+0xcf/0x140
 ? __pfx_bus_for_each_dev+0x40/0x40
 ? do_raw_spin_unlock+0xa6/0x140
 ? __pfx_isys_init_acpi_add_device+0x40/0x40 [intel_ipu6]
 ipu_get_acpi_devices+0x52/0x100 [ipu6_acpi]
 ipu_pci_probe+0x106d/0x1400 [intel_ipu6]
 ? __pfx_lock_release+0x40/0x40
 ? __pfx_ipu_pci_probe+0x40/0x40 [intel_ipu6]
 ? lock_acquire.part.0.isra.0+0x80/0xc0
 ? do_raw_spin_unlock+0xa6/0x140
 ? _raw_spin_unlock_irqrestore+0x22/0x80
 pci_device_probe+0xf8/0x240
 really_probe+0x276/0x5c0

Signed-off-by: Bo He <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant