From nobody Wed Nov 8 21:52:03 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 4SQf1v4tbXz50R2P for ; Wed, 8 Nov 2023 21:52:03 +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 4SQf1v2qKLz4bPQ for ; Wed, 8 Nov 2023 21:52:03 +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=1699480323; 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=ZGST6tfqwAzZDyvmQQA63Hk91uUvUdIIytddjz/9eaU=; b=Z9/RFECoZ5uJXtVNPDaLZg0eBd6veIYMQa54APu0XcE614UPSsW0zk3jCGcGdYPC7fp64U kB3aiAmutfcCuZzZwXT5bdkwaTggmBqOfpE2lNtKduZL70zHGrGI4KMmRVS/re2cknzP8z zbMRmTP6x5n4P0Z1gLJuGxEhNEI3jXvQbSdofKInGT0cE3UjPJDrVzE99TrHZV3ovXeYaq aNK2fmVmrqpAojTSuCGKmIBHoFZONK3wTUTy8SyHmZMuXL8ANYV4K5aHmVtb+LUKoWs6KN YyxSYuMwreQMRSib05WA4AfvLR04hxLsME6Vxs8OGEqJu5PPEX+uArjE34KEDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699480323; a=rsa-sha256; cv=none; b=wDA6UrxBQpwt6/OL/91LpYGrYQV7b/a7cBG1Dsd5qbIKYq1r1fCGK+q0GmFeicNZUwU49B OQ8zF5Ij9E9c9L2zntPan0V4Dd/fLGyPzYLP+o3br1sEI0cqX/AvU9Z1bj/b1MI4qaxyrf +KIDU4DEa6UUALxq/3Mehe924kDuubfo9ehs6nIzfs3VJoDAbluxKNnMrbF9icKOtcYD6r DmRAWbOTXWvO1/kxbLPSZmlFz96pAh1rZqqNvMpVrxK7Wa2Gs9xw8XIXQGcdqjvK6X9BbB soeaPg9kYH04Uhf0/iXnquiJO7lxJRNcFPsU+QPLL3OymTcweu2LEI3L1Cp7/w== 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 4SQf1v1tQbzqPd for ; Wed, 8 Nov 2023 21:52:03 +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 3A8Lq3O2064253 for ; Wed, 8 Nov 2023 21:52:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A8Lq3FB064252 for bugs@FreeBSD.org; Wed, 8 Nov 2023 21:52:03 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 274968] rpc_clnt_create: The dg_cv variable uses absurdly too much memory Date: Wed, 08 Nov 2023 21:52:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@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: Message-ID: In-Reply-To: References: 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=3D274968 --- Comment #1 from Alan Somers --- AIX is also affected: https://www.ibm.com/support/pages/apar/IY61508 >From inspection, DragonflyBSD and NetBSD are affected. OpenBSD seems to la= ck this functionality. Fedora is affected, or at least it was: https://bugzilla.redhat.com/show_bug.cgi?id=3D1829947 Debian similarly was affected at one point: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1651130.h= tml . HP-UX is affected: https://community.hpe.com/t5/operating-system-hp-ux/system-crash-quot-clnt-= dg-create-out-of-memory-quot/m-p/2982314 . Illumos is _not_ affected, and hasn't been since at least 2005 when github history begins. https://github.com/illumos/illumos-gate/blob/5e90766b81ebd3571c766124cfae6e= e244d7d9d2/usr/src/lib/libnsl/rpc/clnt_dg.c#L4 tirpc is _not_ affected. They fixed it by replacing the array with a linked list. https://git.linux-nfs.org/?p=3Dsteved/libtirpc.git;a=3Dcommit;h=3De7c34df8f= 57331063b9d795812c62cec3ddfbc17 Also, for search engines' sake, I misspelled the name of the function in the OP. It should've been "clnt_dg_create". --=20 You are receiving this mail because: You are the assignee for the bug.=