Skip to contentSkip to conversation

CVE-2023-54222: hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 30, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()

The "map_sz" is the number of elements in the "m" array so the > comparison needs to be changed to >= to prevent an out of bounds read.

The Linux kernel CVE team has assigned CVE-2023-54222 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.19 with commit 09574cca6ad649f84ba804caf63a5aefe0202834 and fixed in 6.1.28 with commit fed87ce073c7b9f4f255105f90bd930df06d18a7
	Issue introduced in 5.19 with commit 09574cca6ad649f84ba804caf63a5aefe0202834 and fixed in 6.2.15 with commit aedc364a7c9cd2fb45b4f7c0a41c98365369ff46
	Issue introduced in 5.19 with commit 09574cca6ad649f84ba804caf63a5aefe0202834 and fixed in 6.3.2 with commit 2a488602e3f09ef9e50feb5448ae46515a6fa789
	Issue introduced in 5.19 with commit 09574cca6ad649f84ba804caf63a5aefe0202834 and fixed in 6.4 with commit e078180d66848a6a890daf0a3ce28dc43cc66790

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-2023-54222

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/hte/hte-tegra194.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/fed87ce073c7b9f4f255105f90bd930df06d18a7
	https://git.kernel.org/stable/c/aedc364a7c9cd2fb45b4f7c0a41c98365369ff46
	https://git.kernel.org/stable/c/2a488602e3f09ef9e50feb5448ae46515a6fa789
	https://git.kernel.org/stable/c/e078180d66848a6a890daf0a3ce28dc43cc66790