syzbot


general protection fault in integrity_inode_free

Status: upstream: reported C repro on 2019/04/21 23:34
Reported-by: syzbot+2ffda20ab420bdc14ddb@syzkaller.appspotmail.com
First crash: 1882d, last: 467d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in integrity_inode_free net 15 2062d 2090d 0/27 closed as dup on 2018/10/02 14:50

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7994 Comm: syz-executor376 Not tainted 4.14.305-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
task: ffff8880b3fde0c0 task.stack: ffff888095a80000
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline]
RIP: 0010:rb_erase+0x29/0x1290 lib/rbtree.c:459
RSP: 0018:ffff888095a87a68 EFLAGS: 00010292
RAX: dffffc0000000000 RBX: ffff88808df27770 RCX: 1ffff11012b50f27
RDX: 0000000000000001 RSI: ffffffff8bfaffe0 RDI: 0000000000000008
RBP: 0000000000000000 R08: ffffffff8ba42bac R09: 0000000000001be0
R10: 0000000000000001 R11: ffff8880b3fde0c0 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88808df28838 R15: ffffffff8bfaffe0
FS:  00005555572f7300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000250 CR3: 00000000ab760000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 integrity_inode_free+0x119/0x300 security/integrity/iint.c:146
 security_inode_free+0x14/0x80 security/security.c:443
 __destroy_inode+0x1e8/0x4d0 fs/inode.c:237
 destroy_inode+0x49/0x110 fs/inode.c:264
 iput_final fs/inode.c:1523 [inline]
 iput+0x458/0x7e0 fs/inode.c:1550
 swap_inode_boot_loader fs/ext4/ioctl.c:197 [inline]
 ext4_ioctl+0x12f8/0x3820 fs/ext4/ioctl.c:924
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fc9ce3a8029
RSP: 002b:00007ffd141cbb98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc9ce3a8029
RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004
RBP: 00007fc9ce36c010 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc9ce36c0a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Code: ff ff 48 b8 00 00 00 00 00 fc ff df 41 57 49 89 f7 41 56 41 55 41 54 49 89 fc 48 83 c7 08 48 89 fa 55 48 c1 ea 03 53 48 83 ec 18 <80> 3c 02 00 0f 85 f2 0c 00 00 49 8d 7c 24 10 4d 8b 74 24 08 48 
RIP: __rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline] RSP: ffff888095a87a68
RIP: rb_erase+0x29/0x1290 lib/rbtree.c:459 RSP: ffff888095a87a68
---[ end trace 430e1df2b48e4195 ]---
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
   7:	fc ff df
   a:	41 57                	push   %r15
   c:	49 89 f7             	mov    %rsi,%r15
   f:	41 56                	push   %r14
  11:	41 55                	push   %r13
  13:	41 54                	push   %r12
  15:	49 89 fc             	mov    %rdi,%r12
  18:	48 83 c7 08          	add    $0x8,%rdi
  1c:	48 89 fa             	mov    %rdi,%rdx
  1f:	55                   	push   %rbp
  20:	48 c1 ea 03          	shr    $0x3,%rdx
  24:	53                   	push   %rbx
  25:	48 83 ec 18          	sub    $0x18,%rsp
* 29:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2d:	0f 85 f2 0c 00 00    	jne    0xd25
  33:	49 8d 7c 24 10       	lea    0x10(%r12),%rdi
  38:	4d 8b 74 24 08       	mov    0x8(%r12),%r14
  3d:	48                   	rex.W

Crashes (20527):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/18 16:34 linux-4.14.y a8ad60f2af58 d02e9a70 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2022/11/09 23:17 linux-4.14.y a901bb6c7db7 bebca8b7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2022/08/01 16:29 linux-4.14.y b641242202ed fef302b1 .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2022/04/23 13:49 linux-4.14.y 15a1c6b6f516 131df97d .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/08/31 13:24 linux-4.14.y 35c4ba160ab6 8f58a0ef .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/07/04 03:15 linux-4.14.y 313e82bbefb3 55aa55c2 .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/06/01 21:07 linux-4.14.y ad8397a84e1e 032639db .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/05/18 04:27 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/05/16 12:48 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/05/08 21:49 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/04/19 04:23 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/04/09 08:39 linux-4.14.y 0cc244011f40 6a81331a .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/04/02 18:00 linux-4.14.y bd634aa64163 6a81331a .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/04/01 01:23 linux-4.14.y bd634aa64163 6a81331a .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/03/04 03:46 linux-4.14.y 397a88b2cc86 06ed56cd .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/03/03 13:38 linux-4.14.y 3242aa3a635c e5b64d68 .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2021/01/19 08:59 linux-4.14.y 2762b48e9611 63631df1 .config console log report syz C ci2-linux-4-14 general protection fault in integrity_inode_free
2020/11/14 09:27 linux-4.14.y 27ce4f2a6817 1bf9a662 .config console log report syz C ci2-linux-4-14
2020/11/06 12:48 linux-4.14.y 6b6446efedb2 cba33199 .config console log report syz C ci2-linux-4-14
2020/09/15 13:56 linux-4.14.y cbfa1702aaf6 9e681632 .config console log report syz C ci2-linux-4-14
2023/03/07 08:05 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/07 06:27 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/07 04:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/07 03:57 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/07 01:06 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 21:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 19:28 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 11:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 09:41 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 07:47 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 03:43 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/06 00:41 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 23:08 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 21:43 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 17:03 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 15:24 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 13:06 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 11:15 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 09:47 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/05 08:19 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 23:00 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 22:05 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 20:53 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 19:35 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 18:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 16:30 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 14:07 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 10:52 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 10:18 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 06:07 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 04:15 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/04 02:21 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 21:43 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 20:38 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 18:11 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 16:11 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 13:04 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 10:33 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 08:02 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 05:42 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 03:20 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 02:26 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/03 00:31 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2023/03/02 20:10 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in integrity_inode_free
2021/01/17 08:11 linux-4.14.y f79dc86058bc 65a7a854 .config console log report info ci2-linux-4-14
2019/04/21 22:33 linux-4.14.y 68d7a45eec10 b0e8efcb .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.