nfc: digital: clamp SENSF_RES length to the destination buffer
3Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackepss 0.2%
probabilidade de exploração
0.2%top 86% das CVEs
exploração observada
nãonenhuma fonte reporta
In the Linux kernel, the following vulnerability has been resolved:
nfc: digital: clamp SENSF_RES length to the destination buffer
digital_in_recv_sensf_res() memcpy()s resp->len bytes from a remote
NFC-F device response into the NFC_SENSF_RES_MAXSIZE-byte target.sensf_res
field without an upper-bound check. A nearby malicious NFC-F device can
send an oversized SENSF_RES response to overflow the stack-local struct
nfc_target.
Clamp resp->len to NFC_SENSF_RES_MAXSIZE before the copy.
Found by 0sec automated security-research tooling (https://0sec.ai).
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/31aa28ed732f66ab83c40ef53d99791be69b85c4https://git.kernel.org/stable/c/344a56d7c8e0f3cbaff0bcb1bcd95a1a1db24b16https://git.kernel.org/stable/c/4e942da2869bcd646353eef706b7dd82efeb9db5https://git.kernel.org/stable/c/6afb29751ee731e7f7a96feb8a15f91441e552bahttps://git.kernel.org/stable/c/a1ef9bddfbb3ae42b036c5aa16cf386d78db70b6https://git.kernel.org/stable/c/a56773e649ea99b344d6bbaf90f34c8e3fadef5dhttps://git.kernel.org/stable/c/af4c0606f743e009254a8d252096855335ade85dhttps://git.kernel.org/stable/c/d0756a98277e383c26fead988a96c91f0781cd7fhttps://git.kernel.org/stable/c/e886c63d2ca7108826076989103a1ffa8a0bb8f4