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 361C22ED151 for ; Tue, 30 Dec 2025 12:24:21 +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=1767097461; cv=none; b=FXDTB9zg14v5PVqJvbOwPzWuLgwHMmW36wHZS7NB5zBP0hgZUern1u4+r+3WeclDi7Nw21iaOHgIQ9Ei8/22jNd8zcsvE0WU2KGFZBCSPCEk5Hz3dQpZu/T+JCMLvLpJe09v1iHgK/w6M0CUr42D8OUYEEMSQimmvifrgmumZ0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097461; c=relaxed/simple; bh=vbXNiQnJErAHp3UJfHNMNyeNONgV4yINvgBnraxzvY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wx5CSsf+PWTQJHLn9dvbrdW/oO9K1ySlJNRVUdwJ3aFz9tax8k74GwNW9GxXwHwZPKp4cHpB8jbjkI/hf3aVCXpWXxjVT6uWs+cnxgtiS5uFamhFWqd7QaGLOhe+c7U0ALjMhtvk23Zb98gUdqhma8jX3U86TyldRyMmWKiK/zg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KAOnfLkq; 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="KAOnfLkq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A85F4C4CEFB; Tue, 30 Dec 2025 12:24:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097461; bh=vbXNiQnJErAHp3UJfHNMNyeNONgV4yINvgBnraxzvY4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=KAOnfLkqwCqpnDvF25crgFsGja4L2gMqCm+l00RjNQGwk7udlnFOpmt+WP4WTNMP0 2y1vE555LE8Bm5EkOVBfeZqcZt1YNHVnk/tjCjEpGlD9AE/w08Y+EeaFX5VYqECqC6 xIv0J4HFKpiI5LSKYrbgpyX2PF+9OWJxkM1lwxQg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50879: objtool: Fix SEGFAULT Date: Tue, 30 Dec 2025 13:23:28 +0100 Message-ID: <2025123024-CVE-2022-50879-47a7@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2270; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=btxju/y7+Mz/f6AQHTfUFoUDuAe2ir665kTC48+f458=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR2yUd3l86zppGH3vsNM9uYeGP2q0jY28v1pOODbx6 I/F834t74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJsOxgWNB4i0Ne7d6ifar3 jtkxhAe85Ffg6maYK/5v2kauphyOIznp66U2LQrk3Tp9LwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: objtool: Fix SEGFAULT find_insn() will return NULL in case of failure. Check insn in order to avoid a kernel Oops for NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2022-50879 to this issue. Affected and fixed versions =========================== Fixed in 5.4.229 with commit 418ef921cce2d7415fab7e3e93529227f239e4bb Fixed in 5.10.163 with commit 0af0e115ff59d638f45416a004cdd8edb38db40c Fixed in 5.15.87 with commit 23a249b1185cdd5bfb6971d1608ba49e589f2288 Fixed in 6.0.17 with commit 38b9415abbd703438ebbc6fb74990bd0fbddc5b9 Fixed in 6.1.3 with commit fcee8a2d4db404a93e690d79e7273b6ef9d33575 Fixed in 6.2 with commit efb11fdb3e1a9f694fa12b70b21e69e55ec59c36 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-2022-50879 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: tools/objtool/check.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/418ef921cce2d7415fab7e3e93529227f239e4bb https://git.kernel.org/stable/c/0af0e115ff59d638f45416a004cdd8edb38db40c https://git.kernel.org/stable/c/23a249b1185cdd5bfb6971d1608ba49e589f2288 https://git.kernel.org/stable/c/38b9415abbd703438ebbc6fb74990bd0fbddc5b9 https://git.kernel.org/stable/c/fcee8a2d4db404a93e690d79e7273b6ef9d33575 https://git.kernel.org/stable/c/efb11fdb3e1a9f694fa12b70b21e69e55ec59c36