================================================================== BUG: KASAN: vmalloc-out-of-bounds in i801_isr_byte_done drivers/i2c/busses/i2c-i801.c:610 [inline] BUG: KASAN: vmalloc-out-of-bounds in i801_isr drivers/i2c/busses/i2c-i801.c:670 [inline] BUG: KASAN: vmalloc-out-of-bounds in i801_isr+0xc70/0xd60 drivers/i2c/busses/i2c-i801.c:651 Read of size 1 at addr ffffc90003737da5 by task syz-executor.0/10962 CPU: 1 PID: 10962 Comm: syz-executor.0 Not tainted 5.13.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 print_address_description.constprop.0.cold+0x5/0x2c6 mm/kasan/report.c:233 __kasan_report mm/kasan/report.c:419 [inline] kasan_report.cold+0x7c/0xd8 mm/kasan/report.c:436 i801_isr_byte_done drivers/i2c/busses/i2c-i801.c:610 [inline] i801_isr drivers/i2c/busses/i2c-i801.c:670 [inline] i801_isr+0xc70/0xd60 drivers/i2c/busses/i2c-i801.c:651 __handle_irq_event_percpu+0x303/0x8f0 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x102/0x290 kernel/irq/handle.c:213 handle_fasteoi_irq+0x22f/0x9f0 kernel/irq/chip.c:714 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x9e/0x200 arch/x86/kernel/irq.c:250 common_interrupt+0x4c/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:638 RIP: 0010:rcu_seq_current kernel/rcu/rcu.h:99 [inline] RIP: 0010:rcu_gp_in_progress kernel/rcu/tree.c:225 [inline] RIP: 0010:rcu_core+0x3a7/0x13b0 kernel/rcu/tree.c:2780 Code: 82 68 0c 85 f6 74 18 65 8b 05 e5 1a a1 7e 85 c0 75 0d 65 8b 05 b6 17 a1 7e 85 c0 74 02 0f 0b 4c 89 fe 48 89 ef e8 f9 03 b8 07 <48> 8b 05 8a 18 97 0a a8 03 0f 85 ab 00 00 00 48 8d bb 08 01 00 00 RSP: 0018:ffffc90000518e58 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88802cb36180 RCX: 0000000000000000 RDX: 1ffff11005966c32 RSI: 0000000000000103 RDI: 0000000000000001 RBP: ffff88802cb36198 R08: 0000000000000001 R09: ffffffff9022a9a7 R10: 0000000000000001 R11: 1ffff11005966c4f R12: ffff88802cb36190 R13: ffffffff8bf7f3c0 R14: ffff88802cb36192 R15: 000000000000000a __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 5e c7 40 f8 48 89 ef e8 f6 3f 41 f8 e8 11 35 61 f8 fb bf 01 00 00 00 76 38 35 f8 65 8b 05 5f 0c e9 76 85 c0 74 02 5d c3 e8 1b 62 e7 RSP: 0018:ffffc90003107980 EFLAGS: 00000202 RAX: 0000000000001cc1 RBX: 0000000000000402 RCX: 1ffffffff2051a82 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff88802cb35340 R08: 0000000000000001 R09: ffffffff9022a9a7 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802cb35340 R13: ffff88801b67e300 R14: ffff888078ce9740 R15: ffff8880792e0280 finish_lock_switch kernel/sched/core.c:4093 [inline] finish_task_switch.isra.0+0x15d/0x810 kernel/sched/core.c:4210 context_switch kernel/sched/core.c:4342 [inline] __schedule+0x91e/0x23e0 kernel/sched/core.c:5147 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5307 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 smp_call_function_single+0x419/0x4b0 kernel/smp.c:760 task_function_call+0xd9/0x160 kernel/events/core.c:119 perf_install_in_context+0x2cb/0x550 kernel/events/core.c:2917 __do_sys_perf_event_open+0x1d7b/0x2df0 kernel/events/core.c:12322 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efe8242c188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665d9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd1f7aafcf R14: 00007efe8242c300 R15: 0000000000022000 Memory state around the buggy address: ffffc90003737c80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90003737d00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90003737d80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90003737e00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90003737e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================