Skip to content

net: fix uninit-values in networking stack

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: af_alg - fix possible uninit-value in alg_bind()crypto/af_alg.c+4 -40 replies
2/8netlink: fix uninit-value in netlink_sendmsgnet/netlink/af_netlink.c+2 -00 replies
3/8net: fix rtnh_ok()include/net/nexthop.h+1 -10 replies
4/8net: initialize skb->peeked when cloningnet/core/skbuff.c+1 -00 replies
5/8net: fix uninit-value in __hw_addr_add_ex()net/core/dev_addr_lists.c+2 -20 replies
6/8dccp: initialize ireq->ir_marknet/dccp/ipv4.c net/dccp/ipv6.c+2 -00 replies
7/8ipv4: fix uninit-value in ip_route_output_key_hash_rcu()net/ipv4/route.c+6 -50 replies
8/8soreuseport: initialise timewait reuseport fieldinclude/net/inet_timewait_sock.h net/ipv4/inet_timewait_sock.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/8] net: fix uninit-values in networking stack

It seems syzbot got new features enabled, and fired some interesting reports. Oh well.

Eric Dumazet (8):
crypto: af_alg - fix possible uninit-value in alg_bind()
netlink: fix uninit-value in netlink_sendmsg
net: fix rtnh_ok()
net: initialize skb->peeked when cloning
net: fix uninit-value in __hw_addr_add_ex()
dccp: initialize ireq->ir_mark
ipv4: fix uninit-value in ip_route_output_key_hash_rcu()
soreuseport: initialise timewait reuseport field

 crypto/af_alg.c                  |  8 ++++----
 include/net/inet_timewait_sock.h |  1 +
 include/net/nexthop.h            |  2 +-
 net/core/dev_addr_lists.c        |  4 ++--
 net/core/skbuff.c                |  1 +
 net/dccp/ipv4.c                  |  1 +
 net/dccp/ipv6.c                  |  1 +
 net/ipv4/inet_timewait_sock.c    |  1 +
 net/ipv4/route.c                 | 11 ++++++-----
 net/netlink/af_netlink.c         |  2 ++
 10 files changed, 20 insertions(+), 12 deletions(-)
Signature · 1 line
2.17.0.484.g0c8726318c-goog