================================================================== BUG: KASAN: unknown-crash in hrtimer_get_softexpires_tv64 include/linux/hrtimer.h:292 [inline] BUG: KASAN: unknown-crash in __hrtimer_run_queues+0xaca/0xc10 kernel/time/hrtimer.c:1749 Read of size 8 at addr ffffc90005567db0 by task syz-executor.0/5464 CPU: 0 PID: 5464 Comm: syz-executor.0 Not tainted 6.6.0-rc1-next-20230915-syzkaller-05666-gdfa449a58323 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xc4/0x620 mm/kasan/report.c:475 kasan_report+0xda/0x110 mm/kasan/report.c:588 hrtimer_get_softexpires_tv64 include/linux/hrtimer.h:292 [inline] __hrtimer_run_queues+0xaca/0xc10 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:memmove+0x28/0x1b0 arch/x86/lib/memmove_64.S:44 Code: c3 90 f3 0f 1e fa 48 89 f8 48 39 fe 7d 0f 49 89 f0 49 01 d0 49 39 f8 0f 8f b5 00 00 00 48 83 fa 20 0f 82 01 01 00 00 48 89 d1 a4 c3 48 81 fa a8 02 00 00 72 05 40 38 fe 74 47 48 83 ea 20 48 RSP: 0018:ffffc90005676f18 EFLAGS: 00010282 RAX: ffff8880672f8fa4 RBX: 0000000000000001 RCX: ffffffffff9f8213 RDX: fffffffffffffff0 RSI: ffff888067900d71 RDI: ffff888067900d81 RBP: 0000000000000020 R08: ffff8880672f8f84 R09: 0000766972705f73 R10: 667265736965722e R11: 0000766972705f73 R12: 0000000000000001 R13: 0000000000000000 R14: ffff8880672f8f94 R15: 0000000000000010 leaf_paste_entries+0x43c/0x920 fs/reiserfs/lbalance.c:1377 balance_leaf_finish_node_paste_dirent fs/reiserfs/do_balan.c:1295 [inline] balance_leaf_finish_node_paste fs/reiserfs/do_balan.c:1321 [inline] balance_leaf_finish_node fs/reiserfs/do_balan.c:1364 [inline] balance_leaf+0x9476/0xcd90 fs/reiserfs/do_balan.c:1452 do_balance+0x337/0x840 fs/reiserfs/do_balan.c:1888 reiserfs_paste_into_item+0x62a/0x7c0 fs/reiserfs/stree.c:2157 reiserfs_add_entry+0x936/0xd20 fs/reiserfs/namei.c:565 reiserfs_mkdir+0x68a/0x9a0 fs/reiserfs/namei.c:860 xattr_mkdir fs/reiserfs/xattr.c:77 [inline] create_privroot fs/reiserfs/xattr.c:891 [inline] reiserfs_xattr_init+0x57f/0xbb0 fs/reiserfs/xattr.c:1007 reiserfs_fill_super+0x2139/0x3150 fs/reiserfs/super.c:2175 mount_bdev+0x1f3/0x2e0 fs/super.c:1632 legacy_get_tree+0x109/0x220 fs/fs_context.c:638 vfs_get_tree+0x8c/0x370 fs/super.c:1753 do_new_mount fs/namespace.c:3337 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount fs/namespace.c:3863 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc7aa7e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc7b800ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efc7b800f80 RCX: 00007efc7aa7e1ea RDX: 0000000020001100 RSI: 0000000020000040 RDI: 00007efc7b800f40 RBP: 0000000020001100 R08: 00007efc7b800f80 R09: 0000000000000080 R10: 0000000000000080 R11: 0000000000000246 R12: 0000000020000040 R13: 00007efc7b800f40 R14: 0000000000001101 R15: 00000000200000c0 The buggy address belongs to the virtual mapping at [ffffc90005560000, ffffc90005569000) created by: kernel_clone+0xfd/0x920 kernel/fork.c:2902 The buggy address belongs to the physical page: page:ffffea0000a5cc00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888029731e00 pfn:0x29730 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: ffff888029731e00 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 5394, tgid 5394 (syz-executor), ts 108953552863, free_ts 92384061957 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1535 prep_new_page mm/page_alloc.c:1542 [inline] get_page_from_freelist+0xdcd/0x2d10 mm/page_alloc.c:3224 __alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4480 alloc_pages+0x1a9/0x270 mm/mempolicy.c:2298 vm_area_alloc_pages mm/vmalloc.c:3063 [inline] __vmalloc_area_node mm/vmalloc.c:3139 [inline] __vmalloc_node_range+0xa6e/0x1540 mm/vmalloc.c:3320 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1118 [inline] copy_process+0x13e3/0x74b0 kernel/fork.c:2327 kernel_clone+0xfd/0x920 kernel/fork.c:2902 __do_sys_clone3+0x1f1/0x260 kernel/fork.c:3203 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1138 [inline] free_unref_page+0x554/0xd70 mm/page_alloc.c:2460 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x18e/0x1d0 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:762 [inline] slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x180/0x3f0 mm/slub.c:3523 __alloc_skb+0x287/0x330 net/core/skbuff.c:640 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xe4/0x710 net/core/skbuff.c:6313 sock_alloc_send_pskb+0x7e4/0x970 net/core/sock.c:2795 unix_dgram_sendmsg+0x455/0x1c30 net/unix/af_unix.c:1953 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg+0xd9/0x180 net/socket.c:753 sock_write_iter+0x29b/0x3d0 net/socket.c:1141 call_write_iter include/linux/fs.h:1986 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_writev+0x221/0x700 fs/read_write.c:933 do_writev+0x285/0x370 fs/read_write.c:976 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 Memory state around the buggy address: ffffc90005567c80: 69 76 00 00 2e 72 65 69 73 65 72 66 73 5f 70 72 ffffc90005567d00: 69 76 00 00 2e 72 65 69 73 65 72 66 73 5f 70 72 >ffffc90005567d80: 69 76 00 00 2e 72 65 69 73 65 72 66 73 5f 70 72 ^ ffffc90005567e00: 69 76 00 00 2e 72 65 69 73 65 72 66 73 5f 70 72 ffffc90005567e80: 69 76 00 00 2e 72 65 69 73 65 72 66 73 5f 70 72 ================================================================== ---------------- Code disassembly (best guess): 0: c3 ret 1: 90 nop 2: f3 0f 1e fa endbr64 6: 48 89 f8 mov %rdi,%rax 9: 48 39 fe cmp %rdi,%rsi c: 7d 0f jge 0x1d e: 49 89 f0 mov %rsi,%r8 11: 49 01 d0 add %rdx,%r8 14: 49 39 f8 cmp %rdi,%r8 17: 0f 8f b5 00 00 00 jg 0xd2 1d: 48 83 fa 20 cmp $0x20,%rdx 21: 0f 82 01 01 00 00 jb 0x128 27: 48 89 d1 mov %rdx,%rcx * 2a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: c3 ret 2d: 48 81 fa a8 02 00 00 cmp $0x2a8,%rdx 34: 72 05 jb 0x3b 36: 40 38 fe cmp %dil,%sil 39: 74 47 je 0x82 3b: 48 83 ea 20 sub $0x20,%rdx 3f: 48 rex.W