From nobody Tue Sep 06 16:58:13 2022 X-Original-To: net@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 4MMWmP3S3fz4cCVN for ; Tue, 6 Sep 2022 16:58:13 +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 4MMWmP2P11z3RR2 for ; Tue, 6 Sep 2022 16:58:13 +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 4MMWmP1STQzF1j for ; Tue, 6 Sep 2022 16:58:13 +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 286GwD9a030643 for ; Tue, 6 Sep 2022 16:58:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 286GwDth030642 for net@FreeBSD.org; Tue, 6 Sep 2022 16:58:13 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: net@FreeBSD.org Subject: [Bug 264055] bhnd(4): null pointer dereference in bhnd_erom_iores_new() Date: Tue, 06 Sep 2022 16:58:13 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662483493; 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=mePI9MFBDwUthGQu6eEceIP4DmUY9II7JUD3NN9QhVo=; b=UQahLIYWEv78mYtj/TdZVPML5Qnv8vJarQexOzmajQQGs5CblYlNjrCWaG4G08EDYnNN4x MfD6h3aoz/hfEGIx1DikLcZW842KQyDS6MwzhQzPUCFPyOjZmkNzP6Pv+BbDZuMYeYGPdM OOUUIz2ceFdPc7IV6jtYNRULYV4qObyWFcy7L60nTe/RBQ7CRJrPz5x/PAxVDfyVxAmhx4 JK7/6W4DN2s53APgxy5pwBGZC5vS4QJwMMlcfa0JEFcfBdNBlz5jiFHYe67pJ6nlRj3JeK fG5KC5flRAbgp1vLeNCZJ8tnaoDkvydtwWOqk8TuqGw/xaS32fKkvrqYgyRIsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662483493; a=rsa-sha256; cv=none; b=c73rISaZ53oFwu7a9n3Csgh9wY1nhvW29HMmdsMSjeVCVBV7ZJTScUibtOxBibqpxbQD00 HjyIoPj3rDcjLLlet+meaWglIwZ5hoTcKQ91IHJxY68mmlXSwNIy/p2kaUBezSFSfXyke6 OfgGYtCWtMX0saJavjEyYqddDHgGrCjnIsKsHTqwq+5PJbRR1nAVXJkCWNOs5Ci3Vo2yV+ zZpMwWtTFcgU7cB475LEOVQUdlas0A/Du2Ef2UWut7cH5HEl6dzTihrAMxAyyqAm3lu0Vv KoN4GuRzFIuELa5tttIa0PLLYvMQe1sTcIA3x4a0rybUOy9PmoTolXVds/L90Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264055 --- Comment #2 from Ed Maste --- Note this from the malloc(9) man page: M_WAITOK Indicates that it is OK to wait for resources. If the request cannot be immediately fulfilled, the current process is put to sleep to wait for resources to be released by other processes. The malloc(), mallocarray(), realloc(), and reallocf() functio= ns cannot return NULL if M_WAITOK is specified. If the multiplication of nmemb and size would cause an integer overfl= ow, the mallocarray() function induces a panic. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=