CVE-2021-47518
JSON

5.5medium

nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done The done() netlink callback nfc_genl_dump_ses_done() should check if received argument is non-NULL, because its allocation could fail earlier in dumpit() (nfc_genl_dump_ses()).

Affected

Product or packageVersionsReported by
Linux Linuxfrom ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 87cdb8789c38e44ae5454aafe277997c950d00ed, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 69bb79a8f5bb9f436b6f1434ca9742591b7bbe18, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 811a7576747760bcaf60502f096d1e6e91d566fa, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 3b861a40325eac9c4c13b6c53874ad90617e944d, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 48fcd08fdbe05e35b650a252ec2a2d96057a1c7a, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 83ea620a1be840bf05089a5061fb8323ca42f38c, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before fae9705d281091254d4a81fa2da9d22346097dca, from ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 before 4cd8371a234d051f9c9557fcbb1f8c523b1c0d10 and 1 more
Not affected: before 3.12, from 4.4.295 up to 4.4.*, from 4.9.293 up to 4.9.*, from 4.14.258 up to 4.14.*, from 4.19.221 up to 4.19.*, from 5.4.165 up to 5.4.*
CVE List
linux linux_kernelfrom 3.12 before 4.4.295, from 4.5 before 4.9.293, from 4.10 before 4.14.258, from 4.15 before 4.19.221, from 4.20 before 5.4.165, from 5.5 before 5.10.85, from 5.11 before 5.15.8NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done The done() netlink callback nfc_genl_dump_ses_done() should check if received argument is non-NULL, because its allocation could fail earlier in dumpit() (nfc_genl_dump_ses()).

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: nfc: corrige la posible deref del puntero NULL en nfc_genl_dump_ses_done La devolución de llamada de netlink done() nfc_genl_dump_ses_done() debe verificar si el argumento recibido no es NULL, porque su asignación podría fallar antes en dumpit() (nfc_genl_dump_ses()).

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47518 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47518 changed 2026-06-17Public domain