Re: [syzbot] [PATCH] test aea6bf908d73

From: syzbot
Date: Thu Nov 09 2023 - 19:52:37 EST


For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx.

***

Subject: [PATCH] test aea6bf908d73
Author: lizhi.xu@xxxxxxxxxxxxx

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git aea6bf908d73

diff --git a/net/nfc/llcp_commands.c b/net/nfc/llcp_commands.c
index e2680a3bef79..6ba43a0369d3 100644
--- a/net/nfc/llcp_commands.c
+++ b/net/nfc/llcp_commands.c
@@ -738,7 +738,7 @@ int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap,

pr_debug("Send UI frame len %zd\n", len);

- local = sock->local;
+ local = nfc_llcp_find_local(sock->dev);
if (local == NULL)
return -ENODEV;

--
2.25.1