[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024120246-CVE-2024-53106-8432@gregkh>
Date: Mon, 2 Dec 2024 14:52:45 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53106: ima: fix buffer overrun in ima_eventdigest_init_common
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ima: fix buffer overrun in ima_eventdigest_init_common
Function ima_eventdigest_init() calls ima_eventdigest_init_common()
with HASH_ALGO__LAST which is then used to access the array
hash_digest_size[] leading to buffer overrun. Have a conditional
statement to handle this.
The Linux kernel CVE team has assigned CVE-2024-53106 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.19 with commit 9fab303a2cb3 and fixed in 6.1.119 with commit e01aae58e818
Issue introduced in 5.19 with commit 9fab303a2cb3 and fixed in 6.6.63 with commit 8a84765c62cc
Issue introduced in 5.19 with commit 9fab303a2cb3 and fixed in 6.11.10 with commit 1ecf0df5205c
Issue introduced in 5.19 with commit 9fab303a2cb3 and fixed in 6.12 with commit 923168a0631b
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-53106
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:
security/integrity/ima/ima_template_lib.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/e01aae58e818503f2ffcd34c6f7dc6f90af1057e
https://git.kernel.org/stable/c/8a84765c62cc0469864e2faee43aae253ad16082
https://git.kernel.org/stable/c/1ecf0df5205cfb0907eb7984b8671257965a5232
https://git.kernel.org/stable/c/923168a0631bc42fffd55087b337b1b6c54dcff5
Powered by blists - more mailing lists