Skip to contentSkip to conversation

CVE-2026-98188: wifi: p54: validate curve data length in the calibration curve converters

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

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

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

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

wifi: p54: validate curve data length in the calibration curve converters

p54_convert_rev0() and p54_convert_rev1() read calibration curve data from the device-supplied EEPROM entry using channel and points-per-channel counts taken verbatim from that same entry, so an entry that declares more data than it carries drives an out-of-bounds read past the EEPROM buffer (verified with a KASAN reproducer of the conversion loop). The sibling converters p54_convert_output_limits() and p54_convert_db() already validate their counts against the entry length; this path was missed.

Reject the entry when the counts do not fit in the entry data.

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

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

	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 5.10.271 with commit 81084c967c18233b19799a0c3352ebac043f31e2
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 5.15.222 with commit 41cdf14bf4b52fbe4673a172c2a6ad756cb08111
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.1.189 with commit 03d313e3dfb49a44c10a5c423452967694fb85e2
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.6.158 with commit 42f4b03971f9d6329c4cbd1ea5155210d16ab65b
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.12.112 with commit 4d767d6f8753db22bfc14c2724bd9cee677ffb03
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.18.54 with commit 3bdcc4d61212b001b8752d80036509b4974ce16c
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 7.2.8 with commit b0c906107150b16925ee66da09127259864c7f36
	Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 7.3-rc4 with commit ce858fa6b8a214dee5adb82358885fa024cdd887

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

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/net/wireless/intersil/p54/eeprom.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/81084c967c18233b19799a0c3352ebac043f31e2
	https://git.kernel.org/stable/c/41cdf14bf4b52fbe4673a172c2a6ad756cb08111
	https://git.kernel.org/stable/c/03d313e3dfb49a44c10a5c423452967694fb85e2
	https://git.kernel.org/stable/c/42f4b03971f9d6329c4cbd1ea5155210d16ab65b
	https://git.kernel.org/stable/c/4d767d6f8753db22bfc14c2724bd9cee677ffb03
	https://git.kernel.org/stable/c/3bdcc4d61212b001b8752d80036509b4974ce16c
	https://git.kernel.org/stable/c/b0c906107150b16925ee66da09127259864c7f36
	https://git.kernel.org/stable/c/ce858fa6b8a214dee5adb82358885fa024cdd887