Skip to contentSkip to conversation

CVE-2026-53336: nvmem: layouts: onie-tlv: fix hang on unknown types

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 1

lore
Share & tools
lore
#0 lore raw

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

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

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

nvmem: layouts: onie-tlv: fix hang on unknown types

The EEPROM on my board has a vendor specific entry of type 0x41. When stumbling upon that, this driver hangs in an endless loop.

Fix it by keep incrementing the offset on unknown entries, so the loop will eventually stop.

The Linux kernel CVE team has assigned CVE-2026-53336 to this issue.

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

	Issue introduced in 6.4 with commit d3c0d12f6474216bf386101e2449cc73e5c5b61d and fixed in 6.6.143 with commit 033d498b0f473c6456be5f885be172024ad84972
	Issue introduced in 6.4 with commit d3c0d12f6474216bf386101e2449cc73e5c5b61d and fixed in 6.12.94 with commit fd47edeabadfaa75422009dc5894e92c4c697517
	Issue introduced in 6.4 with commit d3c0d12f6474216bf386101e2449cc73e5c5b61d and fixed in 6.18.36 with commit 4a4d21f531ccf5bb333d99b620e0d66551f3652c
	Issue introduced in 6.4 with commit d3c0d12f6474216bf386101e2449cc73e5c5b61d and fixed in 7.0.13 with commit 4f27eb01619c36cc8e3ce9a2a9af97f145f5d1c6
	Issue introduced in 6.4 with commit d3c0d12f6474216bf386101e2449cc73e5c5b61d and fixed in 7.1 with commit ea41020b9018e31c2ea7e9d89021e3e6d7470883

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-2026-53336

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/nvmem/layouts/onie-tlv.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/033d498b0f473c6456be5f885be172024ad84972
	https://git.kernel.org/stable/c/fd47edeabadfaa75422009dc5894e92c4c697517
	https://git.kernel.org/stable/c/4a4d21f531ccf5bb333d99b620e0d66551f3652c
	https://git.kernel.org/stable/c/4f27eb01619c36cc8e3ce9a2a9af97f145f5d1c6
	https://git.kernel.org/stable/c/ea41020b9018e31c2ea7e9d89021e3e6d7470883