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]
Message-Id: <162252660360.4642.10005433752607898965.git-patchwork-notify@kernel.org>
Date:   Tue, 01 Jun 2021 05:50:03 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Cc:     davem@...emloft.net, kuba@...nel.org, linville@...driver.com,
        sameo@...ux.intel.com, linux-nfc@...ts.01.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        thadeu.cascardo@...onical.com, stable@...r.kernel.org,
        syzbot+80fb126e7f7d8b1a5914@...kaller.appspotmail.com,
        butterflyhuangxx@...il.com
Subject: Re: [RESEND PATCH] nfc: fix NULL ptr dereference in llcp_sock_getname()
 after failed connect

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Mon, 31 May 2021 09:21:38 +0200 you wrote:
> It's possible to trigger NULL pointer dereference by local unprivileged
> user, when calling getsockname() after failed bind() (e.g. the bind
> fails because LLCP_SAP_MAX used as SAP):
> 
>   BUG: kernel NULL pointer dereference, address: 0000000000000000
>   CPU: 1 PID: 426 Comm: llcp_sock_getna Not tainted 5.13.0-rc2-next-20210521+ #9
>   Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/01/2014
>   Call Trace:
>    llcp_sock_getname+0xb1/0xe0
>    __sys_getpeername+0x95/0xc0
>    ? lockdep_hardirqs_on_prepare+0xd5/0x180
>    ? syscall_enter_from_user_mode+0x1c/0x40
>    __x64_sys_getpeername+0x11/0x20
>    do_syscall_64+0x36/0x70
>    entry_SYSCALL_64_after_hwframe+0x44/0xae
> 
> [...]

Here is the summary with links:
  - [RESEND] nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
    https://git.kernel.org/netdev/net/c/4ac06a1e013c

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