From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 727432770E for ; Sat, 17 Aug 2024 19:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723921295; cv=none; b=moBoT8DY0JlxTytoNxsorCaJ7NdLsIqjcWwA8Hm6IwNhv23oBQAo+BsdmFpZq8O00GJtfsYd20gMiPz2FR0/nqf0HSG93fz/Fnq7DD0LJWBjapJdiCHHndG5eqaLe31jSuEu9kJdYKnZZjXSaj64X3C6E6vJj1KELdXlQMSXOeI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723921295; c=relaxed/simple; bh=koHbXpWO3CxqZanxtLdTgu/e6n7zMxQM6gr5wya7CaU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=LHKeUn1VaL8EcFipXkZVcbCM8ho64Xw0c/LrUQRoM0q2tGY1CsCJD/6hZrNCyWRXcZwvD1oqg7/DneLiVIzbf0HABKWU/3LHUqUipEAQLybxhUW1iH2572SJTXvFXOv1mDUMuC/TSoYr095bD5Bt5syT+shYu5v5o3mKalBSQkI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-39b3b3c74d9so28950335ab.0 for ; Sat, 17 Aug 2024 12:01:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723921292; x=1724526092; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uowFCIZghpxJvoNZX8bSJ/JFrlmSFboKLdSQpoxsJ6E=; b=oJc0ZNZiAmz7twqvM/4H0WPCouFwji5koFTgOtXJ0didkNYBzzKl43uAZqyGWrGZ/4 4Z4u5JZHGgAEXmuFNrOkgLy2aqiQ51gYASEWvrziwTV4X7cDcJBoqmW9m2Ktma06XJr/ 9eF8jg/3HWoVyR4kzRWNWhW0ef8aqroDEc+jIVdvYm7RGTLUJtzbnEegJrsMj9f6WNIt OSX2/t4zUTmeYCJ05WT/9xZTRwVgG4olYzs9lL3ZCAp+8TA7sdK4HzJeyAr3pR+P1p9j XVQTmHP7up2EB16BdLWWdSoCUy96t9wpaJ8AFw2GvETTbtYtXdoa5LJNTbzeNFHWA3Ih pdJg== X-Forwarded-Encrypted: i=1; AJvYcCVdGRq54OP8fDHeGUPRYmqU9waxBEI1d+ZfTUUR2reYwyGLuf/hbu8fP/gzLxguVUqT4cZWQXnr3yLv+F7uG3jZ87xXwt9sYCTdBi+G X-Gm-Message-State: AOJu0YyxGiQ5xeHrVVhPUqxnmt7eaxeOhP6VXthDZMeSwQyc8ZanmPMf jGBrPFKtg6/V3xMoMan7f04d2rTTZKwyYCVFiOoFUfBNDK3Co1qdzZBDODoCL8WMqy6iXbMrMM+ GKC1ccPIYQa8xMUQ/hhLg2kUDBC8I4r6C1fzK6ID6YIl59TEY2Se1W5k= X-Google-Smtp-Source: AGHT+IH0JoGNnWZcJv80CMdQ/6bxGMdJJcB0+IB8mo45ZavZrh09+qpoarVcdMAakw7f6ydctAH/8LZwgNyCbbsuSpevRTpa48O6 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:b2c:b0:39d:1d50:e6f9 with SMTP id e9e14a558f8ab-39d26d7057cmr4171005ab.4.1723921292599; Sat, 17 Aug 2024 12:01:32 -0700 (PDT) Date: Sat, 17 Aug 2024 12:01:32 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004432b7061fe5b45e@google.com> Subject: [syzbot] [net?] [bpf?] WARNING in skb_ensure_writable (2) From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, eddyz87@gmail.com, edumazet@google.com, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, martin.lau@linux.dev, netdev@vger.kernel.org, pabeni@redhat.com, sdf@google.com, song@kernel.org, syzkaller-bugs@googlegroups.com, yonghong.song@linux.dev Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 8867bbd4a056 mm: arm64: Fix the out-of-bounds issue in con.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=143cc2f5980000 kernel config: https://syzkaller.appspot.com/x/.config?x=1bc88a9f65787e86 dashboard link: https://syzkaller.appspot.com/bug?extid=deb196d6d40f19e8551a compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/5ef30d34e749/disk-8867bbd4.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/a21c2389ebfb/vmlinux-8867bbd4.xz kernel image: https://storage.googleapis.com/syzbot-assets/9720b12c3f99/Image-8867bbd4.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+deb196d6d40f19e8551a@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 pskb_may_pull_reason include/linux/skbuff.h:2738 [inline] WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 pskb_may_pull include/linux/skbuff.h:2754 [inline] WARNING: CPU: 0 PID: 13062 at include/linux/skbuff.h:2738 skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100 Modules linked in: CPU: 0 PID: 13062 Comm: syz.2.2595 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : pskb_may_pull_reason include/linux/skbuff.h:2738 [inline] pc : pskb_may_pull include/linux/skbuff.h:2754 [inline] pc : skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100 lr : pskb_may_pull_reason include/linux/skbuff.h:2738 [inline] lr : pskb_may_pull include/linux/skbuff.h:2754 [inline] lr : skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100 sp : ffff800098f076c0 x29: ffff800098f076c0 x28: 0000000001000000 x27: ffff800098f07768 x26: 0000000000000000 x25: ffff800098f07770 x24: 1ffff000136a9e06 x23: 1ffff000131e0f1c x22: dfff800000000000 x21: dfff800000000000 x20: 00000000ffffffff x19: ffff0000c61a8280 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008055a9d4 x15: 0000000000000003 x14: ffff80008f3c0558 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000040000 x10: 00000000000004d0 x9 : ffff80009f01f000 x8 : 00000000000004d1 x7 : ffff80008044e140 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000d24fdac0 x1 : 00000000ffffffff x0 : 0000000000000000 Call trace: pskb_may_pull_reason include/linux/skbuff.h:2738 [inline] pskb_may_pull include/linux/skbuff.h:2754 [inline] skb_ensure_writable+0x26c/0x3a8 net/core/skbuff.c:6100 __bpf_try_make_writable net/core/filter.c:1668 [inline] bpf_try_make_writable net/core/filter.c:1674 [inline] ____bpf_skb_pull_data net/core/filter.c:1865 [inline] bpf_skb_pull_data+0x80/0x210 net/core/filter.c:1854 bpf_prog_d22c10afa9a4a832+0x50/0xb8 bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline] __bpf_prog_run include/linux/filter.h:691 [inline] bpf_prog_run include/linux/filter.h:698 [inline] bpf_test_run+0x374/0x890 net/bpf/test_run.c:425 bpf_prog_test_run_skb+0x8d4/0x1090 net/bpf/test_run.c:1066 bpf_prog_test_run+0x2dc/0x364 kernel/bpf/syscall.c:4291 __sys_bpf+0x314/0x5f0 kernel/bpf/syscall.c:5705 __do_sys_bpf kernel/bpf/syscall.c:5794 [inline] __se_sys_bpf kernel/bpf/syscall.c:5792 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5792 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 291 hardirqs last enabled at (289): [] seqcount_lockdep_reader_access+0x80/0x104 include/linux/seqlock.h:74 hardirqs last disabled at (291): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (276): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (290): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- --- 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 report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup