From nobody Thu Aug 24 12:46:05 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 4RWjW16yXjz4r7Dd for ; Thu, 24 Aug 2023 12:46:05 +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 4RWjW14vdKz3ZBB for ; Thu, 24 Aug 2023 12:46:05 +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=1692881165; 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=cLvRbHBH+NnL71spU7axQlDaVWAv66ET9iHndrFGxPc=; b=c/Ri+9UMaJkGXa7ZHRT9QynFq6X9BbZL7iZDAYTmqrYFttqbjNZ0FBO7cDp7fsJI4QpHoW yfhX/aUdBQU+6ZuDOzctZ0TFhJbjTecXjYtaZXlquDcIAxaIKuWZk+hN4gjxzohScLwpRb pnVmslpBIJRKwGuLz9s6nEUIuC6cv8KltlyqbaTDbqgnsCInYxDf5K5chmcHdxDaLTXzez tPL7b6sCyfBEKl5VbA4KOqgqolatK91fs1k4rBkP3mYOH3rPhBiO6LdmSd/mw3029LY79h E4n8g9gfK0h1FitO2JdmawlF5GdoOkGeiZxf7fCbBY9ep2QkWZIXKWRftKs7CQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692881165; a=rsa-sha256; cv=none; b=YFrSLx8m3dVSQzdpF5ImBLa3MRZOX2Rf38ZtWYlG8pyae0W7X6NS7ElyR2oqkyA3BrJYXf Lxt3Og0VbVgOnwe+cz37y/qO7e3e5PRgct+YN/WAXGToMgeAbMMytoZ5Sc+cwh2IWZr4pt +oA73J7g1VJStmVe3MZu0Ixkb+B/Fb4/FFA9sHg9yqnVDx9xQYJHgOylfTWCCGLwEJEJTl fg4Eztct//XpLAIG3IvGRACBvExYZDK8SMUlvDTji/25T2ZPkYGKVvdNb1khVRw0wgFE/F xZ6T5pzlytwdLxrTP8ZTW1x4ps1oMBFw6BvRNZJ1TGOSCBpbd+runfj+XQ1MwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RWjW140DfzCdm for ; Thu, 24 Aug 2023 12:46:05 +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 37OCk5fV096993 for ; Thu, 24 Aug 2023 12:46:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37OCk5jD096992 for bugs@FreeBSD.org; Thu, 24 Aug 2023 12:46:05 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 273328] [Security] Array index error in sys/dev/iir/iir.c Date: Thu, 24 Aug 2023 12:46:05 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: thresh416@outlook.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=3D273328 Bug ID: 273328 Summary: [Security] Array index error in sys/dev/iir/iir.c Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: thresh416@outlook.com Branch stable/13, releng/13.0, releng/13.1, releng/13.2 What is the security issue or vulnerability? Array index error may occur in int gdt_read_event (int handle,gdt_evt_str *estr) in sys/dev/iir/iir.c. If handle is set as a negative integer but not -1, it will be passed to ein= dex , which is used in e =3D &ebuffer[eindex]; at line 1862, which results in an array index error. However, handle isn't constrained by any caller of this function. The vulnerability bears similarity to CVE-2009-3080, which means it may cau= se a denial of service or possibly gain privileges via a negative event index in= an IOCTL request. Security issue or vulnerability information CVE-2009-3080's description:https://nvd.nist.gov/vuln/detail/CVE-2009-3080 CVE-2009-3080's patch commit:https://github.com/torvalds/linux/commit/690e744869f3262855b83b4fb59= 199cf142765b0 --=20 You are receiving this mail because: You are the assignee for the bug.=