From owner-freebsd-bugs@freebsd.org Sun Sep 6 14:54:52 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 261B73D33F7 for ; Sun, 6 Sep 2020 14:54:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bkvb00FCgz40Mw for ; Sun, 6 Sep 2020 14:54:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 084A53D33F5; Sun, 6 Sep 2020 14:54:52 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0811D3D33F3 for ; Sun, 6 Sep 2020 14:54:52 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BkvZz6TFBz403c for ; Sun, 6 Sep 2020 14:54:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C1BDD102BF for ; Sun, 6 Sep 2020 14:54:51 +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 086Espgd098819 for ; Sun, 6 Sep 2020 14:54:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 086EspaT098817 for bugs@FreeBSD.org; Sun, 6 Sep 2020 14:54:51 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 249150] KCSAN reported race conditions Date: Sun, 06 Sep 2020 14:54:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2020 14:54:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249150 Bug ID: 249150 Summary: KCSAN reported race conditions Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gbe@FreeBSD.org While running a KCSAN-enabled kernel on a recent -CURRENT (r365373) the ker= nel reports the following race conditions or racy access. Please note that these messages where generated during three boot attempts. CSan: Racy Access [Cpu0 Write Addr=3D0xfffffe000852d0c8 Size=3D4 PC=3D0xffffffff8119730a] [Cpu1 Read Addr=3D0xfffffe000852d0c8 Size= =3D4 PC=3D0xffffffff81198368] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800fee00320 Size=3D4 PC=3D0xffffffff8193cb08] [Cpu1 Write Addr=3D0xfffff800fee00= 320 Size=3D4 PC=3D0xffffffff8193cb08] CSan: Racy Access [Cpu0 Write Addr=3D0xffffffff82316a00 Size=3D8 PC=3D0xffffffff81167c84] [Cpu1 Read Addr=3D0xffffffff82316a00 Si= ze=3D8 PC=3D0xffffffff8116633c] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800fee00320 Size=3D4 PC=3D0xffffffff8193cb08] [Cpu0 Write Addr=3D0xfffff800fee00= 320 Size=3D4 PC=3D0xffffffff8193cb08] CSan: Racy Access [Cpu0 Read Addr=3D0xffffffff836310c8 Size=3D4 PC=3D0xffffffff8119261a] [Cpu1 Write Addr=3D0xffffffff8= 36310c8 Size=3D4 PC=3D0xffffffff8119730a] CSan: Racy Access [Cpu0 Write Addr=3D0xfffffe0038df5748 Size=3D4 PC=3D0xffffffff8116d18e] [Cpu1 Read Addr=3D0xfffffe0038df5748 = Size=3D4 PC=3D0xffffffff811166e9<__mtx_lock_sleep>] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800fee00320 Size=3D4 PC=3D0xffffffff8193cb08] [Cpu1 Write Addr=3D0xfffff80CSan: = Racy Access [Cpu0 Write Addr=3D0xffffffff82204027 Size=3D1 PC=3D0xffffffff8114c508] [Cpu1 Read Addr=3D0xffffffff82204027 Size= =3D1 PC=3D0xffffffff817df03a] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800fee00380 Size=3D4 PC=3D0xffffffff8193cb61] [Cpu1 Write Addr=3D0xfffff800fee00= 380 Size=3D4 PC=3D0xffffffff8193cb61] CSan: Racy Access [Cpu1 Write Addr=3D0xffffffff823167a8 Size=3D8 PC=3D0xffffffff81167c71] [Cpu0 Read Addr=3D0xffffffff823167a8 Si= ze=3D8 PC=3D0xffffffff81168732] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800fee00320 Size=3D4 PC=3D0xffffffff8193cb08] [Cpu0 Write Addr=3D0xfffff800fee00= 320 Size=3D4 PC=3D0xffffffff8193cb08] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800fee000b0 Size=3D4 PC=3D0xffffffff8193a170] [Cpu0 Write Addr=3D0xfffff800fee= 000b0 Size=3D4 PC=3D0xffffffff8193a170] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800fee000b0 Size=3D4 PC=3D0xffffffff8193a170] [Cpu1 Write Addr=3D0xfffff800fee= 000b0 Size=3D4 PC=3D0xffffffff8193a170] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu0 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800f6b22368 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu0 Write Addr=3D0xfffff800f6b2236= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b217f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b217f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b217f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b217f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b217f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b217f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b219e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b219e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800f6b219e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu0 Write Addr=3D0xfffff800f6b219e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b219e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b217e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b217e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xffffffff836310dc Size=3D1 PC=3D0xffffffff81196f35] [Cpu1 Read Addr=3D0xffffffff836310dc= Size=3D1 PC=3D0xffffffff8119225b] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800f6b217e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu0 Write Addr=3D0xfffff800f6b217e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu1 Write Addr=3D0xffffffff823167a8 Size=3D8 PC=3D0xffffffff81167c71] [Cpu0 Read Addr=3D0xffffffff823167a8 Si= ze=3D8 PC=3D0xffffffff81168706] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu1 Write Addr=3D0xfffff800f6b219f= 0 Size=3D4 PC=3D0xffffffff811fd34f] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b219e8 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b219e= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffff800f6b21968 Size=3D8 PC=3D0xffffffff811fd33e] [Cpu1 Write Addr=3D0xfffff800f6b2196= 8 Size=3D8 PC=3D0xffffffff811fd33e] CSan: Racy Access [Cpu0 Write Addr=3D0xfffffe000852d0c8 Size=3D4 PC=3D0xffffffff8119730a] [Cpu1 Read Addr=3D0xfffffe000852d0c8 Size= =3D4 PC=3D0xffffffff81196e8d] CSan: Racy Access [Cpu1 Write Addr=3D0xfffff800f6b217f0 Size=3D4 PC=3D0xffffffff811fd34f] [Cpu0 Write Addr=3D0xfffff800f6b217f= 0 Size=3D4 PC=3D0xffffffff811fd34f] --=20 You are receiving this mail because: You are the assignee for the bug.=