From nobody Wed Sep 07 00:54:36 2022 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 4MMkL471W2z4c5ch for ; Wed, 7 Sep 2022 00:54:36 +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 4MMkL461d2z3DNf for ; Wed, 7 Sep 2022 00:54:36 +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 4MMkL4567kzMB6 for ; Wed, 7 Sep 2022 00:54:36 +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 2870sa46094162 for ; Wed, 7 Sep 2022 00:54:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2870sa0v094161 for bugs@FreeBSD.org; Wed, 7 Sep 2022 00:54:36 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 266136] ctl_ioctl() passes user-supplied size directly to kernel malloc() -> potential crash Date: Wed, 07 Sep 2022 00:54:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: mav@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662512076; 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=PhouF/Kvje8LDwybVle9YlarqfRe/b7ItOkopg584bM=; b=OIcZwAHlt8mRzuj/MVMuHmInxkYfI4Hnvz07szkP/BiCc3cumVRZJH/CwCx7WAmaAaNBMa a+yrO8resw6kPM8+wK21KCgzfyWI9UuV5QpSYSjwPyeHiGs7/ZvFlgXVtUnZogJl94KI6L WpSzCQL/4E+FyqRlCs8ST94fQddlqTTYCxv6Ws5qCGrXzwkvNwGsHWNiX9g+eLLLzG7Mfj OrIwipw0nyXJ6PTbzM4aksXdFwu5PEdBoHcMKh9FXmNvH39t0OwggXxwsMKUd6jNNfzoh3 sqZZMCa/IIJIoJkbrj/UfkbOkOF1HxIGkWh/0xUQGHgsc+nVz1liRQsXCxDB7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662512076; a=rsa-sha256; cv=none; b=rFuYb7fWeZcyS9rcvWKAJw1CYdUlWTkA+qLyhxBs+KzsbOMB8c9g4/jo33iyJFZSQzZ6I2 NQ30CvmxNb5PwwQ9+qKbiKTya/VrN61+aKq1YnJj7rZBUt2x9Q0h4/JgY617csG/cgI1Uj GSNBfwTujMLB+wDK6VGp0+NjfI/HaOeOWUIgwSoTqqfkBa3lIbEAA9janAsRp6jTEaYkwH ZsEzCc8f+dNyo8fqzUMysQQWexy7BlRH2XyxD9jcrFUIG/FfsUyaY+CIiQpl7oiyvfhWva FI67XyY410Z5gNyYOl8LJQ6EAws4FW8O4hKX8LLy1o3J17OveEYvzOtYRAWrTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266136 Alexander Motin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #1 from Alexander Motin --- This device is available only to root user, so it is a form of foot shootin= g.=20 But OK, I'll patch it. --=20 You are receiving this mail because: You are the assignee for the bug.=