Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d9b8d8e19b073096d3609bbd60f82148d128b555 to < 5b1eca82085134bd92cd3810b0ef003c91e3f668affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < d3f60a7fc291d08cd9192a3b4cd5d3a223fa7d02affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < 755bfc409748d8f3df64eb0eb26926270de3dd77affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < e43ec0191c1630f41e7043ac729ea6f1b8044a7faffectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < 08d2c069239ab425fdd333784a6a3b3e034e4aa0affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < cbde7f5d326172d6dbb55cca0df42fa7e1ed8115affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < 0b01a946b0f234f5badd25968610b585a4895f08affectedd9b8d8e19b073096d3609bbd60f82148d128b555 to < 66f4300206b82b0b143ef0d9be90cd8d29f23a47affected
Linux Linux
Default version status: affected
3.10affected0 to < 3.10unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.55 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5b1eca82085134bd92cd3810b0ef003c91e3f668 ↗
- https://git.kernel.org/stable/c/d3f60a7fc291d08cd9192a3b4cd5d3a223fa7d02 ↗
- https://git.kernel.org/stable/c/755bfc409748d8f3df64eb0eb26926270de3dd77 ↗
- https://git.kernel.org/stable/c/e43ec0191c1630f41e7043ac729ea6f1b8044a7f ↗
- https://git.kernel.org/stable/c/08d2c069239ab425fdd333784a6a3b3e034e4aa0 ↗
- https://git.kernel.org/stable/c/cbde7f5d326172d6dbb55cca0df42fa7e1ed8115 ↗
- https://git.kernel.org/stable/c/0b01a946b0f234f5badd25968610b585a4895f08 ↗
- https://git.kernel.org/stable/c/66f4300206b82b0b143ef0d9be90cd8d29f23a47 ↗