4VkVHM6kj3z4Zy5 for ; Tue, 21 May 2024 22:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716332351; a=rsa-sha256; cv=none; b=DBF5af1KQA7r1Lo6uVUdcjpsS2NLheKeDfnjk3lHyV2uwQaYaaXk0qM1TLkYnX3RnMAIBk CYju/YU1CjgqnkmzcEEo90CmsZw/BOL+fO5BKi7VTRyiZjjH+xpl2n6zeS8yHrJpzkunIW ogcleNEpens4CupJaP0Ok8IueIWluYyEoDaZ761rUnBWotUMOAX9q7pw3u2BdkHkjbf0FV 6lysJM1hpjiYLhfMeKbc+R49VoHWGzMzoX+0QVVAj0I1BBbM0TDMAOhuEcQRsxJwPYHWA5 OOoVqB9JUiPFsgPPwICt9bjnOe5G1LJI7FYPaxt2HZjeM2HU9BtAnXo7+fCb+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716332351; 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=/LIqN0DFepBAh52Y5X1IOUZizOOm0J4kWKNVtoXsKMM=; b=tz7vz7WFMAim8/4kmV7ThtR2hxLovhV1WRHBwWkfwh/uatWyyBXiKn4+XbatELtbkTi7SK MHwz45TqasCp24q6fORqK7suRda08DnILFzE9XXM052PPOeVBY5M6eJ7VgKXMO4DX2q+H4 WToiIdXMf3ebYQ0bF8qZ6ZATSPidtxIGGE0YYFapgQpmme/n3TxAoTK7g7SGnL1msygwO4 8/9YRTxYbYDJ4PiTtjcm3SKvgXPc6XUDaGB20T2+1M9tIO1VKmAp4G/g52L3dUsqbCbYYN v+AZO9LSBgWtGFGGvgrbZgl2A5DRFTrxILZf4844hDNJaCev7BS6UI1c6TDQ1w== 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 4VkVHM60w5zh6t for ; Tue, 21 May 2024 22:59:11 +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 44LMxBeM023951 for ; Tue, 21 May 2024 22:59:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44LMxBgd023950 for bugs@FreeBSD.org; Tue, 21 May 2024 22:59:11 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 279208] filling up arp table with static entries can lead to crash Date: Tue, 21 May 2024 22:59:11 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin@bxlr.sk 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=3D279208 Bug ID: 279208 Summary: filling up arp table with static entries can lead to crash Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: martin@bxlr.sk Loading arp table with the arp -f command leads to a panic. Sometimes panic occurs immediately, sometimes after loading more entries (more subnets or w= ider subnet). Executing few arp -a processes and waiting few minutes does lead to panic too. To reproduce I've created an alias on interface and a list of dummy entries: # ifconfig em0 alias 172.17.1.1/24 # cat 1list 172.17.1.2 13:01:00:00:00:02 172.17.1.3 13:01:00:00:00:03 ... 172.17.1.255 13:01:00:00:00:ff # arp -f 1list # ps axl |grep arp 0 842 820 1 20 0 12956 2688 sbwait I+ 0 0:00.02 arp -a Those entries that arp command did show have obvious overflow: # arp -an ? (172.17.3.254) at 13:03:00:00:00:fe on em0 expires in -1716331940 seconds [ethernet] ? (172.17.3.222) at 13:03:00:00:00:de on em0 expires in -1716331940 seconds [ethernet] Sleeping thread (tid 100853, pid 0) owns a non-sleepable lock KDB: stack backtrace of thread 100853: #0 0xffffffff80b5028b at mi_switch+0xbb #1 0xffffffff80b4fa00 at _sleep+0x1f0 #2 0xffffffff80ba6c11 at taskqueue_thread_loop+0xb1 #3 0xffffffff80afdb7f at fork_exit+0x7f #4 0xffffffff80fe4b2e at fork_trampoline+0xe panic: sleeping thread cpuid =3D 1 time =3D 1716332236 KDB: stack backtrace: #0 0xffffffff80b9009d at kdb_backtrace+0x5d #1 0xffffffff80b431a2 at vpanic+0x132 #2 0xffffffff80b43063 at panic+0x43 #3 0xffffffff80ba8e9e at propagate_priority+0x29e #4 0xffffffff80ba99e4 at turnstile_wait+0x314 #5 0xffffffff80b3e9c9 at __rw_rlock_hard+0x279 #6 0xffffffff80d8c2af at dump_lle+0x1f #7 0xffffffff80c6c38c at htable_foreach_lle+0x5c #8 0xffffffff80d8c234 at dump_llts_iface+0x54 #9 0xffffffff80d8bfcd at rtnl_handle_getneigh+0x20d #10 0xffffffff80d882d2 at rtnl_handle_message+0x132 #11 0xffffffff80d85c0b at nl_taskqueue_handler+0x79b #12 0xffffffff80ba5992 at taskqueue_run_locked+0x182 #13 0xffffffff80ba6c22 at taskqueue_thread_loop+0xc2 #14 0xffffffff80afdb7f at fork_exit+0x7f #15 0xffffffff80fe4b2e at fork_trampoline+0xe Uptime: 4m49s --=20 You are receiving this mail because: You are the assignee for the bug.=