syzbot


WARNING in set_precision

Status: fixed on 2018/08/07 13:43
Subsystems: net
[Documentation on labels]
Fix commit: c604cb767049 KEYS: DNS: fix parsing multiple options
First crash: 2227d, last: 2186d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in set_precision (2) wireless C done 117 1548d 1646d 15/27 fixed on 2020/06/18 13:57
android-49 WARNING in set_precision C 1320 2265d 2386d 3/3 fixed on 2018/05/02 05:33
upstream WARNING in set_precision (3) bcachefs C 13 55d 54d 0/27 upstream: reported C repro on 2024/05/20 14:18
android-49 WARNING in set_precision (2) C 1537 2174d 1920d 0/3 public: reported C repro on 2019/04/11 08:44

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
------------[ cut here ]------------
precision 1047878 too large
WARNING: CPU: 1 PID: 4583 at lib/vsprintf.c:2164 set_precision+0xc3/0xe0 lib/vsprintf.c:2164
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4583 Comm: syz-executor016 Not tainted 4.18.0-rc4+ #148
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+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:set_precision+0xc3/0xe0 lib/vsprintf.c:2164
Code: fc ff df 80 3c 02 00 75 32 66 41 89 5d 06 eb 9d e8 c2 d0 eb f9 89 de 48 c7 c7 20 76 86 88 c6 05 3e 8c 09 02 01 e8 fd f3 b6 f9 <0f> 0b eb a7 4c 89 ef e8 61 b0 29 fa e9 5a ff ff ff 4c 89 ef e8 54 
RSP: 0018:ffff8801ac04f6d8 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 00000000000ffd46 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81631870 RDI: 0000000000000001
RBP: ffff8801ac04f6f0 R08: ffff8801ac682740 R09: ffffed003b5e42cd
R10: ffffed003b5e42cd R11: ffff8801daf2166f R12: 0000000000000000
R13: ffff8801ac04f768 R14: ffffffff888445ae R15: ffff8801ac04f7a8
 vsnprintf+0x38b/0x1b60 lib/vsprintf.c:2240
 vscnprintf+0x2d/0x80 lib/vsprintf.c:2370
 vprintk_emit+0x1ab/0xdf0 kernel/printk/printk.c:1853
 vprintk_default+0x28/0x30 kernel/printk/printk.c:1948
 vprintk_func+0x7a/0xe7 kernel/printk/printk_safe.c:382
 printk+0xa7/0xcf kernel/printk/printk.c:1981
 dns_resolver_preparse.cold.3+0x1fd/0x252 net/dns_resolver/dns_key.c:130
 key_create_or_update+0x583/0x1120 security/keys/key.c:849
 __do_sys_add_key security/keys/keyctl.c:122 [inline]
 __se_sys_add_key security/keys/keyctl.c:62 [inline]
 __x64_sys_add_key+0x3cf/0x4e0 security/keys/keyctl.c:62
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440099
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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffc76319808 EFLAGS: 00000286 ORIG_RAX: 00000000000000f8
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440099
RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 0000000020000080
RBP: 00000000006ca018 R08: 00000000fffffffb R09: 00000000004002c8
R10: 00000000000fffff R11: 0000000000000286 R12: 0000000000401920
R13: 00000000004019b0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled

Crashes (140):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/15 13:40 upstream 37b5dca2898d 92a49505 .config console log report syz C ci-upstream-kasan-gce-root
2018/07/13 14:29 upstream 63f047771621 92a49505 .config console log report syz C ci-upstream-kasan-gce
2018/06/09 17:20 upstream 7d3bf613e99a 866118af .config console log report syz C ci-upstream-kasan-gce-root
2018/06/09 15:25 upstream 7d3bf613e99a 866118af .config console log report syz C ci-upstream-kasan-gce-root
2018/06/09 13:03 upstream 7d3bf613e99a 866118af .config console log report syz C ci-upstream-kasan-gce
2018/06/09 11:01 upstream 7d3bf613e99a 866118af .config console log report syz C ci-upstream-kasan-gce
2018/06/08 12:32 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce
2018/06/08 11:51 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce-root
2018/07/13 14:28 upstream 63f047771621 92a49505 .config console log report syz C ci-upstream-kasan-gce-386
2018/06/08 20:28 upstream 410feb75de24 866118af .config console log report syz C ci-upstream-kasan-gce-386
2018/06/08 13:00 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce-386
2018/06/08 12:20 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce-386
2018/06/08 11:57 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce-386
2018/07/19 08:40 upstream 04a132065175 49f35839 .config console log report ci-upstream-kasan-gce
2018/07/19 07:10 upstream 04a132065175 49f35839 .config console log report ci-upstream-kasan-gce
2018/07/19 03:09 upstream 04a132065175 49f35839 .config console log report ci-upstream-kasan-gce-root
2018/07/19 00:58 upstream 04a132065175 49f35839 .config console log report ci-upstream-kasan-gce
2018/07/18 18:09 upstream 3c53776e29f8 809256c3 .config console log report ci-upstream-kasan-gce-root
2018/07/18 15:55 upstream 3c53776e29f8 809256c3 .config console log report ci-upstream-kasan-gce
2018/07/18 10:51 upstream 3c53776e29f8 809256c3 .config console log report ci-upstream-kasan-gce
2018/07/17 09:11 upstream 30b06abfb92b 13761366 .config console log report ci-upstream-kasan-gce-root
2018/07/17 06:59 upstream 30b06abfb92b 13761366 .config console log report ci-upstream-kasan-gce-root
2018/07/16 07:37 upstream 9d3cce1e8b85 92a49505 .config console log report ci-upstream-kasan-gce-root
2018/07/14 04:05 upstream 9d2e34897d8d 92a49505 .config console log report ci-upstream-kasan-gce
2018/07/14 02:34 upstream 9d2e34897d8d 92a49505 .config console log report ci-upstream-kasan-gce-root
2018/07/12 03:57 upstream c25c74b7476e 2e0e3130 .config console log report ci-upstream-kasan-gce-root
2018/07/11 22:11 upstream 1e09177acae3 2e0e3130 .config console log report ci-upstream-kasan-gce
2018/07/10 14:20 upstream 092150a25cb7 9fa03fa5 .config console log report ci-upstream-kasan-gce
2018/07/09 18:44 upstream 1e4b044d2251 f25e5770 .config console log report ci-upstream-kasan-gce
2018/07/09 13:10 upstream 1e4b044d2251 f25e5770 .config console log report ci-upstream-kasan-gce-root
2018/07/09 11:34 upstream 1e4b044d2251 f25e5770 .config console log report ci-upstream-kasan-gce
2018/07/09 00:55 upstream ca04b3cca11a f25e5770 .config console log report ci-upstream-kasan-gce
2018/07/07 20:17 upstream 624434af256a ab89aea9 .config console log report ci-upstream-kasan-gce-root
2018/07/07 11:48 upstream 29119529d8de 6c0c0099 .config console log report ci-upstream-kasan-gce
2018/07/07 02:33 upstream b4d0562137c9 9636bc93 .config console log report ci-upstream-kasan-gce
2018/07/07 01:04 upstream b4d0562137c9 9636bc93 .config console log report ci-upstream-kasan-gce-root
2018/07/03 22:08 upstream 410da1e12ffe 317fc8ea .config console log report ci-upstream-kasan-gce
2018/07/03 10:18 upstream d0fbad0aec1d 317fc8ea .config console log report ci-upstream-kasan-gce-root
2018/07/02 15:36 upstream 021c91791a5e 574780b0 .config console log report ci-upstream-kasan-gce-root
2018/06/08 10:22 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce
2018/07/19 11:26 upstream 04a132065175 49f35839 .config console log report ci-upstream-kasan-gce-386
2018/07/17 23:38 upstream 30b06abfb92b 6d5bd5b5 .config console log report ci-upstream-kasan-gce-386
2018/07/17 05:02 upstream 30b06abfb92b 13761366 .config console log report ci-upstream-kasan-gce-386
2018/07/15 09:48 upstream c31496dbacc2 92a49505 .config console log report ci-upstream-kasan-gce-386
2018/07/13 09:48 upstream 63f047771621 06c33b3a .config console log report ci-upstream-kasan-gce-386
2018/07/11 08:05 upstream 30c2c32d7f70 2e0e3130 .config console log report ci-upstream-kasan-gce-386
2018/07/07 13:50 upstream 29119529d8de 6c0c0099 .config console log report ci-upstream-kasan-gce-386
2018/07/07 11:49 upstream 29119529d8de 6c0c0099 .config console log report ci-upstream-kasan-gce-386
2018/07/07 09:29 upstream 29119529d8de 6c0c0099 .config console log report ci-upstream-kasan-gce-386
2018/07/06 09:00 upstream c42c12a90545 18403e65 .config console log report ci-upstream-kasan-gce-386
2018/07/06 00:12 upstream fc36def997cf d3b2a0e2 .config console log report ci-upstream-kasan-gce-386
2018/07/01 19:34 upstream 883c9ab9eb59 dba0b50e .config console log report ci-upstream-kasan-gce-386
2018/07/16 14:03 linux-next 1d4eb636f0ab 92a49505 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/15 09:49 linux-next 483d835c8189 92a49505 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/12 07:49 linux-next 3ee15ba60e6b 2e0e3130 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/10 17:24 linux-next 3951bd9fe3e2 9fa03fa5 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/09 13:14 linux-next d00d6d9a339d f25e5770 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/09 05:45 linux-next 526674536360 f25e5770 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/08 03:52 linux-next 526674536360 c9a7a4dc .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/07 06:03 linux-next 526674536360 6c0c0099 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/06 17:38 linux-next 526674536360 9636bc93 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/06 15:29 linux-next 526674536360 9636bc93 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.