CVE-2021-47518Published May 24, 2024 · May 24Updated Jun 17
nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 · < 83ea620a1be840bf05089a5061fb8323ca42f38c| No fix yet |
| Linux Linux |
|
|
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()).
From the CVE record · Linux
The Linux kernel’s NFC netlink done callback may dereference a NULL argument if an earlier allocation in the dump callback fails. This could cause a kernel fault; the input does not specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the affected NFC code should check their versions; no affected version range was provided.