Skip to contentSkip to conversation

CVE-2023-53598: bus: mhi: host: Range check CHDBOFF and ERDBOFF

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 4, 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:

bus: mhi: host: Range check CHDBOFF and ERDBOFF

If the value read from the CHDBOFF and ERDBOFF registers is outside the range of the MHI register space then an invalid address might be computed which later causes a kernel panic. Range check the read value to prevent a crash due to bad data from the device.

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

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

	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 5.10.192 with commit 372f1752b74572b0a9d2288841eab7db17daccae
	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 5.15.112 with commit 2343385fe6eed11d0432ab42a97b3ca4aef06a99
	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 6.1.28 with commit a2cbb1a45a0c86ce77839c0875414efe1a89315e
	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 6.2.15 with commit 83bf6b87e2dd053d95d89eb2f01ae885f9e568db
	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 6.3.2 with commit 4e584127ec2bd42a37c88badb49df409f21fa40a
	Issue introduced in 5.7 with commit 6cd330ae76ffd5c8f6294c423cabde7eeef1b40c and fixed in 6.4 with commit 6a0c637bfee69a74c104468544d9f2a6579626d0

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-53598

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/bus/mhi/host/init.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/372f1752b74572b0a9d2288841eab7db17daccae
	https://git.kernel.org/stable/c/2343385fe6eed11d0432ab42a97b3ca4aef06a99
	https://git.kernel.org/stable/c/a2cbb1a45a0c86ce77839c0875414efe1a89315e
	https://git.kernel.org/stable/c/83bf6b87e2dd053d95d89eb2f01ae885f9e568db
	https://git.kernel.org/stable/c/4e584127ec2bd42a37c88badb49df409f21fa40a
	https://git.kernel.org/stable/c/6a0c637bfee69a74c104468544d9f2a6579626d0