================================================================== BUG: KASAN: stack-out-of-bounds in i801_isr_byte_done drivers/i2c/busses/i2c-i801.c:610 [inline] BUG: KASAN: stack-out-of-bounds in i801_isr drivers/i2c/busses/i2c-i801.c:670 [inline] BUG: KASAN: stack-out-of-bounds in i801_isr+0xc70/0xd60 drivers/i2c/busses/i2c-i801.c:651 Read of size 1 at addr ffffc90001607db8 by task systemd-udevd/5024 CPU: 1 PID: 5024 Comm: systemd-udevd 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:__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 00 13 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: ffff88801d8a0080 RCX: 1ffffffff1b91de9 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff888011cbe280 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817a14c8 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000282 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:647 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:197 Code: 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 3c 15 00 00 85 c0 74 2b 8b 82 18 15 00 00 <83> f8 02 75 20 48 8b 8a 20 15 00 00 8b 92 1c 15 00 00 48 8b 01 48 RSP: 0018:ffffc900008275a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000000000000000f RCX: 0000000000000000 RDX: ffff88801d8a0080 RSI: ffffffff839f71da RDI: 0000000000000003 RBP: ffff8880248c4800 R08: 0000000000000000 R09: 000000000000000f R10: ffffffff839f71c7 R11: 0000000000000010 R12: 0000000000000001 R13: 0000000000000376 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x31a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x33e/0x380 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308 security_file_open+0x52/0x4f0 security/security.c:1633 do_dentry_open+0x358/0x11b0 fs/open.c:813 do_open fs/namei.c:3361 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3494 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3f220c69b1 Code: f7 d8 bf ff ff ff ff 64 89 02 eb cb 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 80 3f 00 74 1b be 00 08 09 00 b8 02 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 1f 89 c7 e9 00 ff ff ff 48 8b 05 b1 54 2e 00 RSP: 002b:00007ffee5ac87e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055b8d0faeea0 RCX: 00007f3f220c69b1 RDX: 00000000000000fd RSI: 0000000000090800 RDI: 000055b8d0f812e0 RBP: 00007f3f2327c710 R08: 000055b8d0f814b0 R09: 0000000000001010 R10: 0000000000000210 R11: 0000000000000202 R12: 0000000000000000 R13: 000055b8d0f812e0 R14: 00000000000000fd R15: 000055b8d0f812e0 Memory state around the buggy address: ffffc90001607c80: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 ffffc90001607d00: f1 f1 04 f2 04 f2 04 f2 00 00 f2 f2 00 00 00 f2 >ffffc90001607d80: f2 f2 f2 f2 00 00 00 f2 f2 f2 f2 f2 00 00 f3 f3 ^ ffffc90001607e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90001607e80: 00 f1 f1 f1 f1 00 f2 f2 f2 00 00 f3 f3 00 00 00 ==================================================================