lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJpFs3NkW+6=PYZdV-YmFp3rz=w=-OPZJKQYB2VomFNNg@mail.gmail.com>
Date: Wed, 15 Jan 2025 11:22:34 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, 
	Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 1/3] dev: Acquire netdev_rename_lock before
 restoring dev->name in dev_change_name().

On Wed, Jan 15, 2025 at 10:56 AM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> The cited commit forgot to add netdev_rename_lock in one of the
> error paths in dev_change_name().
>
> Let's hold netdev_rename_lock before restoring the old dev->name.
>
> Fixes: 0840556e5a3a ("net: Protect dev->name by seqlock.")
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>

Reviewed-by: Eric Dumazet <edumazet@...gle.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ