blob: 15079e725a7932f2b1472fe577b131a9ef158291 [file] [log] [blame]
From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: <linux-cve-announce@vger.kernel.org>
Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: CVE-2024-49853: firmware: arm_scmi: Fix double free in OPTEE transport
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scmi: Fix double free in OPTEE transport
Channels can be shared between protocols, avoid freeing the same channel
descriptors twice when unloading the stack.
The Linux kernel CVE team has assigned CVE-2024-49853 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.18 with commit 5f90f189a052f6fc46048f6ce29a37b709548b81 and fixed in 6.1.113 with commit d7f4fc2bc101e666da649605a9ece2bd42529c7a
Issue introduced in 5.18 with commit 5f90f189a052f6fc46048f6ce29a37b709548b81 and fixed in 6.6.54 with commit 6699567b0bbb378600a4dc0a1f929439a4e84a2c
Issue introduced in 5.18 with commit 5f90f189a052f6fc46048f6ce29a37b709548b81 and fixed in 6.10.13 with commit dc9543a4f2a5498a4a12d6d2427492a6f1a28056
Issue introduced in 5.18 with commit 5f90f189a052f6fc46048f6ce29a37b709548b81 and fixed in 6.11.2 with commit aef6ae124bb3cc12e34430fed91fbb7efd7a444d
Issue introduced in 5.18 with commit 5f90f189a052f6fc46048f6ce29a37b709548b81 and fixed in 6.12 with commit e98dba934b2fc587eafb83f47ad64d9053b18ae0
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-49853
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/firmware/arm_scmi/optee.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/d7f4fc2bc101e666da649605a9ece2bd42529c7a
https://git.kernel.org/stable/c/6699567b0bbb378600a4dc0a1f929439a4e84a2c
https://git.kernel.org/stable/c/dc9543a4f2a5498a4a12d6d2427492a6f1a28056
https://git.kernel.org/stable/c/aef6ae124bb3cc12e34430fed91fbb7efd7a444d
https://git.kernel.org/stable/c/e98dba934b2fc587eafb83f47ad64d9053b18ae0