Tang-ZW

Untitled

Jun 29th, 2026
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. EXT4-fs warning (device loop3): dx_probe:800: inode #2: comm syz.3.4: Unrecognised inode hash code 20
  2. EXT4-fs warning (device loop3): dx_probe:933: inode #2: comm syz.3.4: Corrupt directory, running e2fsck is recommended
  3. ==================================================================
  4. BUG: KASAN: slab-use-after-free in __ext4_check_dir_entry+0x670/0x720
  5. Read of size 2 at addr ffff88811074d003 by task syz.3.4/2047
  6.  
  7. CPU: 1 UID: 0 PID: 2047 Comm: syz.3.4 Not tainted 7.1.0-rc5 #2 PREEMPT(lazy)
  8. Hardware name: QEMU Ubuntu 24.10 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
  9. Call Trace:
  10. <TASK>
  11. dump_stack_lvl+0x7d/0xa0
  12. print_report+0x10d/0x5d0 report.c:-1
  13. kasan_report+0x96/0xd0
  14. __ext4_check_dir_entry+0x670/0x720
  15. ext4_readdir+0xd7b/0x27c0 dir.c:-1
  16. iterate_dir+0x1c0/0x570
  17. __x64_sys_getdents64+0x134/0x260
  18. do_syscall_64+0x104/0x5b0
  19. entry_SYSCALL_64_after_hwframe+0x77/0x7f
  20. RIP: 0033:0x7f99863ae49d
  21. 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
  22. RSP: 002b:00007f9984df6f98 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
  23. RAX: ffffffffffffffda RBX: 00007f9986625fa0 RCX: 00007f99863ae49d
  24. RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
  25. RBP: 00007f9986448268 R08: 0000000000000000 R09: 0000000000000000
  26. R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
  27. R13: 00007f9986626038 R14: 00007f9986625fa0 R15: 00007f9984dd7000
  28. </TASK>
  29.  
  30. Allocated by task 1892:
  31. kasan_save_stack+0x24/0x50
  32. kasan_save_track+0x14/0x30
  33. __kasan_slab_alloc+0x59/0x70
  34. kmem_cache_alloc_noprof+0x104/0x390
  35. vm_area_alloc+0x20/0x140
  36. __mmap_region+0xc27/0x2480 vma.c:-1
  37. mmap_region+0x2ca/0x4b0
  38. do_mmap+0x77a/0xe60
  39. vm_mmap_pgoff+0x1e1/0x330
  40. ksys_mmap_pgoff+0x370/0x490
  41. __x64_sys_mmap+0x116/0x180
  42. do_syscall_64+0x104/0x5b0
  43. entry_SYSCALL_64_after_hwframe+0x77/0x7f
  44.  
  45. Freed by task 1891:
  46. kasan_save_stack+0x24/0x50
  47. kasan_save_track+0x14/0x30
  48. kasan_save_free_info+0x3a/0x60
  49. __kasan_slab_free+0x43/0x70
  50. slab_free_after_rcu_debug+0xa5/0x1e0 slub.c:-1
  51. rcu_core+0x56f/0x18d0 tree.c:-1
  52. handle_softirqs+0x186/0x5d0 softirq.c:-1
  53. irq_exit_rcu+0x67/0x140
  54. sysvec_apic_timer_interrupt+0x70/0x80
  55. asm_sysvec_apic_timer_interrupt+0x1a/0x20
  56.  
  57. Last potentially related work creation:
  58. kasan_save_stack+0x24/0x50
  59. kasan_record_aux_stack+0x89/0xa0
  60. kmem_cache_free+0xce/0x3c0
  61. vms_complete_munmap_vmas+0x632/0xb90 vma.c:-1
  62. do_vmi_align_munmap+0x381/0x4c0
  63. do_vmi_munmap+0x198/0x330
  64. __vm_munmap+0x187/0x310
  65. __x64_sys_munmap+0x59/0x80
  66. do_syscall_64+0x104/0x5b0
  67. entry_SYSCALL_64_after_hwframe+0x77/0x7f
  68.  
  69. The buggy address belongs to the object at ffff88811074d000
  70. which belongs to the cache vm_area_struct of size 192
  71. The buggy address is located 3 bytes inside of
  72. freed 192-byte region [ffff88811074d000, ffff88811074d0c0)
  73.  
  74. The buggy address belongs to the physical page:
  75. page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11074d
  76. flags: 0x200000000000000(node=0|zone=2)
  77. page_type: f5(slab)
  78. raw: 0200000000000000 ffff8881001c6780 dead000000000100 dead000000000122
  79. raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
  80. page dumped because: kasan: bad access detected
  81.  
  82. Memory state around the buggy address:
  83. ffff88811074cf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  84. ffff88811074cf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  85. >ffff88811074d000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
  86. ^
  87. ffff88811074d080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
  88. ffff88811074d100: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
  89. ==================================================================
  90. 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
  91. EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000.
  92. EXT4-fs error (device loop1): ext4_do_update_inode:5690: inode #19: comm syz.1.2: corrupted inode contents
  93. loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
  94. EXT4-fs error (device loop1): ext4_dirty_inode:6587: inode #19: comm syz.1.2: mark_inode_dirty error
  95. loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
  96. EXT4-fs error (device loop1): ext4_do_update_inode:5690: inode #19: comm syz.1.2: corrupted inode contents
  97. loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
  98. EXT4-fs error (device loop1): ext4_xattr_delete_inode:3001: inode #19: comm syz.1.2: mark_inode_dirty error
  99. loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
  100. EXT4-fs error (device loop1): ext4_xattr_delete_inode:3003: inode #19: comm syz.1.2: mark inode dirty (error -117)
  101. loop1: lost file I/O error report for ino 19 type 5 pos 0x0 len 0x0 error -117
  102. EXT4-fs warning (device loop1): ext4_evict_inode:287: xattr delete (err -117)
  103. EXT4-fs (loop1): unmounting filesystem 00000000-0000-0000-0000-000000000000.
  104.  
  105. <<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
  106.  
  107.  
Advertisement
Add Comment
Please, Sign In to add comment