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] [day] [month] [year] [list]
Date:   Wed, 01 Jun 2022 10:50:12 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Ziyang Xuan <william.xuanziyang@...wei.com>
Cc:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, ap420073@...il.com
Subject: Re: [PATCH net v2] macsec: fix UAF bug for real_dev

Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:

On Tue, 31 May 2022 15:45:00 +0800 you wrote:
> Create a new macsec device but not get reference to real_dev. That can
> not ensure that real_dev is freed after macsec. That will trigger the
> UAF bug for real_dev as following:
> 
> ==================================================================
> BUG: KASAN: use-after-free in macsec_get_iflink+0x5f/0x70 drivers/net/macsec.c:3662
> Call Trace:
>  ...
>  macsec_get_iflink+0x5f/0x70 drivers/net/macsec.c:3662
>  dev_get_iflink+0x73/0xe0 net/core/dev.c:637
>  default_operstate net/core/link_watch.c:42 [inline]
>  rfc2863_policy+0x233/0x2d0 net/core/link_watch.c:54
>  linkwatch_do_dev+0x2a/0x150 net/core/link_watch.c:161
> 
> [...]

Here is the summary with links:
  - [net,v2] macsec: fix UAF bug for real_dev
    https://git.kernel.org/netdev/net/c/196a888ca657

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ