Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Weiming Shi <bestswngs@gmail.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, horms@kernel.org, kees@kernel.org,
	netdev@vger.kernel.org, xmei5@asu.edu
Subject: Re: [PATCH net] net: appletalk: fix NULL pointer dereference in aarp_send_ddp()
Date: Mon, 18 May 2026 23:40:23 +0000	[thread overview]
Message-ID: <177914762338.2012201.13609103218137112848.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260514123806.3085961-3-bestswngs@gmail.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 14 May 2026 05:38:08 -0700 you wrote:
> aarp_send_ddp() calls atalk_find_dev_addr(dev) in the LocalTalk fast
> path without checking for NULL. When the device has no AppleTalk
> interface configured (dev->atalk_ptr == NULL), this leads to a NULL
> pointer dereference at the at->s_net access.
> 
>  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
>  RIP: 0010:aarp_send_ddp (net/appletalk/aarp.c:552 (discriminator 2))
>  Call Trace:
>   <TASK>
>   atalk_sendmsg (net/appletalk/ddp.c:1715)
>   __sys_sendto (net/socket.c:2265 (discriminator 1))
>   __x64_sys_sendto (net/socket.c:2272)
>   do_syscall_64 (arch/x86/entry/syscall_64.c:94)
>   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
> 
> [...]

Here is the summary with links:
  - [net] net: appletalk: fix NULL pointer dereference in aarp_send_ddp()
    https://git.kernel.org/netdev/net/c/9e7f36ab5b7b

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



      parent reply	other threads:[~2026-05-18 23:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14 12:38 [PATCH net] net: appletalk: fix NULL pointer dereference in aarp_send_ddp() Weiming Shi
2026-05-18  9:58 ` Weiming Shi
2026-05-18 23:40 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177914762338.2012201.13609103218137112848.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=bestswngs@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kees@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=xmei5@asu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox