Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EXT4-fs warning (device loop3): dx_probe:800: inode #2: comm syz.3.4: Unrecognised inode hash code 20
- EXT4-fs warning (device loop3): dx_probe:933: inode #2: comm syz.3.4: Corrupt directory, running e2fsck is recommended
- ==================================================================
- BUG: KASAN: slab-use-after-free in __ext4_check_dir_entry+0x670/0x720
- Read of size 2 at addr ffff88811074d003 by task syz.3.4/2047
- CPU: 1 UID: 0 PID: 2047 Comm: syz.3.4 Not tainted 7.1.0-rc5 #2 PREEMPT(lazy)
- Hardware name: QEMU Ubuntu 24.10 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
- Call Trace:
- <TASK>
- dump_stack_lvl+0x7d/0xa0
- print_report+0x10d/0x5d0 report.c:-1
- kasan_report+0x96/0xd0
- __ext4_check_dir_entry+0x670/0x720
- ext4_readdir+0xd7b/0x27c0 dir.c:-1
- iterate_dir+0x1c0/0x570
- __x64_sys_getdents64+0x134/0x260
- do_syscall_64+0x104/0x5b0
- entry_SYSCALL_64_after_hwframe+0x77/0x7f
- RIP: 0033:0x7f99863ae49d
- Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
- RSP: 002b:00007f9984df6f98 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
- RAX: ffffffffffffffda RBX: 00007f9986625fa0 RCX: 00007f99863ae49d
- RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
- RBP: 00007f9986448268 R08: 0000000000000000 R09: 0000000000000000
- R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
- R13: 00007f9986626038 R14: 00007f9986625fa0 R15: 00007f9984dd7000
- </TASK>
- Allocated by task 1892:
- kasan_save_stack+0x24/0x50
- kasan_save_track+0x14/0x30
- __kasan_slab_alloc+0x59/0x70
- kmem_cache_alloc_noprof+0x104/0x390
- vm_area_alloc+0x20/0x140
- __mmap_region+0xc27/0x2480 vma.c:-1
- mmap_region+0x2ca/0x4b0
- do_mmap+0x77a/0xe60
- vm_mmap_pgoff+0x1e1/0x330
- ksys_mmap_pgoff+0x370/0x490
- __x64_sys_mmap+0x116/0x180
- do_syscall_64+0x104/0x5b0
- entry_SYSCALL_64_after_hwframe+0x77/0x7f
- Freed by task 1891:
- kasan_save_stack+0x24/0x50
- kasan_save_track+0x14/0x30
- kasan_save_free_info+0x3a/0x60
- __kasan_slab_free+0x43/0x70
- slab_free_after_rcu_debug+0xa5/0x1e0 slub.c:-1
- rcu_core+0x56f/0x18d0 tree.c:-1
- handle_softirqs+0x186/0x5d0 softirq.c:-1
- irq_exit_rcu+0x67/0x140
- sysvec_apic_timer_interrupt+0x70/0x80
- asm_sysvec_apic_timer_interrupt+0x1a/0x20
- Last potentially related work creation:
- kasan_save_stack+0x24/0x50
- kasan_record_aux_stack+0x89/0xa0
- kmem_cache_free+0xce/0x3c0
- vms_complete_munmap_vmas+0x632/0xb90 vma.c:-1
- do_vmi_align_munmap+0x381/0x4c0
- do_vmi_munmap+0x198/0x330
- __vm_munmap+0x187/0x310
- __x64_sys_munmap+0x59/0x80
- do_syscall_64+0x104/0x5b0
- entry_SYSCALL_64_after_hwframe+0x77/0x7f
- The buggy address belongs to the object at ffff88811074d000
- which belongs to the cache vm_area_struct of size 192
- The buggy address is located 3 bytes inside of
- freed 192-byte region [ffff88811074d000, ffff88811074d0c0)
- The buggy address belongs to the physical page:
- page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11074d
- flags: 0x200000000000000(node=0|zone=2)
- page_type: f5(slab)
- raw: 0200000000000000 ffff8881001c6780 dead000000000100 dead000000000122
- raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
- page dumped because: kasan: bad access detected
- Memory state around the buggy address:
- ffff88811074cf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- ffff88811074cf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- >ffff88811074d000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
- ^
- ffff88811074d080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
- ffff88811074d100: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
- ==================================================================
- audit: type=1400 audit(1782642487.879:9): avc: denied { open } for pid=2044 comm="syz.1.2" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=perf_event permissive=1
- EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000.
- EXT4-fs error (device loop1): ext4_do_update_inode:5690: inode #19: comm syz.1.2: corrupted inode contents
- loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
- EXT4-fs error (device loop1): ext4_dirty_inode:6587: inode #19: comm syz.1.2: mark_inode_dirty error
- loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
- EXT4-fs error (device loop1): ext4_do_update_inode:5690: inode #19: comm syz.1.2: corrupted inode contents
- loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
- EXT4-fs error (device loop1): ext4_xattr_delete_inode:3001: inode #19: comm syz.1.2: mark_inode_dirty error
- loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
- EXT4-fs error (device loop1): ext4_xattr_delete_inode:3003: inode #19: comm syz.1.2: mark inode dirty (error -117)
- loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
- EXT4-fs warning (device loop1): ext4_evict_inode:287: xattr delete (err -117)
- EXT4-fs (loop1): unmounting filesystem 00000000-0000-0000-0000-000000000000.
- <<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
Advertisement
Add Comment
Please, Sign In to add comment