From nobody Sun Oct 12 00:26:42 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ckh9t3Zpnz6BmpJ for ; Sun, 12 Oct 2025 00:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ckh9t2fGNz3MtF for ; Sun, 12 Oct 2025 00:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760228802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4dpxiWcIw05QxxiXuzhEwZvhrug/Pfk3LjWHO5mzVjM=; b=QzjrphZmSsWd4R7OgIcI3WkpfyDT4zs1GKy7Z08xYLPlN2NnbH0/Ki3aWb2W3bdeN7zNEL eQic0SNwK0ZREmS1TITC+tsffrDNL9MXf53W9iFxr7c+J9qk4/kTMcfL15BxXWqv1TUwk5 AD363i7rtqmSM8Jq+GWLg0YrO4J1SJJnIt3NDaTSEDalSWTVeDW4O4b3zysDxrHc1Wk5ti m0eiazbf3bdes66WcIRy+ZATwT7PuzSMkSP+VFM6mLxAyzn1HV7HJDs1yTGnEYK+b8TXSy e0LuViCE6axOWvqZpJ6iDtD4GTSZWqWKMzahDerChw9P3258QnDynIeBNedtEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760228802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4dpxiWcIw05QxxiXuzhEwZvhrug/Pfk3LjWHO5mzVjM=; b=pMsT/KI7WfSsGg45TsBOpuZdouvYxaYZU9ybXt7IbEri38h7kgJSWSXAL3mNu2Owfk+M2C 5l4rPBX2bZEwR3az0QaLFZOqkXkPlz1oNqSxOGi3mgin/wx6+sJUEcDLxeRlgR+wF9rjX2 3wzgapcPXy9fCCvhoTsNByedi/zWooYiDphwiK83vm/A8Lfb8eQBUCspjK4XhZgYoapDIv AX5qLH++rec4rGOjZ/1oQjVUC7cNxmAGf+0sLIb2QQW+f5BknWTE5HKqpE1YwultQJ/joi dR1tyK13J5bX2vIA389EABk2HiIUEmESaMZZj1Yb6UJOOuv//S8g+Jv0CEJavQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760228802; a=rsa-sha256; cv=none; b=QpEfj9CBBjAKvRRKGXIJcwiUnGNjpMVEZk0r70kQCLsDeNj/zZ7qte8GnFxO3P1ihJVSBJ od5nPeA3lXXJsP+UMgGVMQiirjsSrrTIXJnLY+a31DjD+eq74C3bpqMZ1Bxb6lcvRaLPwR xiV2ZnjFHQdfbOEMlgQKRTHpYIfOAV7dN5KwEMXXYE25aoX0zwgIJXtK7Z+BH9qeaEAUcx pS8TM/SVdZce4QIt5NT7QEo01SmY4O4Q32dVGVPvgZRknYzFraaSW5ug8xs7S4CfssxqMR M6tscnL59Q+hhkYdcy73uHdasq8fMO88Iq+2HuTlPUlGJ0i4+TnRYQW38rVPWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ckh9t2CXZzx5Q for ; Sun, 12 Oct 2025 00:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 59C0Qg7o060003 for ; Sun, 12 Oct 2025 00:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59C0QgIi060002 for net@FreeBSD.org; Sun, 12 Oct 2025 00:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 289734] panic tcp_usr_close while running mount command after configure NFS over TLS Date: Sun, 12 Oct 2025 00:26:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: crash, vendor X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289734 --- Comment #10 from Rick Macklem --- (In reply to Gleb Smirnoff from comment #9) Well, whoever it belongs to hardly matters. I do plan on looking at it, but I've been busy with other stuff (I know you're busy, too.) My hunch (only a hunch) is that one thread sees the TLS peer reset (sent by the client when it calls SSL_shutdown) and then, while that thread is processing it, another thread does a close() on the socket (or something like that). When one thread in the rpc.tlsservd is doing any SSL library call for a TCP connection, no other thread can be allowed to mess with the same TCP connection. (The old code pinned a TCP connection to a process, but I haven't looked to see how you handled this?) I think a TCP socket must be pinned to a thread or something close to that. Multiple processes/threads were meant to handle the case where many clients tried to TLS handshake (all different TCP connections, of course) after a server reboot. You might need fast hardware to reproduce the race. I cannot reproduce it with my slow junk. --=20 You are receiving this mail because: You are the assignee for the bug.=