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 E132516EB46 for ; Fri, 12 Jul 2024 12:28:45 +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=1720787326; cv=none; b=DtJtZZFJ2d7K29uZEJ17NbZDII0re3w2FH5uQbavgEzsHW6VzrEQSirQU0K4FA1UoEqApjnBHbT+Yw4it7gXLUMGHgN6d/ywRWwuky+T58tIfS8CGG/zYbghjoughtU3iN2WXyksosTo6X40RHJUODfNy5AIf18HPso8mOvgbn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787326; c=relaxed/simple; bh=h+UrEEeo8d31F/VmPNiJvl2ZY60hZnkcA+UEGLumV04=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AZCLCA+uvbZJr6cwoaDYizJ4FRfK2MS8MSwn4jRP4gk24ZoS2l3QsZN3JOOyvvsV8JqoHT6e8zYMSSwyp5IV8du/qSrx4jBcH85I/fC9qW6Kan2CrBshcVxEVw56ZA0QaOal70j++LcoCQv8pqHZUwN7WojcheKqsTGjDo/QCDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VWwU3bnm; 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="VWwU3bnm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61A15C32782; Fri, 12 Jul 2024 12:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787325; bh=h+UrEEeo8d31F/VmPNiJvl2ZY60hZnkcA+UEGLumV04=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VWwU3bnmvmOABQa3+pDzkuq5FyATS3fAZwcQ5YOt/+XaNs0RI5D3vdKRvgdl2Zs54 jRLG8ckeIQEJqGXBefBKiO6BmIHkXm+SsW8+rM+mBTg446fX9ui72i+74IQATkI9w5 BZQh2YBoneois2Xs6x0baaUvF1quPqfbC0v+Qhf0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40934: HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode() Date: Fri, 12 Jul 2024 14:27:32 +0200 Message-ID: <2024071216-CVE-2024-40934-477a@gregkh> X-Mailer: git-send-email 2.45.2 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=2714; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h+UrEEeo8d31F/VmPNiJvl2ZY60hZnkcA+UEGLumV04=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTFVWvL/tq9GrLqbQXmU1V/+cFfL3wLeZEo8HuxjWL1 RVC6s94dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBENk1gWND6I0BQVFSswWJ9 hOBW0U95/UxHBBkWLBRfH7r6/TqPq9X/2jhaO7Yac2XEAQA= 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: HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode() Fix a memory leak on logi_dj_recv_send_report() error path. The Linux kernel CVE team has assigned CVE-2024-40934 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.257 with commit cf48a7ba5c09 and fixed in 5.4.279 with commit 15122dc140d8 Issue introduced in 5.10.195 with commit e38a6f12685d and fixed in 5.10.221 with commit caa9c9acb93d Issue introduced in 5.15.132 with commit 4fb28379b3c7 and fixed in 5.15.162 with commit a0503757947f Issue introduced in 6.1.53 with commit 6e5960954151 and fixed in 6.1.95 with commit 789c99a1d7d2 Issue introduced in 6.6 with commit 6f20d3261265 and fixed in 6.6.35 with commit f677ca8cfefe Issue introduced in 6.6 with commit 6f20d3261265 and fixed in 6.9.6 with commit 1df2ead5dfad Issue introduced in 6.6 with commit 6f20d3261265 and fixed in 6.10-rc3 with commit ce3af2ee9517 Issue introduced in 6.4.16 with commit 144becd79c19 Issue introduced in 6.5.3 with commit 00ab92481d3a 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-2024-40934 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/hid/hid-logitech-dj.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/15122dc140d82c51c216535c57b044c4587aae45 https://git.kernel.org/stable/c/caa9c9acb93db7ad7b74b157cf101579bac9596d https://git.kernel.org/stable/c/a0503757947f2e46e59c1962326b53b3208c8213 https://git.kernel.org/stable/c/789c99a1d7d2c8f6096d75fc2930505840ec9ea0 https://git.kernel.org/stable/c/f677ca8cfefee2a729ca315f660cd4868abdf8de https://git.kernel.org/stable/c/1df2ead5dfad5f8f92467bd94889392d53100b98 https://git.kernel.org/stable/c/ce3af2ee95170b7d9e15fff6e500d67deab1e7b3