CVE-2026-98583: nfc: nfcmrvl: validate helper command length before pull
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nfc: nfcmrvl: validate helper command length before pull
The firmware download receive path removes the NCI data header and reads the helper command before validating the remaining packet length. A short frame can therefore reach the data access before the malformed packet is rejected.
Validate the complete helper command length before stripping the NCI data header.
The Linux kernel CVE team has assigned CVE-2026-98583 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 5.10.271 with commit 842c0603cfa49530ef081f181a2ddbba77a37231 Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 5.15.222 with commit e4b012240c8aaf57cec192234c24e0db5f531ffa Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 6.1.189 with commit f15ad9d6e9173a037587dded77c904fdae8df380 Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 6.6.158 with commit a4e56f57dd04d8f9bc6bc55f90f3d129da759ec9 Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 6.12.112 with commit 4d4601e182c8567329be7d919669ec4d847ddd93 Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 6.18.55 with commit ed2e00bb22c73156bf8030b6204deabb25cf4eb5 Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 7.2.9 with commit 6a17a5806e9fcd99cf0dd30c3e6301f2aa1fac3c Issue introduced in 4.4 with commit 3194c6870158e305dac2af52f83681e9cb67280f and fixed in 7.3-rc5 with commit 686f942332b1667f13f3b8d6a2f50bcfbf42e277
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-98583
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/nfc/nfcmrvl/fw_dnld.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/842c0603cfa49530ef081f181a2ddbba77a37231 https://git.kernel.org/stable/c/e4b012240c8aaf57cec192234c24e0db5f531ffa https://git.kernel.org/stable/c/f15ad9d6e9173a037587dded77c904fdae8df380 https://git.kernel.org/stable/c/a4e56f57dd04d8f9bc6bc55f90f3d129da759ec9 https://git.kernel.org/stable/c/4d4601e182c8567329be7d919669ec4d847ddd93 https://git.kernel.org/stable/c/ed2e00bb22c73156bf8030b6204deabb25cf4eb5 https://git.kernel.org/stable/c/6a17a5806e9fcd99cf0dd30c3e6301f2aa1fac3c https://git.kernel.org/stable/c/686f942332b1667f13f3b8d6a2f50bcfbf42e277