В ядре Linux была устранена следующая уязвимость: nfc: llcp: fix sdreq TLV list leak on parse/alloc/send failure nfc_genl_llc_sdreq() строит список узлов TLV при ходьбе вложенных netlink attrs, но 3 пути ошибки (nested-attr parse failure, TLV alloc ENOMEM, nfc_llcp_send_snl_sdreq() Направьте их через новую метку free_list, отражающую путь SDRES в том же файле, который уже делает это. send_snl_sdreq() истощает список по мере перемещения узлов, поэтому он уже пуст к моменту запуска free_list.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: fix sdreq TLV list leak on parse/alloc/send failure nfc_genl_llc_sdreq() builds a list of TLV nodes while walking nested netlink attrs, but 3 error paths (nested-attr parse failure, TLV alloc ENOMEM, nfc_llcp_send_snl_sdreq() failure) all skip freeing what was already queued. Route them through a new free_list label, mirroring the SDRES path in the same file which already does this. Harmless on the success path too -- send_snl_sdreq() drains the list as it moves nodes, so it's already empty by the time free_list runs.