Description
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).
Product status
8fcc7315a10a84264e55bb65ede10f0af20a983f (git) before a24a8a582da4426b2042e510a1080df84083b51d
bfdda0123dde406dbff62e7e9136037e97998a15 (git) before f5218426f765eee22e178df9c126d974792fb6a5
0ba68bea1e356f466ad29449938bea12f5f3711f (git) before ad058a4317db7fdb3f09caa6ed536d24a62ce6a0
74837bca0748763a77f77db47a0bdbe63b347628 (git) before 3b91160e9a91b5a2662875417dc42dc5b0bf03ea
9c328f54741bd5465ca1dc717c84c04242fac2e1 (git) before c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b
9c328f54741bd5465ca1dc717c84c04242fac2e1 (git) before 498fc5d0d650c77e87fcc73808d4f43240c21805
9c328f54741bd5465ca1dc717c84c04242fac2e1 (git) before 571dcbeb8e635182bb825ae758399831805693c2
c395d1e548cc68e84584ffa2e3ca9796a78bf7b9 (git)
6.18
Any version before 6.18
5.15.202 (semver)
6.1.165 (semver)
6.6.128 (semver)
6.12.75 (semver)
6.18.16 (semver)
6.19.6 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/a24a8a582da4426b2042e510a1080df84083b51d
git.kernel.org/...c/f5218426f765eee22e178df9c126d974792fb6a5
git.kernel.org/...c/ad058a4317db7fdb3f09caa6ed536d24a62ce6a0
git.kernel.org/...c/3b91160e9a91b5a2662875417dc42dc5b0bf03ea
git.kernel.org/...c/c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b
git.kernel.org/...c/498fc5d0d650c77e87fcc73808d4f43240c21805
git.kernel.org/...c/571dcbeb8e635182bb825ae758399831805693c2