================================================================== BUG: KASAN: vmalloc-out-of-bounds in i801_isr_byte_done drivers/i2c/busses/i2c-i801.c:593 [inline] BUG: KASAN: vmalloc-out-of-bounds in i801_isr drivers/i2c/busses/i2c-i801.c:664 [inline] BUG: KASAN: vmalloc-out-of-bounds in i801_isr+0xb2d/0xbf0 drivers/i2c/busses/i2c-i801.c:645 Write of size 1 at addr ffffc90008877dc0 by task swapper/3/0 CPU: 3 PID: 0 Comm: swapper/3 Not tainted 5.9.0-rc5-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x497 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 i801_isr_byte_done drivers/i2c/busses/i2c-i801.c:593 [inline] i801_isr drivers/i2c/busses/i2c-i801.c:664 [inline] i801_isr+0xb2d/0xbf0 drivers/i2c/busses/i2c-i801.c:645 __handle_irq_event_percpu+0x223/0xaa0 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x102/0x285 kernel/irq/handle.c:213 handle_fasteoi_irq+0x22f/0x9f0 kernel/irq/chip.c:714 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0x96/0x1f0 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:572 RIP: 0010:__do_softirq+0x1bb/0xb23 kernel/softirq.c:284 Code: c7 c0 b8 6b dc 89 48 c1 e8 03 42 80 3c 38 00 0f 85 63 08 00 00 48 83 3d 0a 6a 9c 01 00 0f 84 56 07 00 00 fb 66 0f 1f 44 00 00 <48> c7 44 24 08 c0 90 c0 89 b8 ff ff ff ff 0f bc 44 24 04 83 c0 01 RSP: 0018:ffffc90000598f68 EFLAGS: 00000282 RAX: 1ffffffff13b8d77 RBX: ffff88802c250400 RCX: 1ffffffff1668d49 RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000000 RBP: ffffc9000043fd60 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x235/0x280 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: 89 ef e8 c5 7c ae f9 e9 86 fe ff ff 48 89 df e8 b8 7c ae f9 e9 7b ff ff ff cc cc cc e9 07 00 00 00 0f 00 2d 64 4f 60 00 fb f4 90 e9 07 00 00 00 0f 00 2d 54 4f 60 00 f4 c3 cc cc 55 53 e8 79 RSP: 0018:ffffc9000043fe60 EFLAGS: 00000282 RAX: 1ffffffff13b8d78 RBX: ffff88802c250400 RCX: 1ffffffff1668d49 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89dc6ba0 R13: ffffed100584a080 R14: 0000000000000003 R15: ffffffff8b34a688 arch_safe_halt arch/x86/include/asm/paravirt.h:150 [inline] default_idle+0x2f/0x50 arch/x86/kernel/process.c:687 default_idle_call+0x95/0xd0 kernel/sched/idle.c:98 cpuidle_idle_call kernel/sched/idle.c:168 [inline] do_idle+0x4a9/0x730 kernel/sched/idle.c:273 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:369 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Memory state around the buggy address: ffffc90008877c80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90008877d00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90008877d80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90008877e00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90008877e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================