nfc: nci: assert requested protocol is valid
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6a2968aaf50c7a22fced77a5e24aa636281efca8 · < 853dda54ba59ea70d5580a298b7ede4707826848| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nfc: nci: assert requested protocol is valid
The protocol is used in a bit mask to determine if the protocol is supported. Assert the provided protocol is less than the maximum defined so it doesn't potentially perform a shift-out-of-bounds and provide a clearer error for undefined protocols vs unsupported ones.
From the CVE record · Linux
The Linux kernel’s NFC NCI code can perform an out-of-bounds shift when it checks an invalid requested protocol against supported protocols. The input does not specify how an attacker could supply that protocol, whether authentication or user interaction is required, or the resulting impact.
Teams running the Linux kernel should check whether their kernel includes the NFC NCI fix; affected versions are not specified.