Shellfeed logo Shellfeed

CVE-2026-80803 · UNKNOWN

Summary: nfc: digital: clamp SENSF_RES length to the destination buffer

Details

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).

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [8c0695e4998dd268ff2a05951961247b7e015651 – 6afb29751ee731e7f7a96feb8a15f91441e552ba]
  • Linux Kernel [3.13.0 – 5.10.267] [5.11.0 – 5.15.218] [5.16.0 – 6.1.185] [6.2.0 – 6.6.154] [6.7.0 – 6.12.106] [6.13.0 – 6.18.47] [6.19.0 – 7.1.11] [7.2.0 – 7.2.1]

References