lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 13 Jul 2020 12:02:06 -0700 (PDT)
From:   David Miller <>
Subject: Re: [PATCH net-next] rtnetlink: Fix memory(net_device) leak when
 ->newlink fails

From: Weilong Chen <>
Date: Mon, 13 Jul 2020 15:55:28 +0800

> When vlan_newlink call register_vlan_dev fails, it might return error
> with dev->reg_state = NETREG_UNREGISTERED. The rtnl_newlink should
> free the memory. But currently rtnl_newlink only free the memory which
> Reported-by: Hulk Robot <>
> Signed-off-by: Weilong Chen <>

This needs a Fixes: tag.

Also, can't this bug happen in mainline too?  It's a bug fix and therefore
should target 'net' instead of 'net-next'.

Powered by blists - more mailing lists