syzbot


kernel panic: smack: Failed to initialize cipso DOI.

Status: fixed on 2022/03/08 16:11
Subsystems: lsm
[Documentation on labels]
Reported-by: syzbot+89731ccb6fec15ce1c22@syzkaller.appspotmail.com
Fix commit: f91488ee15bd smackfs: use __GFP_NOFAIL for smk_cipso_doi()
First crash: 1712d, last: 1127d
Cause bisection: introduced by (bisect log) :
commit a9d2d53a788a9c5bc8a7d1b4ea7857b68e221357
Author: Ken Cox <jkc@redhat.com>
Date: Tue Nov 15 19:00:37 2016 +0000

  ixgbe: test for trust in macvlan adjustments for VF

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (13)
Title Replies (including bot) Last reply
[PATCH 5.10 000/575] 5.10.80-rc1 review 595 (595) 2022/07/31 10:51
[PATCH 4.19 000/323] 4.19.218-rc1 review 339 (339) 2021/12/04 10:30
[PATCH 4.4 000/162] 4.4.293-rc1 review 168 (168) 2021/11/25 13:11
[PATCH 4.14 000/251] 4.14.256-rc1 review 262 (262) 2021/11/25 13:07
[PATCH 4.9 000/207] 4.9.291-rc1 review 216 (216) 2021/11/25 12:58
[PATCH 5.15 000/917] 5.15.3-rc1 review 945 (945) 2021/11/24 18:04
[PATCH 5.4 000/355] 5.4.160-rc1 review 373 (373) 2021/11/16 16:50
[PATCH 5.14 000/849] 5.14.19-rc1 review 859 (859) 2021/11/16 14:04
[PATCH AUTOSEL 4.19 01/47] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1 51 (51) 2021/11/14 14:13
[PATCH AUTOSEL 4.14 01/39] Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg() 41 (41) 2021/11/14 14:03
[PATCH AUTOSEL 4.4 01/30] Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg() 33 (33) 2021/11/10 15:52
[PATCH AUTOSEL 4.9 01/33] Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg() 33 (33) 2021/11/09 01:08
kernel panic: smack: Failed to initialize cipso DOI. 2 (3) 2020/07/08 20:25

Sample crash report:
RSP: 002b:00007ffebd499a38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffebd499a40 RCX: 00000000004404e9
RDX: 0000000000000014 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 0000000000000004 R08: 0000000000000001 R09: 00007ffebd490031
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401dd0
R13: 0000000000401e60 R14: 0000000000000000 R15: 0000000000000000
Kernel panic - not syncing: smack:  Failed to initialize cipso DOI.
CPU: 1 PID: 7197 Comm: syz-executor480 Not tainted 5.6.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1e9/0x30e lib/dump_stack.c:118
 panic+0x264/0x7a0 kernel/panic.c:221
 smk_cipso_doi+0x4d8/0x4e0 security/smack/smackfs.c:698
 smk_write_doi+0x123/0x190 security/smack/smackfs.c:1595
 __vfs_write+0xa7/0x710 fs/read_write.c:494
 vfs_write+0x271/0x570 fs/read_write.c:558
 ksys_write+0x115/0x220 fs/read_write.c:611
 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4404e9
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 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffebd499a38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffebd499a40 RCX: 00000000004404e9
RDX: 0000000000000014 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 0000000000000004 R08: 0000000000000001 R09: 00007ffebd490031
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401dd0
R13: 0000000000401e60 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (128):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/26 13:59 upstream 1b649e0bcae7 e8e6c7d2 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/11/01 20:40 upstream 8bb7eca972ad 098b5d53 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/29 23:22 upstream f25a5481af12 098b5d53 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/23 00:39 upstream 64222515138e 282f03fb .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/20 14:28 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/20 01:08 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/15 00:26 upstream 26d657410983 7aa5fe41 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/10/11 18:20 upstream 64570fbc14f8 838e7e2c .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/09/26 03:46 upstream a5e0aceabef6 8cac236e .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/09/23 07:26 upstream cf1d2c3e7e2f 8cac236e .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/09/12 01:22 upstream c605c39677b9 5ae8508a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/09/04 20:50 upstream f1583cb1be35 d236a457 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/23 11:36 upstream e22ce8eb631b b599f2fc .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/22 13:16 upstream 9ff50bf2f2ff b599f2fc .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/21 11:35 upstream fa54d366a6e4 b599f2fc .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/15 01:42 upstream ba31f97d43be 2489ab88 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/14 08:04 upstream dfa377c35d70 2489ab88 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/08 01:22 upstream c9194f32bfd9 6972b106 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/06 04:51 upstream 902e7f373fff d2d6e680 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/04 12:43 upstream d5ad8ec3cfb5 6c236867 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/04 09:54 upstream d5ad8ec3cfb5 6c236867 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/08/02 04:23 upstream d4affd6b6e81 6c236867 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/29 04:58 upstream 4010a528219e 9a4781d4 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/21 22:05 upstream 8cae8cd89f05 29c3f20f .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/06 14:39 upstream 3dbdb38e2869 6c4484eb .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/06 00:02 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/05 08:46 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/05 03:08 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/05 01:54 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/04 21:44 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/07/02 15:31 upstream 3dbdb38e2869 658ebc66 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/28 11:17 upstream b4b27b9eed8e 9d2ab5df .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/24 17:13 upstream 7426cedc7dad ec865f6a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/22 13:09 upstream a96bfed64c89 aba2b2fb .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/21 01:56 upstream cba5e97280f5 aba2b2fb .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/14 21:24 upstream 009c9aa5be65 1ba81399 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/14 03:02 upstream e4e453434a19 1ba81399 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/06/05 08:45 upstream 9d32fa5d74b1 500c2339 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/05/14 14:43 upstream 315d99318179 8bdd5343 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/05/11 16:09 upstream 1140ab592e2e ca873091 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/05/07 01:19 upstream d2b6f8a17919 06585184 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/04/22 13:35 upstream 16fc44d6387e 33c28d03 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/04/22 05:11 upstream 16fc44d6387e 2bc8999a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/04/16 07:21 upstream 7e25f40eab52 c59079a6 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/04/10 16:35 upstream d4961772226d bfeda1b1 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/04/06 12:45 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/03/31 21:55 upstream 5e46d1b78a03 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/02/28 05:46 upstream 5695e5161974 4c37c133 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/02/20 04:38 upstream f40ddce88593 f689d40a .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2021/02/18 15:09 upstream f40ddce88593 14052202 .config console log report info ci-upstream-kasan-gce-smack-root kernel panic: smack: Failed to initialize cipso DOI.
2020/12/03 14:26 upstream 34816d20f173 e6b0d314 .config console log report info ci-upstream-kasan-gce-smack-root
2020/03/26 13:47 upstream 1b649e0bcae7 e8e6c7d2 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.