CVE-2026-98187: wifi: p54: require a full exp_if record in PDR_INTERFACE_LIST
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: p54: require a full exp_if record in PDR_INTERFACE_LIST
The PDR_INTERFACE_LIST loop only checks that the record start is within the entry before reading an entire struct exp_if from it. A truncated trailing record makes the if_id/variant reads cross the entry boundary into the heap beyond the EEPROM buffer (verified with a KASAN reproducer of the loop). The variant also feeds the synth front-end selection, so this is not only a leak.
Advance only while a full record still fits in the entry.
The Linux kernel CVE team has assigned CVE-2026-98187 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 5.10.271 with commit 162dbe1c285a621eab6a9f2851086b63a0378928 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 5.15.222 with commit 70bf34b425fe549a4f6a8d50a319f8f05d1f91c9 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.1.189 with commit 487f966421014de41e835bbce3feb30b35f4f729 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.6.158 with commit bc83c04be042f53869c315b8e1eb5f124959d1d7 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.12.112 with commit d44c1badc2dcb042985f7e37f4c448c84548b81f Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 6.18.54 with commit d2fb6b588dc5bbab4f603661e41cd60f0d931628 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 7.2.8 with commit d82492fd0a3fb61963c236521852763238ad3898 Issue introduced in 2.6.24 with commit eff1a59c48e3c6a006eb4fe5f2e405a996f2259d and fixed in 7.3-rc4 with commit d8efd84f49379ed28624098821f80e992657d935
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-98187
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/162dbe1c285a621eab6a9f2851086b63a0378928 https://git.kernel.org/stable/c/70bf34b425fe549a4f6a8d50a319f8f05d1f91c9 https://git.kernel.org/stable/c/487f966421014de41e835bbce3feb30b35f4f729 https://git.kernel.org/stable/c/bc83c04be042f53869c315b8e1eb5f124959d1d7 https://git.kernel.org/stable/c/d44c1badc2dcb042985f7e37f4c448c84548b81f https://git.kernel.org/stable/c/d2fb6b588dc5bbab4f603661e41cd60f0d931628 https://git.kernel.org/stable/c/d82492fd0a3fb61963c236521852763238ad3898 https://git.kernel.org/stable/c/d8efd84f49379ed28624098821f80e992657d935