------------[ cut here ]------------ WARNING: CPU: 2 PID: 5081 at drivers/rtc/rtc-mc146818-lib.c:25 mc146818_get_time+0x665/0x860 drivers/rtc/rtc-mc146818-lib.c:25 Modules linked in: CPU: 2 PID: 5081 Comm: systemd-udevd Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:mc146818_get_time+0x665/0x860 drivers/rtc/rtc-mc146818-lib.c:25 Code: eb 4e e8 ce 49 c9 fb 4c 89 e6 48 c7 c7 60 6c b9 8b e8 cf 4f 54 03 bf 58 89 41 00 e8 f5 a9 33 fe e9 d5 f9 ff ff e8 ab 49 c9 fb <0f> 0b 48 c7 c7 60 6c b9 8b 4c 89 e6 45 31 e4 e8 a7 4f 54 03 ba 24 RSP: 0018:ffffc90000560d68 EFLAGS: 00010046 RAX: 0000000080010002 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888014da4040 RSI: ffffffff85a989e5 RDI: 0000000000000003 RBP: ffffc90000560e00 R08: 0000000000000001 R09: 0000000000000022 R10: ffffffff85a983e2 R11: 0000000000000000 R12: 0000000000000046 R13: 0000000000000022 R14: ffffc90000560f18 R15: ffff888010dd8000 FS: 00007f326a3dc8c0(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e0e20 CR3: 0000000012d1a000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hpet_rtc_interrupt+0x2b0/0x380 arch/x86/kernel/hpet.c:1358 __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_edge_irq+0x25f/0xd00 kernel/irq/chip.c:819 asm_call_irq_on_stack+0xf/0x20 __run_irq_on_irqstack arch/x86/include/asm/irq_stack.h:48 [inline] run_irq_on_irqstack_cond arch/x86/include/asm/irq_stack.h:101 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0x120/0x200 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:620 RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:49 Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 aa c3 cc cc cc cc cc cc 41 57 41 56 41 55 41 54 55 53 48 89 fb RSP: 0018:ffffc900014e7630 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea0001bfc1c0 RCX: 0000000000001000 RDX: 1ffff110029b4a78 RSI: 0000000000000002 RDI: ffff88806ff07000 RBP: ffff888014da4040 R08: 0000000000000001 R09: ffffed100dfe0c00 R10: fffff9400037f836 R11: 0000000000000000 R12: ffffed10029b4acc R13: dffffc0000000000 R14: ffffea0001bfc200 R15: ffff888014da5660 clear_page arch/x86/include/asm/page_64.h:49 [inline] clear_highpage include/linux/highmem.h:203 [inline] kernel_init_free_pages+0x99/0x120 mm/page_alloc.c:1212 prep_new_page mm/page_alloc.c:2306 [inline] get_page_from_freelist+0x1c6e/0x3f80 mm/page_alloc.c:3945 __alloc_pages_nodemask+0x2d6/0x730 mm/page_alloc.c:4995 __alloc_pages include/linux/gfp.h:511 [inline] __alloc_pages_node include/linux/gfp.h:524 [inline] kmem_getpages mm/slab.c:1376 [inline] cache_grow_begin+0x71/0x430 mm/slab.c:2593 fallback_alloc+0x1d3/0x2c0 mm/slab.c:3140 __do_cache_alloc mm/slab.c:3278 [inline] slab_alloc mm/slab.c:3307 [inline] __do_kmalloc mm/slab.c:3657 [inline] __kmalloc+0x2b5/0x440 mm/slab.c:3668 kmalloc include/linux/slab.h:557 [inline] tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x140 security/security.c:1280 vfs_getattr fs/stat.c:121 [inline] vfs_statx+0x164/0x390 fs/stat.c:189 vfs_fstatat fs/stat.c:207 [inline] vfs_lstat include/linux/fs.h:3122 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:362 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f326924e335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffc3b3e4a78 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000562ace6a5500 RCX: 00007f326924e335 RDX: 00007ffc3b3e4ab0 RSI: 00007ffc3b3e4ab0 RDI: 0000562ace6a4500 RBP: 00007ffc3b3e4b70 R08: 00007f326950d1a8 R09: 0000000000001010 R10: 00007f326950cb58 R11: 0000000000000246 R12: 0000562ace6a4500 R13: 0000562ace6a450c R14: 0000562ace69c215 R15: 0000562ace69c21c