Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp644177rdh; Thu, 26 Oct 2023 11:32:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxYMhN8EYf1bGUmHRd7/Sr7DuWwPUp7CnhMAoxMcR3BYx8aDrPzLtm8Y86xO02y+UE8bD8 X-Received: by 2002:a25:2417:0:b0:d9a:c61e:4466 with SMTP id k23-20020a252417000000b00d9ac61e4466mr154240ybk.61.1698345166444; Thu, 26 Oct 2023 11:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698345166; cv=none; d=google.com; s=arc-20160816; b=K/vdS9bM4tUWLQbEcUhFyr/ElH/eLCHbgVGLfLt6lbPvKrVHoO49txYBmpwLQvTPp/ jHx3/VQjTudwGF18yq31e11LTHQ5KvxUiBnUkOYJ6uHfjDvlGLAoE/tRVIwNvWeZyrkw xOVyTN4LwE5S8WecmCn5E41ql7XbG7f9YP2eeG445zFsAec9pwQPunGV96Ptnf+x5tiq hsLU+iKHPWqEQrar9mQ/SMLBYeLsTI9KIIxCdExafKLcMc4I3xEmuKq4ZeMzxOQwu1pD YJrtOOwKSYO2R3t7anCoCIILvqh2MZ5ALwq4Vd0+hHm9PfO1t8cSw3g3tMP0ESDGffz1 mG4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=uH0iaPQL/qY+pxogylBAOj8akK6lTqnPteM1oOd1ZeE=; fh=qSTFatz7B/MiyD19x/L+oGEiNNfBgLw0DTvD/o6YriM=; b=j2KV+vEPd1eGiwBDYBGn9Z/guXzCYgD+EBwoaQfxeYsh81KdZeZPw0s/9GAwwnJBiz QLhLzQ+pp03kwjP7CKzInitg6ftywzbdp2z51JVqwm2QACXaDmkyMMpqO+s+L7ayqba7 jwbCvdOrysEUlmVJ9PmfK0aj7JTWXCJt5acQ5WnWEDfJMFVg9rb3jsl3hy5iel7rs9h+ p17IhJEPVRPZJt1wluF0owMKgEJI5OI/8N8aWH1iGjvzgqixAP6Et6g+rQQdzfAACxUD I6Wa5LcUhH4tioeCZDxkLopWSDJcuHbGcDGVEBDQnvHx5x5VRJUpfzq1BdtxzvoXaIUi 9dfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t3-20020a252d03000000b00d90c70c3a9fsi15386456ybt.287.2023.10.26.11.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:32:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 71EFD8289529; Thu, 26 Oct 2023 11:32:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbjJZScd (ORCPT + 99 others); Thu, 26 Oct 2023 14:32:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjJZScc (ORCPT ); Thu, 26 Oct 2023 14:32:32 -0400 Received: from mail-oa1-f77.google.com (mail-oa1-f77.google.com [209.85.160.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86C2A1AD for ; Thu, 26 Oct 2023 11:32:26 -0700 (PDT) Received: by mail-oa1-f77.google.com with SMTP id 586e51a60fabf-1ea1c5774d2so1467834fac.1 for ; Thu, 26 Oct 2023 11:32:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698345146; x=1698949946; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uH0iaPQL/qY+pxogylBAOj8akK6lTqnPteM1oOd1ZeE=; b=n+BbGBkIL1S6xuLw7YyEqH8YMtiduiMdEn2LJoPRPBdFFGC4qru9s7SyL/txwVvm5D qdNcN8fueELjJfMGAgu319zkhBu+6QzzwMC8Yd/KTS6OCJSlUwUAwyRdy3Kl3QbthATr 63BmLJK4uKIdlCtH0sScXMxTvMbG2yxFQxjpy9km68JNWcuhDOkf/7uQf9eLcWXhq7gH tI8WFbh2Ra1FKeVy5D52VH7IE6af/K1EUg43GFzfh8H7CuqCNG8Aeenl3la8GF+DVItn 0mbrr0QqbkAeUZyyJ/tC0zUECZ1UYZOlUL0Z/x8uJJMxpDKineRUpnTR1er8a8/477sQ A1CA== X-Gm-Message-State: AOJu0Yyn8+SMzXQ3nE2g/7MwzFNZ+vtRM1xKAMX6AkZ6b0o6wf5vAw9d zwHvvdgH3rrh/9dPNg48g73GF+3LIdOmaW1Vi5ae3HXaBU0V MIME-Version: 1.0 X-Received: by 2002:a05:6870:1cf:b0:1e9:bebf:3813 with SMTP id n15-20020a05687001cf00b001e9bebf3813mr208395oad.9.1698345145893; Thu, 26 Oct 2023 11:32:25 -0700 (PDT) Date: Thu, 26 Oct 2023 11:32:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000208dc20608a2cbb4@google.com> Subject: [syzbot] [bpf?] [net?] BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, edumazet@google.com, jakub@cloudflare.com, john.fastabend@gmail.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.1 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SORTED_RECIPS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 26 Oct 2023 11:32:42 -0700 (PDT) X-Spam-Level: ** Hello, syzbot found the following issue on: HEAD commit: 7cf4bea77ab6 Merge tag 'for-6.6-rc6-tag' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15b76415680000 kernel config: https://syzkaller.appspot.com/x/.config?x=a4436b383d761e86 dashboard link: https://syzkaller.appspot.com/bug?extid=84f695756ed0c4bb3aba compiler: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1780cabd680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=157c04fe680000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/384ffdcca292/non_bootable_disk-7cf4bea7.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/8097f65801fe/vmlinux-7cf4bea7.xz kernel image: https://storage.googleapis.com/syzbot-assets/1824f0c42bd6/Image-7cf4bea7.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+84f695756ed0c4bb3aba@syzkaller.appspotmail.com Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Mem abort info: ESR = 0x0000000097c38006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: Access size = 8 byte(s) SSE = 0, SRT = 3 SF = 1, AR = 0 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000046851000 [0000000000000000] pgd=0800000047e00003, p4d=0800000047e00003, pud=080000004684b003, pmd=0000000000000000 Internal error: Oops: 0000000097c38006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3098 Comm: syz-executor448 Not tainted 6.6.0-rc6-syzkaller-00045-g7cf4bea77ab6 #0 Hardware name: linux,dummy-virt (DT) pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : page_kasan_tag include/linux/mm.h:1801 [inline] pc : lowmem_page_address include/linux/mm.h:2172 [inline] pc : kmap_local_page include/linux/highmem-internal.h:185 [inline] pc : copy_page_to_iter+0xb0/0x150 lib/iov_iter.c:479 lr : sk_msg_recvmsg+0xf8/0x37c net/core/skmsg.c:437 sp : ffff800082b43940 x29: ffff800082b43940 x28: 0000000000000000 x27: fdff00000526c000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000040000000000 x21: ffff000000000000 x20: 0000000000001000 x19: ffff800082b43d50 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffdf150998 x14: 000000000000012a x13: 000000000000012a x12: 0000000000000002 x11: 0000000000000001 x10: b5bbc95fda8a2138 x9 : 9908e50d67e0cf7a x8 : f6ff000004f48f88 x7 : 0000000000000000 x6 : f9ff000004e6ed40 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff800082b43d50 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: arch_static_branch_jump arch/arm64/include/asm/jump_label.h:38 [inline] kasan_enabled include/linux/kasan-enabled.h:13 [inline] page_kasan_tag include/linux/mm.h:1800 [inline] lowmem_page_address include/linux/mm.h:2172 [inline] kmap_local_page include/linux/highmem-internal.h:185 [inline] copy_page_to_iter+0xb0/0x150 lib/iov_iter.c:479 sk_msg_recvmsg+0xf8/0x37c net/core/skmsg.c:437 unix_bpf_recvmsg net/unix/unix_bpf.c:73 [inline] unix_bpf_recvmsg+0x13c/0x4f0 net/unix/unix_bpf.c:50 unix_dgram_recvmsg+0x30/0x4c net/unix/af_unix.c:2457 sock_recvmsg_nosec net/socket.c:1044 [inline] sock_recvmsg net/socket.c:1066 [inline] sock_recvmsg net/socket.c:1062 [inline] ____sys_recvmsg+0x1d0/0x268 net/socket.c:2777 ___sys_recvmsg+0x90/0xe8 net/socket.c:2819 do_recvmmsg+0xc8/0x2f4 net/socket.c:2913 __sys_recvmmsg net/socket.c:2992 [inline] __do_sys_recvmmsg net/socket.c:3015 [inline] __se_sys_recvmmsg net/socket.c:3008 [inline] __arm64_sys_recvmmsg+0xd0/0xec net/socket.c:3008 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:51 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:136 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:155 el0_svc+0x40/0x114 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:595 Code: 8b160320 d346fc00 8b0032a0 d503201f (f9400323) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 8b160320 add x0, x25, x22 4: d346fc00 lsr x0, x0, #6 8: 8b0032a0 add x0, x21, x0, lsl #12 c: d503201f nop * 10: f9400323 ldr x3, [x25] <-- trapping instruction --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup