aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorXiaoming Ni <[email protected]>2021-03-25 11:51:12 +0800
committerDavid S. Miller <[email protected]>2021-03-25 17:02:01 -0700
commit7574fcdbdcb335763b6b322f6928dc0fd5730451 (patch)
treeb54ea3bdfb3be277f8680fd137a66f2be6b0f81d /scripts/gdb/linux/tasks.py
parent8a4cd82d62b5ec7e5482333a72b58a4eea4979f0 (diff)
nfc: fix memory leak in llcp_sock_connect()
In llcp_sock_connect(), use kmemdup to allocate memory for "llcp_sock->service_name". The memory is not released in the sock_unlink label of the subsequent failure branch. As a result, memory leakage occurs. fix CVE-2020-25672 Fixes: d646960f7986 ("NFC: Initial LLCP support") Reported-by: "kiyin(尹亮)" <[email protected]> Link: https://www.openwall.com/lists/oss-security/2020/11/01/1 Cc: <[email protected]> #v3.3 Signed-off-by: Xiaoming Ni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions