From nobody Fri Oct 27 15:01:16 2023 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 4SH5TT4DHgz4yLFf for ; Fri, 27 Oct 2023 15:01:17 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SH5TT09hXz4cgR for ; Fri, 27 Oct 2023 15:01:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698418877; 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; bh=sD2OJ48QOrZKqsg8GiqkTafOw51xUhlp3vuVoGclbww=; b=F9a0kur2vNHxMlTGJRvYBN0VBsgEQBy0ekscefv+G4ojqQUk3I2FXrp/ZYrOWIgVV937ix +m3M9LaKvT5YWXXv77YEgM60mhzABbthYV1p03NNnEKqbRH5yhM8SvcbWKuVI+No2/mEu9 HzX0nopl129nGdhpAUnLVSVRaT9wyWc2nVKmTtDgFraXFZEwCG9wR549IL59cgV7k3Bp/C 7mKiLZdFIhoUf31KL10mvmzL6bVkNlcW89MUgCmAOfg2p8OaKvnl+M+x5of/ekcV38bMt+ lKVQzaWnkG2bRY1wxNHQimSf0qWVJ7YgddWQ+WYxg57Qd5ED+50DOR/Bqu9Lfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698418877; a=rsa-sha256; cv=none; b=cme49TPqVuSI4UoCzot1BNbz88WXYZqwFtUhq3fmU0/0XoVDme+fsU8g4g4E3pwVaGbmXy 4FqyUc7e1C7qCvHAcVHmI77tLP9eHU7/mm3sDz4sBsjI0R3opIrQdEPNRknVd/wuGnxojc oJzNsKRaPBf0g7T0MayszENUswkJ+5dWp28WNmVmDGvMUiB4CsDZpZesFf/JfX8Qdkt+Dk wWM8WI4oYN2owE1mLZA4CtQMTpaVf1kQ4QcQ7j2wE/ajK8B2QU4qECBEIog6hLsNXBWZdR ZlYL3ub6PZlJwuv9K+gEzfyYj3SNIZMjN4qcNBzDxCc2sl7MDp3PavPM1I9nyA== 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 4SH5TS6Mp7z3gx for ; Fri, 27 Oct 2023 15:01:16 +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 39RF1G0q029636 for ; Fri, 27 Oct 2023 15:01:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39RF1Gpl029634 for bugs@FreeBSD.org; Fri, 27 Oct 2023 15:01:16 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 274755] [ip6][lor] Witness reported lor on ipv6 add_m6if Date: Fri, 27 Oct 2023 15:01:16 +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 Only Me X-Bugzilla-Who: luc.techer64@gmail.com 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 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=3D274755 Bug ID: 274755 Summary: [ip6][lor] Witness reported lor on ipv6 add_m6if Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: luc.techer64@gmail.com While investigating this issue (https://redmine.pfsense.org/issues/12079) o= n my system, I came accross the following LOR which looks very similar to the one that was patched but for IPv6 multicast. This is systematically reported during the boot but as not caused a panic y= et (contrary to the IPv4 equivalent LOR), maybe because I don't have any IPv6 multicast traffic on my network. lock order reversal: (sleepable after non-sleepable) 1st 0xffffffff8243d2d8 IPv6 multicast interfaces (IPv6 multicast interface= s, sleep mutex) @ /root/pfsense_project/FreeBSD-src /sys/netinet6/ip6_mroute.c:679 2nd 0xfffff8000172a978 iflib ctx lock (iflib ctx lock, sx) @ /root/pfsense_project/FreeBSD-src/sys/net/iflib.c:4340 lock order IPv6 multicast interfaces -> iflib ctx lock attempted at: #0 0xffffffff80cf8c0c at witness_checkorder+0xbcc #1 0xffffffff80c980e3 at _sx_xlock+0x63 #2 0xffffffff80dec89a at iflib_if_ioctl+0x2da #3 0xffffffff80dba87e at if_setflag+0xde #4 0xffffffff80f5700c at X_ip6_mrouter_set+0xbac #5 0xffffffff80d31297 at sosetopt+0xf7 #6 0xffffffff80d361ad at kern_setsockopt+0xad #7 0xffffffff80d360f4 at sys_setsockopt+0x24 #8 0xffffffff8125661e at amd64_syscall+0x12e #9 0xffffffff81228c6b at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=