syzbot


WARNING in smk_set_cipso

Status: closed as dup on 2021/01/20 02:53
Subsystems: lsm
[Documentation on labels]
Reported-by: syzbot+438aafc66532f0dba169@syzkaller.appspotmail.com
First crash: 1436d, last: 1351d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in memdup_user_nul lsm C inconclusive 2 1437d 1436d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in smk_set_cipso 0 (1) 2021/01/18 16:48
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in smk_set_cipso (2) lsm C inconclusive 24 1271d 1349d 20/28 fixed on 2021/11/10 00:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8454 at mm/page_alloc.c:4976 __alloc_pages_nodemask+0x4e5/0x5a0 mm/page_alloc.c:5020
Modules linked in:
CPU: 1 PID: 8454 Comm: syz-executor584 Not tainted 5.11.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__alloc_pages_nodemask+0x4e5/0x5a0 mm/page_alloc.c:5020
Code: aa 09 00 e9 dd fd ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c eb fd ff ff 4c 89 ef e8 54 aa 09 00 8b 74 24 18 e9 da fd ff ff <0f> 0b e9 f3 fd ff ff a9 00 00 08 00 75 16 8b 4c 24 1c 89 cb 81 e3
RSP: 0018:ffffc90000e9f900 EFLAGS: 00010246
RAX: ffffc90000e9f980 RBX: ffffc90000e9f980 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90000e9f9a8
RBP: ffffc90000e9fa40 R08: dffffc0000000000 R09: ffffc90000e9f980
R10: fffff520001d3f35 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000012 R14: 1ffff920001d3f2c R15: 0000000000040cc0
FS:  0000000002629880(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f751f4c71a8 CR3: 000000001264e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 alloc_pages include/linux/gfp.h:547 [inline]
 kmalloc_order+0x40/0x130 mm/slab_common.c:837
 kmalloc_order_trace+0x15/0x70 mm/slab_common.c:853
 kmalloc_large include/linux/slab.h:481 [inline]
 __kmalloc_track_caller+0x246/0x330 mm/slub.c:4457
 memdup_user_nul+0x26/0xf0 mm/util.c:260
 smk_set_cipso+0x18b/0x7e0 security/smack/smackfs.c:859
 vfs_write+0x289/0xc90 fs/read_write.c:603
 ksys_write+0x171/0x2a0 fs/read_write.c:658
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x440359
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 0f 83 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc65526ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440359
RDX: 0000000020014b6f RSI: 0000000020014b00 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000014 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b60
R13: 0000000000401bf0 R14: 0000000000000000 R15: 0000000000000000

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/14 17:45 upstream 65f0d2414b70 65a7a854 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/04/09 13:41 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/04/07 08:04 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/04/06 07:01 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/04/04 19:13 upstream 2023a53bdf41 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/04/02 23:05 upstream 1678e493d530 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/04/01 12:36 upstream d19cc4bfbff1 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/03/27 10:10 upstream 0f4498cef9f5 a8529b82 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/26 00:57 upstream 29c395c77a9a 76f7fc95 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/24 18:54 upstream c03c21ba6f4e fcc6d71b .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/22 06:08 upstream 55f62bc87347 a659b3f1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/21 17:31 upstream e767b3530acb 3e5ed8b4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/09 23:53 upstream e0756cfc7d7c 2bd9619f .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/08 04:04 upstream b75dba7f472c 2ce644fc .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/02/02 04:10 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/01/29 07:28 upstream e5ff2cb9cf67 7df34f59 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/01/28 03:34 upstream 76c057c84d28 eefc07f2 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/01/21 23:30 upstream 9791581c049c d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_set_cipso
2021/01/14 16:43 upstream 65f0d2414b70 65a7a854 .config console log report info ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.