Linux
net: nfc: nci: Fix parameter validation for packet data
In the Linux kernel, the following vulnerability has been resolved: net: nfc: nci: Fix parameter validation for packet data Since commit 9c328f54741b ("net: nfc: nci: Add parameter validation for packet data") communication with nci nfc chips is not working any more. The mentioned commit tries to fix access of uninitialized data, but failed to understand that in some cases the data packet is of variable length and can therefore not be compared to the maximum packet length given by the sizeof(struct).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8fcc7315a10a84264e55bb65ede10f0af20a983f, < a24a8a582da4426b2042e510a1080df84083b51d
- >= bfdda0123dde406dbff62e7e9136037e97998a15, < f5218426f765eee22e178df9c126d974792fb6a5
- >= 0ba68bea1e356f466ad29449938bea12f5f3711f, < ad058a4317db7fdb3f09caa6ed536d24a62ce6a0
- >= 74837bca0748763a77f77db47a0bdbe63b347628, < 3b91160e9a91b5a2662875417dc42dc5b0bf03ea
- >= 9c328f54741bd5465ca1dc717c84c04242fac2e1, < c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b
- >= 9c328f54741bd5465ca1dc717c84c04242fac2e1, < 498fc5d0d650c77e87fcc73808d4f43240c21805
- >= 9c328f54741bd5465ca1dc717c84c04242fac2e1, < 571dcbeb8e635182bb825ae758399831805693c2
- c395d1e548cc68e84584ffa2e3ca9796a78bf7b9
- >= 5.15.195, < 5.15.202
- >= 6.1.156, < 6.1.165
- >= 6.6.112, < 6.6.128
- >= 6.12.53, < 6.12.75
- >= 6.17.3, < 6.18
Fixed in a24a8a582da4426b2042e510a1080df84083b51d, f5218426f765eee22e178df9c126d974792fb6a5, ad058a4317db7fdb3f09caa6ed536d24a62ce6a0, 3b91160e9a91b5a2662875417dc42dc5b0bf03ea, c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b, 498fc5d0d650c77e87fcc73808d4f43240c21805, 571dcbeb8e635182bb825ae758399831805693c2, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18
- 6.18
Fixed in 0, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to a24a8a582da4426b2042e510a1080df84083b51d or f5218426f765eee22e178df9c126d974792fb6a5 or ad058a4317db7fdb3f09caa6ed536d24a62ce6a0 or 3b91160e9a91b5a2662875417dc42dc5b0bf03ea or c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b or 498fc5d0d650c77e87fcc73808d4f43240c21805 or 571dcbeb8e635182bb825ae758399831805693c2 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18 or later.
Upgrade Linux to 0 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.