blob: a98dcc712439f19e730150761298c5c1f12b12ec [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-53162: crypto: qat/qat_4xxx - fix off by one in uof_get_name()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
crypto: qat/qat_4xxx - fix off by one in uof_get_name()
The fw_objs[] array has "num_objs" elements so the > needs to be >= to
prevent an out of bounds read.
The Linux kernel CVE team has assigned CVE-2024-53162 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.6.64 with commit 05c9a7a5344425860202a8f3efea4d8ed2d10edb
Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.11.11 with commit e69d2845aaa080960f38761f78fd25aa856620c6
Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.12.2 with commit 700852528fc5295897d6089eea0656d67f9b9d88
Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.13 with commit 475b5098043eef6e72751aadeab687992a5b63d1
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-53162
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/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.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/05c9a7a5344425860202a8f3efea4d8ed2d10edb
https://git.kernel.org/stable/c/e69d2845aaa080960f38761f78fd25aa856620c6
https://git.kernel.org/stable/c/700852528fc5295897d6089eea0656d67f9b9d88
https://git.kernel.org/stable/c/475b5098043eef6e72751aadeab687992a5b63d1