BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 1370, name: kworker/0:2 2 locks held by kworker/0:2/1370: #0: ((wq_completion)"%s"name){+.+.}, at: [] __write_once_size include/linux/compiler.h:212 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_data kernel/workqueue.c:618 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:645 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] process_one_work+0xad4/0x1be0 kernel/workqueue.c:2083 #1: ((work_completion)(&squeue->work)){+.+.}, at: [] process_one_work+0xb2f/0x1be0 kernel/workqueue.c:2087 CPU: 0 PID: 1370 Comm: kworker/0:2 Not tainted 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pencrypt padata_serial_worker Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060 __might_sleep+0x95/0x190 kernel/sched/core.c:6013 lock_sock_nested+0x37/0x110 net/core/sock.c:2761 lock_sock include/net/sock.h:1467 [inline] af_alg_async_cb+0x86/0x1a0 crypto/af_alg.c:1039 aead_request_complete include/crypto/internal/aead.h:75 [inline] pcrypt_aead_serial+0x75/0xa0 crypto/pcrypt.c:123 padata_serial_worker+0x476/0x750 kernel/padata.c:348 process_one_work+0xbfd/0x1be0 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:437 netlink: 1 bytes leftover after parsing attributes in process `syz-executor3'. QAT: Invalid ioctl device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=47638 sclass=netlink_route_socket pig=6700 comm=syz-executor1 netlink: 1 bytes leftover after parsing attributes in process `syz-executor3'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=47638 sclass=netlink_route_socket pig=6700 comm=syz-executor1 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=9296 sclass=netlink_route_socket pig=6887 comm=syz-executor7 kauditd_printk_skb: 47 callbacks suppressed audit: type=1326 audit(1511724329.508:819): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=6873 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 device gre0 entered promiscuous mode device gre0 entered promiscuous mode audit: type=1326 audit(1511724330.843:820): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7098 comm="syz-executor6" exe="/root/syz-executor6" sig=9 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x0 sctp: [Deprecated]: syz-executor4 (pid 7137) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead audit: type=1326 audit(1511724330.897:821): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7113 comm="syz-executor3" exe="/root/syz-executor3" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 audit: type=1326 audit(1511724330.955:822): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7098 comm="syz-executor6" exe="/root/syz-executor6" sig=9 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7135 comm=syz-executor1 sctp: [Deprecated]: syz-executor4 (pid 7144) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead audit: type=1326 audit(1511724331.073:823): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7113 comm="syz-executor3" exe="/root/syz-executor3" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 netlink: 17 bytes leftover after parsing attributes in process `syz-executor5'. autofs4:pid:7160:check_dev_ioctl_version: ioctl control interface version mismatch: kernel(1.1), user(4294967184.2432696575), cmd(0x0000937e) autofs4:pid:7160:validate_dev_ioctl: invalid device control module version supplied for cmd(0x0000937e) netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. dccp_invalid_packet: P.CsCov 15 exceeds packet length 1020 device gre0 entered promiscuous mode netlink: 17 bytes leftover after parsing attributes in process `syz-executor5'. dccp_invalid_packet: P.CsCov 15 exceeds packet length 1020 netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. SELinux: unrecognized netlink message: protocol=9 nlmsg_type=65535 sclass=netlink_audit_socket pig=7284 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=6 sclass=netlink_audit_socket pig=7284 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=65535 sclass=netlink_audit_socket pig=7284 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=6 sclass=netlink_audit_socket pig=7287 comm=syz-executor6 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000000 RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 DS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x00002088, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811be573 RSP = 0xffff8801d8b374c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f62c250a700 GSBase=ffff8801db500000 TRBase=ffff8801db523140 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001d8f7b000 CR4=00000000001426e0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff85143e70 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=00000042 EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=ffffbfff PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000003 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffd4a22a766c EPT pointer = 0x00000001d840d01e *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000000 RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 DS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x00002088, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811be573 RSP = 0xffff8801cdc5f4c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007fdb2f3bb700 GSBase=ffff8801db400000 TRBase=ffff8801db423140 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001d873c000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff85143e70 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=00000042 EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=ffffbfff PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000003 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffd46c0ae98d EPT pointer = 0x00000001c09f501e QAT: Invalid ioctl QAT: Invalid ioctl dccp_invalid_packet: invalid packet type QAT: Invalid ioctl sg_write: data in/out 45116/228 bytes for SCSI command 0x0-- guessing data in; program syz-executor7 not setting count and/or reply_len properly QAT: Invalid ioctl sg_write: data in/out 45116/228 bytes for SCSI command 0x0-- guessing data in; program syz-executor7 not setting count and/or reply_len properly nla_parse: 2 callbacks suppressed netlink: 14 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 14 bytes leftover after parsing attributes in process `syz-executor3'. audit: type=1326 audit(1511724334.004:824): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7544 comm="syz-executor6" exe="/root/syz-executor6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 audit: type=1326 audit(1511724334.135:825): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7544 comm="syz-executor6" exe="/root/syz-executor6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0xffff0000 netlink: 1 bytes leftover after parsing attributes in process `syz-executor0'. IPv6: NLM_F_REPLACE set, but no existing node found! *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002051, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x000000000000fffa RIP = 0x0000000000000000 netlink: 1 bytes leftover after parsing attributes in process `syz-executor0'. IPv6: NLM_F_REPLACE set, but no existing node found! RFLAGS=0x00033000 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 DS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x000f3, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x00002088, base=0x0000000000000000 print_req_error: I/O error, dev loop6, sector 0 Buffer I/O error on dev loop6, logical block 0, lost async page write EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 dccp_invalid_packet: P.CsCov 15 exceeds packet length 1020 Disabled LAPIC found during irq injection *** Host State *** RIP = 0xffffffff811be573 RSP = 0xffff8801ca8c74c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007fa21f0c9700 GSBase=ffff8801db400000 TRBase=ffff8801db523140 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001ceda7000 CR4=00000000001426f0 dccp_invalid_packet: P.CsCov 15 exceeds packet length 1020 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff85143e70 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=00000042 EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=ffffbfff PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000003 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffd35713fe18 EPT pointer = 0x00000001d022101e Disabled LAPIC found during irq injection QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl mmap: syz-executor5 (7836): VmData 18796544 exceed data ulimit 0. Update limits or use boot option ignore_rlimit_data. device gre0 entered promiscuous mode audit: type=1326 audit(1511724336.058:826): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.058:827): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.059:828): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=72 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.059:829): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.059:830): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.060:831): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=55 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.060:832): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.060:833): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.060:834): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=68 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511724336.060:835): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=7898 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 ============================= WARNING: suspicious RCU usage 4.14.0-next-20171124+ #51 Tainted: G W ----------------------------- ./include/trace/events/kmem.h:142 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor3/7930: #0: (sk_lock-AF_ALG){+.+.}, at: [] lock_sock include/net/sock.h:1467 [inline] #0: (sk_lock-AF_ALG){+.+.}, at: [] af_alg_wait_for_data+0x2f2/0x650 crypto/af_alg.c:768 stack backtrace: CPU: 1 PID: 7930 Comm: syz-executor3 Tainted: G W 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4675 trace_kfree include/trace/events/kmem.h:137 [inline] kfree+0x23c/0x250 mm/slab.c:3797 blkcipher_walk_done+0x72b/0xde0 crypto/blkcipher.c:139 encrypt+0x20e/0x540 arch/x86/crypto/salsa20_glue.c:79 skcipher_crypt_blkcipher crypto/skcipher.c:619 [inline] skcipher_decrypt_blkcipher+0x213/0x310 crypto/skcipher.c:637 crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline] _skcipher_recvmsg crypto/algif_skcipher.c:133 [inline] skcipher_recvmsg+0xb06/0xf30 crypto/algif_skcipher.c:164 sock_recvmsg_nosec net/socket.c:805 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:812 ___sys_recvmsg+0x29b/0x630 net/socket.c:2207 __sys_recvmsg+0xe2/0x210 net/socket.c:2252 SYSC_recvmsg net/socket.c:2264 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2259 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fa5fa738be8 EFLAGS: 00000212 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000002021 RSI: 0000000020b2dfc8 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed310 R13: 00000000ffffffff R14: 00007fa5fa7396d4 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.14.0-next-20171124+ #51 Tainted: G W ----------------------------- ./include/trace/events/kmem.h:142 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor3/7930: #0: (sk_lock-AF_ALG){+.+.}, at: [] lock_sock include/net/sock.h:1467 [inline] #0: (sk_lock-AF_ALG){+.+.}, at: [] af_alg_wait_for_data+0x2f2/0x650 crypto/af_alg.c:768 stack backtrace: CPU: 1 PID: 7930 Comm: syz-executor3 Tainted: G W 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4675 trace_kfree include/trace/events/kmem.h:137 [inline] kfree+0x20a/0x250 mm/slab.c:3797 blkcipher_walk_done+0x72b/0xde0 crypto/blkcipher.c:139 encrypt+0x20e/0x540 arch/x86/crypto/salsa20_glue.c:79 skcipher_crypt_blkcipher crypto/skcipher.c:619 [inline] skcipher_decrypt_blkcipher+0x213/0x310 crypto/skcipher.c:637 crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline] _skcipher_recvmsg crypto/algif_skcipher.c:133 [inline] skcipher_recvmsg+0xb06/0xf30 crypto/algif_skcipher.c:164 sock_recvmsg_nosec net/socket.c:805 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:812 ___sys_recvmsg+0x29b/0x630 net/socket.c:2207 __sys_recvmsg+0xe2/0x210 net/socket.c:2252 SYSC_recvmsg net/socket.c:2264 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2259 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fa5fa738be8 EFLAGS: 00000212 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000002021 RSI: 0000000020b2dfc8 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed310 R13: 00000000ffffffff R14: 00007fa5fa7396d4 R15: 0000000000000000 page:ffffea00074bb1c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x2fffc0000000000() raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) ------------[ cut here ]------------ kernel BUG at ./include/linux/mm.h:483! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 7930 Comm: syz-executor3 Tainted: G W 4.14.0-next-20171124+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c10203c0 task.stack: ffff8801d2ec0000 RIP: 0010:put_page_testzero include/linux/mm.h:483 [inline] RIP: 0010:__free_pages+0x118/0x150 mm/page_alloc.c:4290 RSP: 0018:ffff8801d2ec7700 EFLAGS: 00010203 RAX: 0000000000000000 RBX: ffffea00074bb1c0 RCX: 0000000000000000 RDX: 00000000001f0100 RSI: 1ffff1003820418d RDI: ffffed003a5d8ed0 RBP: ffff8801d2ec7790 R08: 1ffff1003a5d8e04 R09: 0000000000000000 R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffff1003a5d8ee1 R13: 1ffff1003a5d8ee5 R14: 0000000000000000 R15: ffff8801d2ec7768 FS: 00007fa5fa739700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f75000 CR3: 00000001d459e000 CR4: 00000000001406e0 Call Trace: free_pages+0x51/0x90 mm/page_alloc.c:4304 blkcipher_walk_done+0x767/0xde0 crypto/blkcipher.c:141 encrypt+0x20e/0x540 arch/x86/crypto/salsa20_glue.c:79 skcipher_crypt_blkcipher crypto/skcipher.c:619 [inline] skcipher_decrypt_blkcipher+0x213/0x310 crypto/skcipher.c:637 crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline] _skcipher_recvmsg crypto/algif_skcipher.c:133 [inline] skcipher_recvmsg+0xb06/0xf30 crypto/algif_skcipher.c:164 sock_recvmsg_nosec net/socket.c:805 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:812 ___sys_recvmsg+0x29b/0x630 net/socket.c:2207 __sys_recvmsg+0xe2/0x210 net/socket.c:2252 SYSC_recvmsg net/socket.c:2264 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2259 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007fa5fa738be8 EFLAGS: 00000212 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000002021 RSI: 0000000020b2dfc8 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed310 R13: 00000000ffffffff R14: 00007fa5fa7396d4 R15: 0000000000000000 Code: 20 08 00 00 00 00 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 29 f5 ff ff eb cf 48 c7 c6 80 2c 30 85 48 89 df e8 e8 71 0c 00 <0f> 0b 4c 89 ef 89 b5 74 ff ff ff e8 88 0b 1a 00 8b b5 74 ff ff RIP: put_page_testzero include/linux/mm.h:483 [inline] RSP: ffff8801d2ec7700 RIP: __free_pages+0x118/0x150 mm/page_alloc.c:4290 RSP: ffff8801d2ec7700 ---[ end trace f029dd75e423744f ]---