syzbot


general protection fault in tomoyo_check_acl (2)

Status: auto-closed as invalid on 2021/08/31 18:40
Subsystems: tomoyo
[Documentation on labels]
Reported-by: syzbot+750652790d29f243bd16@syzkaller.appspotmail.com
First crash: 1346d, last: 1334d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] general protection fault in tomoyo_check_acl (2) 0 (1) 2021/05/17 11:07
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in tomoyo_check_acl tomoyo 2 1153d 1193d 0/28 auto-closed as invalid on 2022/01/30 10:49
upstream general protection fault in tomoyo_check_acl (4) tomoyo 9 5d05h 12d 0/28 upstream: reported on 2024/12/16 09:55
upstream general protection fault in tomoyo_check_acl tomoyo 2 1589d 1677d 0/28 auto-closed as invalid on 2020/12/20 04:05
upstream general protection fault in tomoyo_check_acl (3) hfs C inconclusive done 1 383d 540d 25/28 fixed on 2024/01/30 15:47

Sample crash report:
general protection fault, probably for non-canonical address 0xe0000299dffffd43: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x000034ceffffea18-0x000034ceffffea1f]
CPU: 0 PID: 8406 Comm: systemd-udevd Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tomoyo_check_acl+0xac/0x450 security/tomoyo/domain.c:173
Code: 00 0f 85 69 03 00 00 49 8b 5d 00 49 39 dd 0f 84 fa 01 00 00 e8 f5 28 e2 fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 31
RSP: 0018:ffffc900016df760 EFLAGS: 00010246
RAX: 00000699dffffd43 RBX: 000034ceffffea00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8391cd6b RDI: 000034ceffffea18
RBP: dffffc0000000000 R08: 00000000e906028c R09: 0000000000000000
R10: ffffffff8391ce18 R11: 0000000000000000 R12: ffffc900016df858
R13: ffff888011f22a10 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f6b153858c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6b141a003f CR3: 00000000134a1000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tomoyo_path_permission security/tomoyo/file.c:586 [inline]
 tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573
 tomoyo_check_open_permission+0x33e/0x380 security/tomoyo/file.c:777
 tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline]
 tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308
 security_file_open+0x52/0x4f0 security/security.c:1589
 do_dentry_open+0x358/0x11b0 fs/open.c:813
 do_open fs/namei.c:3367 [inline]
 path_openat+0x1c0e/0x27e0 fs/namei.c:3500
 do_filp_open+0x190/0x3d0 fs/namei.c:3527
 do_sys_openat2+0x16d/0x420 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_open fs/open.c:1211 [inline]
 __se_sys_open fs/open.c:1207 [inline]
 __x64_sys_open+0x119/0x1c0 fs/open.c:1207
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f6b144cb840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffdefb36b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffdefb370b0 RCX: 00007f6b144cb840
RDX: 000055b3f19c7f40 RSI: 0000000000000002 RDI: 000055b3eff01ad8
RBP: 000055b3f19c86b0 R08: 000000000000fefc R09: 0000000000000070
R10: 0000000000000018 R11: 0000000000000246 R12: 0000000000000010
R13: 0000000000000012 R14: 000055b3f19c7f10 R15: 00007ffdefb38680
Modules linked in:
---[ end trace c6274c8e09aa7141 ]---
RIP: 0010:tomoyo_check_acl+0xac/0x450 security/tomoyo/domain.c:173
Code: 00 0f 85 69 03 00 00 49 8b 5d 00 49 39 dd 0f 84 fa 01 00 00 e8 f5 28 e2 fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 31
RSP: 0018:ffffc900016df760 EFLAGS: 00010246
RAX: 00000699dffffd43 RBX: 000034ceffffea00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8391cd6b RDI: 000034ceffffea18
RBP: dffffc0000000000 R08: 00000000e906028c R09: 0000000000000000
R10: ffffffff8391ce18 R11: 0000000000000000 R12: ffffc900016df858
R13: ffff888011f22a10 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f6b153858c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005559ae2660f8 CR3: 00000000134a1000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/22 19:42 net-next-old 5d869070569a 33c28d03 .config console log report info ci-upstream-net-kasan-gce general protection fault in tomoyo_check_acl
2021/04/22 11:16 net-next-old 5d869070569a 33c28d03 .config console log report info ci-upstream-net-kasan-gce general protection fault in tomoyo_check_acl
2021/05/03 18:40 linux-next e3d35712f85a ad61f371 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in tomoyo_check_acl
2021/05/01 01:08 linux-next e3d35712f85a 77e2b668 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in tomoyo_check_acl
2021/04/30 06:01 linux-next e3d35712f85a 77e2b668 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in tomoyo_check_acl
* Struck through repros no longer work on HEAD.