CVE-2026-98579: nfc: llcp: fix sdreq TLV list leak on parse/alloc/send failure
In the Linux kernel, the following vulnerability has been resolved:
nfc: llcp: fix sdreq TLV list leak on parse/alloc/send failure
nfcgenlllcsdreq() builds a list of TLV nodes while walking nested netlink attrs, but 3 error paths (nested-attr parse failure, TLV alloc ENOMEM, nfcllcpsendsnlsdreq() failure) all skip freeing what was already queued.
Route them through a new freelist label, mirroring the SDRES path in the same file which already does this. Harmless on the success path too -- sendsnlsdreq() drains the list as it moves nodes, so it's already empty by the time freelist runs.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In nfc_genl_llc_sdreq(), route the nested-attribute parse failure, TLV allocation failure, and nfc_llcp_send_snl_sdreq() failure paths through the new free_list label so queued TLV nodes are freed; mirror the SDRES cleanup path in the same file.