syzbot


WARNING in smk_write_net6addr

Status: closed as dup on 2021/01/20 02:52
Subsystems: lsm
[Documentation on labels]
Reported-by: syzbot+10c962a5945f43cca2e8@syzkaller.appspotmail.com
First crash: 1407d, last: 1376d
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 1409d 1409d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in smk_write_net6addr 0 (1) 2021/01/19 17:39

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8460 at mm/page_alloc.c:4977 __alloc_pages_nodemask+0x4e5/0x5a0 mm/page_alloc.c:5021
Modules linked in:
CPU: 1 PID: 8460 Comm: syz-executor559 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:5021
Code: ab 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 f4 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:ffffc900017cf8a0 EFLAGS: 00010246
RAX: ffffc900017cf920 RBX: ffffc900017cf920 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900017cf948
RBP: ffffc900017cf9e0 R08: dffffc0000000000 R09: ffffc900017cf920
R10: fffff520002f9f29 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000012 R14: 1ffff920002f9f20 R15: 0000000000040cc0
FS:  00000000025fa880(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe8867e6c0 CR3: 0000000021afc000 CR4: 00000000001506e0
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_write_net6addr+0x124/0x25b0 security/smack/smackfs.c:1433
 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:0x4403b9
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:00007ffc17e5a7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004403b9
RDX: 000000002000012e RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000014 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401bc0
R13: 0000000000401c50 R14: 0000000000000000 R15: 0000000000000000

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/16 20:14 upstream 1d94330a437a 65a7a854 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/02/16 11:25 upstream f40ddce88593 98682e5e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/02/14 16:45 upstream 358feceebbf6 98682e5e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/02/10 07:45 upstream e0756cfc7d7c 2bd9619f .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/02/09 21:37 upstream e0756cfc7d7c 2bd9619f .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/02/03 14:15 upstream 3aaf0a27ffc2 624dad51 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/31 22:35 upstream 6642d600b541 fc9fd31e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/27 17:23 upstream 2ab38c17aac1 a0ebf917 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/27 01:33 upstream 13391c60da33 55a7d4df .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/23 20:16 upstream fe75a21824e7 52e37319 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/21 18:54 upstream 9791581c049c d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/21 18:19 upstream 9791581c049c d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/21 08:26 upstream 75439bc439e0 d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/20 05:23 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/19 22:58 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/19 20:51 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/19 16:06 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/18 22:27 upstream 19c329f68089 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/18 08:00 upstream a1339d6355ac fd103621 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in smk_write_net6addr
2021/01/16 20:00 upstream 1d94330a437a 65a7a854 .config console log report info ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.