Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 392F414389D for ; Tue, 21 May 2024 15:07:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716304075; cv=none; b=Seqe9G34eR1gvZ45Gbe0Lx6iLliMIKNDGRIM+ccOw3eNxx6I1f3TG86P2lgDv1hPMQiY3izHoZLCnrv9tJJAD6Yve44I+L8he50N3ASx3CtrZrZ98m+aOZoKo+PVF5s11Ph7MvVfvh0navcLyXC2GiufA5JhwhGx1Mpg6LJ6Ts0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716304075; c=relaxed/simple; bh=/xSRl5P5qHo0N8ARfBJ49H2T7Fie5nGXVb0iCMm9GMQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Rlp1CeCuaRCAtjDcdK+sqGVLmNv+ayaJJLnGW67612dIMbdKuW//uiekYXHbHLU0GouEPsAS4nW9D+cgQ/+wnA17oYgmd6GZyLD7nmq6tpulYki7T6W9d6mmAVkloqUiLzOvJGlGqD4LzmdWVAjrILjTNxdeRv0pQQSV8OjkXAw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N6SOHWGx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="N6SOHWGx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8677C2BD11; Tue, 21 May 2024 15:07:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716304075; bh=/xSRl5P5qHo0N8ARfBJ49H2T7Fie5nGXVb0iCMm9GMQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=N6SOHWGxgDrSCszSNIHrYtGADkOpagvSl+Cji/v9r1nd0Li7BR5s68BOxF+ddyMMN Vspv60AbGf4dWINssxn3cYppTzj3lP41oW8shlewgPgUXo0IzNKU9ERl+a+AHdkFLU NYQGMLBAn6EwcDCZ9YIEa4EnfdfsaE3677/umBSM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47403: ipack: ipoctal: fix module reference leak Date: Tue, 21 May 2024 17:04:20 +0200 Message-ID: <2024052150-CVE-2021-47403-b338@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2932; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/xSRl5P5qHo0N8ARfBJ49H2T7Fie5nGXVb0iCMm9GMQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+2689amKbPivybJX+qoaFst+sJZp+RH36v8XqhOM27 3DHh9vOdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/OMY5gd12PQFz7c4W3U3 +lX+VMHY/8rT/zAsaArwis0pffR1x3y3s6t/hOkF9x1bAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ipack: ipoctal: fix module reference leak A reference to the carrier module was taken on every open but was only released once when the final reference to the tty struct was dropped. Fix this by taking the module reference and initialising the tty driver data when installing the tty. The Linux kernel CVE team has assigned CVE-2021-47403 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 4.4.286 with commit 31398849b84e Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 4.9.285 with commit c0adb5a947de Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 4.14.249 with commit dde4c1429b97 Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 4.19.209 with commit 9c5b77a7ffc9 Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 5.4.151 with commit 3253c87e1e5b Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 5.10.71 with commit 7cea84867847 Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 5.14.10 with commit 811178f296b1 Issue introduced in 3.18 with commit 82a82340bab6 and fixed in 5.15 with commit bb8a4fcb2136 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2021-47403 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/ipack/devices/ipoctal.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/31398849b84ebae0d43a1cf379cb9895597f221a https://git.kernel.org/stable/c/c0adb5a947dec6cff7050ec56d78ecd3916f9ce6 https://git.kernel.org/stable/c/dde4c1429b97383689f755ce92b4ed1e84a9c92b https://git.kernel.org/stable/c/9c5b77a7ffc983b2429ce158b50497c5d3c86a69 https://git.kernel.org/stable/c/3253c87e1e5bc0107aab773af2f135ebccf38666 https://git.kernel.org/stable/c/7cea848678470daadbfdaa6a112b823c290f900c https://git.kernel.org/stable/c/811178f296b16af30264def74c8d2179a72d5562 https://git.kernel.org/stable/c/bb8a4fcb2136508224c596a7e665bdba1d7c3c27