nfc: nfcmrvl: validate helper command length before pull
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3194c6870158e305dac2af52f83681e9cb67280f · < ed2e00bb22c73156bf8030b6204deabb25cf4eb5| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s nfcmrvl firmware download receive path reads a helper command before checking that the remaining packet is long enough. A short frame can reach that data access before being rejected as malformed. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the nfcmrvl NFC driver should check their versions; affected versions are not specified.