Article View: linux.kernel.netdev
Article #21762Re: [PATCH] net/x25: fix invalid lock_sock() usage in x25_kill_by_neigh()
From: Martin Schiller
Date: Tue, 24 Nov 2026 12:55
Date: Tue, 24 Nov 2026 12:55
22 lines
10308 bytes
10308 bytes
Hi Krystian, On Tue, 24 Nov 2026 13:31:55 +0100, Krystian Kaniewski wrote: > x25_recvmsg() has the same kind of window, and the review did not > report it. Good catch, the code agrees: x25_disconnect() leaves x25->condition alone, so x25_check_rbuf() can still send an RR through x25_write_internal(). I'll cover x25_recvmsg() in the separate fix for x25_sendmsg() and x25_output(), with your Reported-by. > Could you also add the Reported-by and Closes tags for > 300375dfd44665f063a6 to the series, so that syzbot closes this one too? Yes, the v2 will carry the tags for both reports. > I am happy to test the series with the syzbot reproducer once it is > posted. Thanks, that would be great. Thang can still send the v2 himself this week; otherwise I'll post it. Either way, you'll be on Cc.
Technical Details
Message-ID:
<14b34e044b3de00d871d49226ab0e00b@dev.tdt.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370345-linux-kernel-netdev=dewy.ruReferences:
<00f667e3-a158-4fb5-84a3-9ecda4718ce8@mail.kernel.org> <179551432467.3135.11868205229731190547@kernel.org> <02419845-bab8-4e36-9a98-6830761da1b9@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370345-linux-kernel-netdev=dewy.ru From: ms@dev.tdt.de (Martin Schiller) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net/x25: fix invalid lock_sock() usage in x25_kill_by_neigh() Date: Tue, 24 Nov 2026 13:55:54 +0100 (CET) Organization: Usenet Network Message-ID: <14b34e044b3de00d871d49226ab0e00b@dev.tdt.de> References: <00f667e3-a158-4fb5-84a3-9ecda4718ce8@mail.kernel.org> <179551432467.3135.11868205229731190547@kernel.org> <02419845-bab8-4e36-9a98-6830761da1b9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="4137436"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MtT7fpXZjid8Co/n2aEvmRJeH68= sha256:GOW4PLnZwXHtv+Yg9FAseJj1MkQp6mkg17qcmZ3i5zM= sha1:0J+5YrCQ4k3fPwC0WAmEczNL7Pk= sha256:m1ct7mq/E9zvco5bVEMwqdecGulivtEStg6mwysysqE= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id A8897125E14; Tue, 24 Nov 2026 15:56:19 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=dev.tdt.de X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y5NcyFXCyv1e; Tue, 24 Nov 2026 15:56:16 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-370345-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=dev.tdt.de X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 7E1FB125E13; Tue, 24 Nov 2026 15:56:07 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id AE8EC6064FC; Tue, 24 Nov 2026 12:56:06 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1795524966; b=uaSXmCCoKoYv/FiR7CeLJrqLSu5QvpXQMno8aLY6lUvdHzi3de4KKqiV+zUTBkeWUFhK 8P0IOMBXOgyBVPe603mkFRtUDuaGXQVdMvU2ae3YhBKsVAjKC9LyXbZ8OuZcMNRTf2/2G aXJbsC8RcD2rztzbXCNRqzVyUY9qHg+AIDeS8wUhIV4CTMul24iA9aV6PPvVt16zWQLdS 258TyQQhe6lZngEDmonH0oR4SkY4PsTkuUEVdMx9666CL1UNPU9zw5H6QXzpmQGLMBUm3 WXfiZYzqQEc0eSHNzYScA/QhxEmEqFYF9N9GHOcTdZGvkaseuynlbt6sAYfsVKH2p8A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795524966; h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature: Received:Received:Received:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject: Organization:In-Reply-To:References:Message-ID:X-Sender:User-Agent: X-purgate-type:X-purgate-ID:X-purgate; bh=slugAct+d9okK4SVhnpunN3npmVqm8AIPnUV1JVa6F8=; b=G/nYcjmXSAiiA8Aosl+ENyQN0iKFEZwASVizW+ZsfYku3CaiAqi02qLX/zHk5q2y6Iss IrLJg5ydF+zCcy/PXkTktYRMnTL9lC7QkAtPn7hUIuQtzVVO0ovYX9elUN1nu7iPOCryu X6tsx/CzPIC/WsR2P0w+br4GD/uaOmAMrMVhZBIYMjFsH2WMNzBEriAPlhyNV3S4ni3NO axMLkwrf/P2geMFAMiTeSqxgzQQEUzWOEcZ4b9EA3ujVq4gf9gcWJpZ1y5/9Ro8VkalR0 KTb//sLeN7/5puHD3/523FbpCVuiI5nQPnqHpSxaCdUASviNohFvMRWCRUsJ4WUNb8g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=temperror header.d=dev.tdt.de header.i=@dev.tdt.de header.a=rsa-sha256 header.s=z1-selector1 header.b="n50UEsy/"; dmarc=pass header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEA71606A327; Tue, 24 Nov 2026 12:56:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=temperror header.d=dev.tdt.de header.i=@dev.tdt.de header.a=rsa-sha256 header.s=z1-selector1 header.b=n50UEsy/ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.37.255.70 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795524960; b=a6cgsvLFfOfFmKQpnIBO6xX7963BtER7ceBzTmXk9UqH1fQ27DuOe8sQttuddslaCQKn Mb4z2ALbyKpyXHpWLKUyBhN+UVhCgd1u3PtdHCY65amrMuEsJwlA8Lun1opODCRn5TBhR eXjusYYUw9zivlb0D7MPyfYtwJmhAQwlLnNpgydJEQ3SdzWjjhr9ixP3iyNz3zoPV2JYt pX3H766UAZ00Q2vm1lFbykYWSDDwfdcyMvWUmmelHlGN9AuQC/hAqkHHdHVTUVVkDqiwA 0kTiAPib1DipP4YTlCRfmnwB8tP1QT1ktVjkKPUgG5Mml/9mEYOiRzlTMbvf4++bCNA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795524960; h=DMARC-Filter:Received:Received:DKIM-Signature:Received:Received: Received:MIME-Version:Content-Type:Content-Transfer-Encoding:Date: From:To:Cc:Subject:Organization:In-Reply-To:References:Message-ID: X-Sender:User-Agent:X-Spam-Status:X-Spam-Checker-Version: X-purgate-type:X-purgate-ID:X-purgate; bh=slugAct+d9okK4SVhnpunN3npmVqm8AIPnUV1JVa6F8=; b=eIOhYr1s5X7R/EeZYFeRpBEnebwa4V02wRiJ/h2TnZrIjfH4AQvXXi8QptxJbVn3C6wk zM6BWaa1cMyRBE1VQVJpZO4E4Q5FJF/kTOClyOkcZTCeJryBwPGdHR/pAPdxlETbI2B14 t975bbuu+ibs3neDoNipIxn+Rxka1MzqF6/jKIr4bOEymPQ9tiHKO1+VpRF9Zc9b1KfIP Vd8cxINEPBJUAuXBzIrPuj5PyZ3s26+QGDrreAaGR+yw0T6dnWs/QmqNgHJ5vom8vKByf KSzSW1kjivD6B4ndZOYVx/CXif9e+UyRJjtjqMbZJskzNCfjGyFEJFPE3dqJOrGhdoQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; dkim=temperror header.d=dev.tdt.de header.i=@dev.tdt.de header.a=rsa-sha256 header.s=z1-selector1 header.b="n50UEsy/"; arc=none smtp.remote-ip=194.37.255.70 X-Received: from mxout70.expurgate.net (mxout70.expurgate.net [194.37.255.70]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48C55606A31E; Tue, 24 Nov 2026 12:55:59 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 48C55606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dev.tdt.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de X-Received: from [194.37.255.9] (helo=mxout.expurgate.net) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from <prvs=6802181f00=ms@dev.tdt.de>) id 1xVq3w-00FLUD-Nk; Tue, 24 Nov 2026 13:55:56 +0100 X-Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ms@dev.tdt.de>) id 1xVq3v-008LwX-9D; Tue, 24 Nov 2026 13:55:55 +0100 X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev.tdt.de; s=z1-selector1; t=1795524954; bh=slugAct+d9okK4SVhnpunN3npmVqm8AIPnUV1JVa6F8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n50UEsy/cNEQKeTXohBifcZ5TKBQf0pmbS9nl/L6lNLgy2Gfh2R56qGiEHk84nb8t X+gWk9dnMkscHXSDw8YnNRCaz5ulFdE5CwuB9Svpwbw8advP4Sbfw9FF2Vo07sbnhj vsq/znndinH6KDI3AJz+X+mhVEb/uglIcHjAobiIIAQ7L286QcpVL2HnIgxWEHztYy CtO0E3EGIg0/XbLFCD6vzenhASpCoLF/5wmqmGV5TTLa0qfnuABIm3wRNBWudYQ4Iz t5hTvPjwE+HpRUBjToNFa0xlic7lNSrB0z/S8X1W7N4hFKUCkbgRMb0T5NLhJA8n3M OHB2QGcw6O9+Q== X-Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id B043B240041; Tue, 24 Nov 2026 13:55:54 +0100 (CET) X-Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 9C3CE240036; Tue, 24 Nov 2026 13:55:54 +0100 (CET) X-Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 72C1429D09; Tue, 24 Nov 2026 13:55:54 +0100 (CET) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-Cc: netdev-bot+sashiko@kernel.org, syzbot@kernel.org, syzkaller-bugs@googlegroups.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, linux-x25@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, duoming@zju.edu.cn, horms@kernel.org, linux-kernel@vger.kernel.org, syzbot@lists.linux.dev, ngocthang2710.1999@gmail.com X-Organization: TDT AG X-In-Reply-To: <02419845-bab8-4e36-9a98-6830761da1b9@gmail.com> X-Sender: ms@dev.tdt.de X-User-Agent: Roundcube Webmail/1.3.17 X-purgate-type: clean X-purgate-ID: 151534::1795524955-78D5BB36-D4B7661C/0/0 X-purgate: clean