================================================================== 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 ffffc9000207fda4 by task syz-executor.3/8221 CPU: 1 PID: 8221 Comm: syz-executor.3 Not tainted 5.12.0-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:623 RIP: 0010:__do_softirq+0x196/0x9f6 kernel/softirq.c:545 Code: 00 48 01 f0 48 89 44 24 18 48 c7 c7 a0 3e 6a 89 e8 7f 1f d6 ff 65 66 c7 05 b5 47 c3 76 00 00 e8 50 03 3a f8 fb b8 ff ff ff ff <48> c7 c3 c0 a0 c0 8b 41 0f bc c5 41 89 c7 41 83 c7 01 75 47 e9 d2 RSP: 0018:ffffc90000518f70 EFLAGS: 00000202 RAX: 00000000ffffffff RBX: ffff888014244200 RCX: 1ffffffff204633a RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000000 RBP: ffff888011cbe280 R08: 0000000000000001 R09: ffffffff9022a8b7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000 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:632 RIP: 0010:compound_head include/linux/page-flags.h:184 [inline] RIP: 0010:PageAnon include/linux/page-flags.h:483 [inline] RIP: 0010:page_remove_rmap+0x3a/0x1430 mm/rmap.c:1350 Code: 4c 8d 65 08 48 83 ec 18 e8 c3 43 c7 ff 48 89 ef e8 1b 99 11 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 94 11 00 00 4c 8b 7d 08 31 ff 48 89 eb 4d 89 fe 41 83 e6 01 RSP: 0018:ffffc90001e0f730 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81be4ea5 RDX: 1ffffd40003bfe81 RSI: dffffc0000000000 RDI: ffff8880400fd080 RBP: ffffea0001dff400 R08: 0000000000000000 R09: ffff8880400fd083 R10: ffffed100801fa10 R11: 0000000000000000 R12: ffffea0001dff408 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000423000 zap_pte_range mm/memory.c:1270 [inline] zap_pmd_range mm/memory.c:1374 [inline] zap_pud_range mm/memory.c:1403 [inline] zap_p4d_range mm/memory.c:1424 [inline] unmap_page_range+0xe30/0x2650 mm/memory.c:1445 unmap_single_vma+0x198/0x300 mm/memory.c:1490 unmap_vmas+0x16d/0x2f0 mm/memory.c:1522 exit_mmap+0x2a8/0x590 mm/mmap.c:3208 __mmput+0x122/0x470 kernel/fork.c:1096 mmput+0x58/0x60 kernel/fork.c:1117 exit_mm kernel/exit.c:502 [inline] do_exit+0xb0a/0x2a60 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2818 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x171/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 Code: Unable to access opcode bytes at RIP 0x4665cf. RSP: 002b:00007f30ecdc8188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: 0000000000000003 RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff251c0f2f R14: 00007f30ecdc8300 R15: 0000000000022000 Memory state around the buggy address: ffffc9000207fc80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc9000207fd00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc9000207fd80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc9000207fe00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc9000207fe80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================