nfc: digital: clamp SENSF_RES length to the destination buffer (Linux Linux)

CVE-2026-80803
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8c0695e4998dd268ff2a05951961247b7e015651 < 6afb29751ee731e7f7a96feb8a15f91441e552ba ; affected 8c0695e4998dd268ff2a05951961247b7e015651 < e886c63d2ca7108826076989103a1ffa8a0bb8f4 ; affected 8c0695e4998dd268ff2a05951961247b7e015651 < 4e942da2869bcd646353eef706b7dd82efeb9db5 ; affected 8c0695e4998dd268ff2a05951961247b7e015651 < d0756a98277e383c26fead988a96c91f0781cd7f ; affected 8c0695e4998dd268ff2a05951961247b7e015651 < af4c0606f743e009254a8d252096855335ade85d ; affected 8c0695e4998dd268ff2a05951961247b7e015651 < a56773e649ea99b344d6bbaf90f34c8e3fadef5d
Linux · Linuxaffected 3.13 ; unaffected 0 < 3.13 ; unaffected 5.10.267 ≤ 5.10.* ; unaffected 5.15.218 ≤ 5.15.* ; unaffected 6.1.185 ≤ 6.1.* ; unaffected 6.6.154 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD