From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) (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 D5D471552E1 for ; Sat, 24 Aug 2024 08:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724486465; cv=none; b=K1nFFHCxwX5KZmW9g6m6cRpQmPAl2mbBmMdInjARZxvnRr7TxB55E9pzYyp81Dwfap3a6W3uOIXk/Q1vBaUKyNuVcB++f4yRSv3au8SwbRh5BYiySwTXSVQ9Vw5oP5HAy4E+f/hNkJGo1gmdEMZ8rUX3MnKKbjHtXxNyVtSdR6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724486465; c=relaxed/simple; bh=gZ+2WX00SgZ6EGkC1usb6IePxgW+iL4uerRvDpRRAio=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=QSCaCFvrTV8A8lu0L8i6EUBm9GoRJjx9oP5eO+L9nDjzog8QueZxnhJPYnCO7iRVwcJS0jBMprpe1sEoz58ZOM9ZF8SG2buDMH2i7+lqs8fVESWPt9DvixerM4PhGFRAvLAO+ghj2vmCk5O1vPkfRu37dzFrgu3rZFsTyXpmfSM= 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.197 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-f197.google.com with SMTP id e9e14a558f8ab-39d2c44422eso26788875ab.2 for ; Sat, 24 Aug 2024 01:01:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724486463; x=1725091263; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZPPKCjFCmCCK85GWM5J7abDWESriW3NFe5L8Cd7jDgU=; b=bYsn0pHwLe+M1/J+vUKrKzBiqqkqieZTvJgl5OOQB+2WSacsLOxodL97nSD5sKt3ae Ha9ctGCSdy8Qcj9kWc7GJSXmxs1dnq9R1ffuwtik57TxVMptV7dcdYT0pcoqNoG4bgDw SQ3ryWUFyZO6tQ9T2xy8j5jHEQfppuHG9eYVWLrFe++6HLsNuHoEHXmFFSykyZDbGcMC SCoymCs44/cxj4gbdYPEXd4nOdNBlXGuxz6Yj04YhoArq4E2OezaS72KIhdAu97usj3g wEcslH5ebk+1KLKKhSSnJlm6LIzN+vDFEsrn/cMBXzgwmPQDaoaawSgKkgIeAjjgxJJV bTHA== X-Forwarded-Encrypted: i=1; AJvYcCVqaNMYgMytMCDssPAB1QOiDoK6Dcas21J5RjHNb8F6dF1Qef7B+kPuo5qoothXyl5Dsl7U+xS0h7XppLI=@vger.kernel.org X-Gm-Message-State: AOJu0Yx9YsSV4OQGcjkt7dkiVit11cnx6DQO2Mbi5LBuWf6e4zbdg55z iVvG66+ml7anYuEgc0BB7I+0EBxgzl7qzMe+dZlb2GGxU2k/DBzO8yaq1rAGENabMEGeGupNd7w ooqF8lAGDfUkepDgmgsR5PEoUBGYw/gKtgfaA7xyMyWZ/ZnxreMwSgbQ= X-Google-Smtp-Source: AGHT+IEezMfNBafGzoTvMkqo3XDwBO433X7xrCGq85UkOYhtyXQf5hwl3rJCmu6rvcW270QATkotNuM4F7zO9vF7Hkr98YaKRfE0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:c546:0:b0:39d:4d70:7782 with SMTP id e9e14a558f8ab-39e3c9f3985mr2666135ab.4.1724486462954; Sat, 24 Aug 2024 01:01:02 -0700 (PDT) Date: Sat, 24 Aug 2024 01:01:02 -0700 In-Reply-To: <20240824074305.1131-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000000b6eaa0620694b6d@google.com> Subject: Re: [syzbot] [bpf?] [net?] WARNING in sock_map_close (2) From: syzbot To: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in sock_map_close ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6123 at net/core/sock_map.c:1699 sock_map_close+0x399/0x3d0 net/core/sock_map.c:1699 Modules linked in: CPU: 1 UID: 0 PID: 6123 Comm: syz.0.15 Not tainted 6.11.0-rc3-syzkaller-00508-gd785ed945de6-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:sock_map_close+0x399/0x3d0 net/core/sock_map.c:1699 Code: 48 89 df e8 e9 a3 5a f8 4c 8b 23 eb 05 e8 8f 5e f3 f7 e8 ba ea ff ff 4c 89 ef e8 82 e1 da ff e9 47 ff ff ff e8 78 5e f3 f7 90 <0f> 0b 90 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc RSP: 0018:ffffc900022cfcb0 EFLAGS: 00010293 RAX: ffffffff89a02af8 RBX: ffffffff95312d30 RCX: ffff88802118bc00 RDX: 0000000000000000 RSI: ffffffff8c0ad560 RDI: ffffffff8c606900 RBP: 0000000000000000 R08: ffffffff937328e7 R09: 1ffffffff26e651c R10: dffffc0000000000 R11: fffffbfff26e651d R12: ffffffff89a02760 R13: ffff88801fb47000 R14: dffffc0000000000 R15: ffffffff89a02791 FS: 0000555563a01500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 0000000071e98000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_release+0x17d/0x200 net/ipv4/af_inet.c:437 __sock_release net/socket.c:659 [inline] sock_close+0xbc/0x240 net/socket.c:1421 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa027579e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffee3912848 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000001ccb3 RCX: 00007fa027579e79 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ffee3912918 R08: 0000000000000001 R09: 00007ffee3912b2f R10: 00007fa027400000 R11: 0000000000000246 R12: 0000000000000032 R13: 00007ffee3912940 R14: 00007ffee3912960 R15: ffffffffffffffff Tested on: commit: d785ed94 net: wwan: t7xx: PCIe reset rescan git tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git console output: https://syzkaller.appspot.com/x/log.txt?x=150ee38d980000 kernel config: https://syzkaller.appspot.com/x/.config?x=7229118d88b4a71b dashboard link: https://syzkaller.appspot.com/bug?extid=8dbe3133b840c470da0e compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=17be300b980000