From nobody Fri Sep 12 17:43:39 2025 X-Original-To: bugs@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 4cNhcC6g25z62XQj for ; Fri, 12 Sep 2025 17:43:39 +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 4cNhcC3x0Gz3nJP for ; Fri, 12 Sep 2025 17:43:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757699019; 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=EOgC+vI+JRfSaY86Iz4F9nPXo4iP2U46yyRW/Wi5X18=; b=pTanF7xdrX/R57anVm51acCJZZTqxEul7bGNqzDz7zpTMldnOAQgpbTLqCTk3ZfLjNUT38 TN6aNV0AV14tBaFkADvf/WoiOwuykRN9HgaRETD4SpqLVLOTJQQcNmnKM3f2HxVKvrR0Bw cxXjnnb1RpFDww1Bnb10sjZjHsKVbbcsHXRCozTiABBEF1tO8rqwroxCDtJbzTrDXRMVzD YrBLWMmzi8ix76s578YL2CQacXYJo5mPWTow+/JUHk71j0BW4gUQZjuO4asPSmY/AMFVr6 YAd6L5zACuu699TjOKtsEyeArfpuv7qTk3XspYEQVm1lY40c30pilM/Ji2bEbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757699019; 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=EOgC+vI+JRfSaY86Iz4F9nPXo4iP2U46yyRW/Wi5X18=; b=YS7YVTwye7cEGRLOHNiHvY7GxpLj34JgEGRJWWH6mrpNCKMyjK4ztDWpWMCEen3+47+7oe 6+BQ6efZGxiFhCG2LQY69IRhAoQyWSDl1Vr4PC/sZ1coGyy/Q62NXrf2pgE2vLPWZZJ1Sv 8EXK5A28JgzKQZZrgInKflivK5pGFEN0EUNP0OQ5K/BTgJTNMMwA48XIQYSYQimGhTdA+8 PNZ13klZuf7q8oJVNQyYY2P0JNtXOE2txs/f1ohQUS3DHFLtOst9hC+rnpbhzFuZr+nK9P wogz//m3yfhv37Zcp9r+0ywJcZb6mqMfFAGXeC6SVdDjaeVZjKGlIOIBBC+8Dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757699019; a=rsa-sha256; cv=none; b=BilKh12HGTo8kPhFgtois9Hanjgg2JmdAZZJkNd6/DyqTRm2Ni2fCxnw2AyZZQJT/NSthU dQC5Dbp5ez/kqWGTdUBh/gFUPSD0CcoixWc8m6CRmhDWxqjnr1tKQOpS0ISb+k5HG3sRtM wctO58mWhTYd3NQYgRsxvdEdKwDLVGoKUP/mcbfvFeiJ+bmobEZZbzfsRDGz8ptxBJwz7Z dFG8281yPp6/BlKPF2mJ/DMWuKWF11d7DeW12QuPBeqJ++SatnCKC8o+dlCWGTrlLkQ9od uoRnjQAISUx5pq92BUZ3me8JfEpIVCzH+cpcEHJElRhyINPnusHmFjky4+HhYg== 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 4cNhcC3BtXz12fm for ; Fri, 12 Sep 2025 17:43:39 +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 58CHhdjd015325 for ; Fri, 12 Sep 2025 17:43:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58CHhdJQ015324 for bugs@FreeBSD.org; Fri, 12 Sep 2025 17:43:39 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: bugs@FreeBSD.org Subject: [Bug 289120] A time-of-check to time-of-use race exists in gpioc_kqread() of GPIO subsystem Date: Fri, 12 Sep 2025 17:43:39 +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: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vexeduxr@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289120 --- Comment #3 from Ahmad Khalifa --- I can. Thank you for bringing it to my attention. Qiu-ji: kqueue(9) should be locking priv->mtx before calling gpioc_kqread, so this shouldn't be a problem. Did you run into such a race? If so, do you have a = way of reproducing it? --=20 You are receiving this mail because: You are the assignee for the bug.=