Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2554255pxb; Fri, 17 Sep 2021 12:31:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS3K3v9riWfxuWamP/2Spdkt2jL+dwhfdyFE48JlNBjBbeB/U6IBorJr7PK6qxFDKM28Rb X-Received: by 2002:aa7:da93:: with SMTP id q19mr14610081eds.206.1631907070909; Fri, 17 Sep 2021 12:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631907070; cv=none; d=google.com; s=arc-20160816; b=RoPhV9YvHOQARfl8jV6Zg1hyUc9ezApLQNganqSiQXW2sPKjt1RDLEdKiU9QeHo9Ht 7LsU+ef3QztPid6Hc9/7KtkjgvVrrekdBkZG+svdMpCuwN+9l/mgwU3kwq/tC1JPQ7nk uiq6BC6nJJZJUwKzO3+SdrH/j1i4b7XRtu6ogBBo0WurW1ocJKCb73nJBIp5+zHH3DNQ BkjHdnIed68If2GiHoxyUVn9v9t4wmZO2NrIpypfekGUrTpVAS2p2XpZUG3i3dnRS4Mc Xj2/HbNyv7cDZ+l2dh3Ho9MYFBZDUyLtx0DNCuSbnD7vAZAEA526b5lvt57PrcTnwWWN /zRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=f6JqyFod1BsqdKDeNwJIl1IA62r/0xEMIf1Ww1Drpc4=; b=x6pLyW7i4c6VquAtiZNF/u8Yuq5cG5PnWjDUP/nVn334rKdPexxtoAjKdH9OmThCIb 3GTrDSNTI73OgRD/ySNCjPIrc10Ih/OBk8xNiDnNm13wC5L6ZRsMEHUvA/etLe9KIH3x KJXs7LlpxtYZmqiaIaryOMhl90/2G7s4JpC8BKxpgFdZupTSZFvaMtrfrcYPP/CmHJLw qa9kbRmsCJ9eiX5I52yRsCXiJrWDEqA/m3MumOtUUR6lme2oSX6V6QeqAXoPNN+LC3e1 pUpWvYfluwBtTXP8jpI0wpU+5rtGpRvODgSehmY2AA3GIp/zsxCwOO4H/EIsEb2mnUPk 5UhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRa0K618; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si8300848edr.267.2021.09.17.12.30.46; Fri, 17 Sep 2021 12:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRa0K618; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242141AbhIQLvb (ORCPT + 99 others); Fri, 17 Sep 2021 07:51:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:34186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242149AbhIQLv0 (ORCPT ); Fri, 17 Sep 2021 07:51:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 14BF361241; Fri, 17 Sep 2021 11:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631879404; bh=19iJui3Wb9/G6Xw/hWHtbTl0GlH1HsEhxOEVYM8MrZw=; h=From:To:Cc:Subject:Date:From; b=kRa0K618nTe0qm9rF4hUUiGNPYy89r5aZNgKA0ROnqJV4t2QW8PlxhmVHJs0UgdEB Vzxvh4VuWAwRgrmAJZzdUdGpw+eNLDjCSsgbY5rQC/qghKVk/Nq3rRTMppPsnw8xzw IrWvGoF8F/kqAYzck5LfrvyHLgVtdixmy6tX1rrE0iP2ntlxI/Wdi/r4mZp1LKGHwD IWZ99Q5KHJeQNsEN3W7pn7JYUbnwQSqhjS3sKJrG5yHGugPaCPQUgTnynjqZacYQbX lGRn4QODA7bEXPJDlPf/Q5X/xqrKqhxp5Jj4Blzt6fl+nGbAwvMNMCfgSbroH7IEV8 elmLVWVofGl4w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1mRCNZ-0001RN-Go; Fri, 17 Sep 2021 13:50:05 +0200 From: Johan Hovold To: Samuel Iglesias Gonsalvez , Jens Taprogge , Greg Kroah-Hartman Cc: industrypack-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/6] ipack: ipoctal: fix info leak and other bugs Date: Fri, 17 Sep 2021 13:46:16 +0200 Message-Id: <20210917114622.5412-1-johan@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes a stack info leak and a number of other bugs all found through inspection. Included is also a related cleanup. Note that the series has only been compile tested. Johan Johan Hovold (6): ipack: ipoctal: fix stack information leak ipack: ipoctal: fix tty registration race ipack: ipoctal: fix tty-registration error handling ipack: ipoctal: fix missing allocation-failure check ipack: ipoctal: fix module reference leak ipack: ipoctal: rename tty-driver pointer drivers/ipack/devices/ipoctal.c | 101 +++++++++++++++++++++----------- 1 file changed, 66 insertions(+), 35 deletions(-) -- 2.32.0