Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 2c231a247a1d1628e41fa1eefd1a5307c41c5f53affected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < a686f84101680b8442181a8846fbd3c934653729affected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 95733ea130e35ef9ec5949a5908dde3feaba92cbaffected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < a424807d860ba816aaafc3064b46b456361c0802affected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 25dd54b95abfdca423b65a4ee620a774777d8213affected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 853dda54ba59ea70d5580a298b7ede4707826848affected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 6584eba7688dcf999542778b07f63828c21521daaffected6a2968aaf50c7a22fced77a5e24aa636281efca8 to < 354a6e707e29cb0c007176ee5b8db8be7bd2dee0affected
Linux Linux
Default version status: affected
3.2affected0 to < 3.2unaffected4.14.328 to ≤ 4.14.*unaffected4.19.297 to ≤ 4.19.*unaffected5.4.259 to ≤ 5.4.*unaffected5.10.199 to ≤ 5.10.*unaffected5.15.136 to ≤ 5.15.*unaffected6.1.59 to ≤ 6.1.*unaffected6.5.8 to ≤ 6.5.*unaffected6.6 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/2c231a247a1d1628e41fa1eefd1a5307c41c5f53 ↗
- https://git.kernel.org/stable/c/a686f84101680b8442181a8846fbd3c934653729 ↗
- https://git.kernel.org/stable/c/95733ea130e35ef9ec5949a5908dde3feaba92cb ↗
- https://git.kernel.org/stable/c/a424807d860ba816aaafc3064b46b456361c0802 ↗
- https://git.kernel.org/stable/c/25dd54b95abfdca423b65a4ee620a774777d8213 ↗
- https://git.kernel.org/stable/c/853dda54ba59ea70d5580a298b7ede4707826848 ↗
- https://git.kernel.org/stable/c/6584eba7688dcf999542778b07f63828c21521da ↗
- https://git.kernel.org/stable/c/354a6e707e29cb0c007176ee5b8db8be7bd2dee0 ↗