summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorJiri Pirko2015-12-22 09:43:07 +0100
committerDavid S. Miller2015-12-22 22:25:09 +0100
commitf4cee3af0dedf3270e6d615d772e3fbfa3200769 (patch)
treedf31e4d939de5cc4c2817c72f7235a497d720d6f /net/ipv4/tcp_ipv4.c
parentnet: tcp: deal with listen sockets properly in tcp_abort. (diff)
downloadkernel-qcow2-linux-f4cee3af0dedf3270e6d615d772e3fbfa3200769.tar.gz
kernel-qcow2-linux-f4cee3af0dedf3270e6d615d772e3fbfa3200769.tar.xz
kernel-qcow2-linux-f4cee3af0dedf3270e6d615d772e3fbfa3200769.zip
mlxsw: core: Use devm_kzalloc to allocate mlxsw_hwmon structure
KASan reported use-after-free for the hwmon structure. So fix this by using devm_kzalloc and let the core take care about freeing the memory during device dettach. Reported-by: Ido Schimmel <idosch@mellanox.com> Fixes: 89309da39 ("mlxsw: core: Implement temperature hwmon interface") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions