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: <b76f348d-61d3-404b-81c6-57621a14046b@huawei.com>
Date: Fri, 17 Oct 2025 15:40:10 +0800
From: Wang Liang <wangliang74@...wei.com>
To: <syzbot+f775be4458668f7d220e@...kaller.appspotmail.com>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
	<linux-rdma@...r.kernel.org>, <syzkaller-bugs@...glegroups.com>
Subject: Re: [syzbot] [smc?] general protection fault in __smc_diag_dump (4)


Sorry, this is an incorrect email, please ignore it.


在 2025/10/17 14:48, Wang Liang 写道:
> diff --git a/net/smc/smc_inet.c b/net/smc/smc_inet.c
> index a944e7dcb8b9..a94084b4a498 100644
> --- a/net/smc/smc_inet.c
> +++ b/net/smc/smc_inet.c
> @@ -56,7 +56,6 @@ static struct inet_protosw smc_inet_protosw = {
>   	.protocol	= IPPROTO_SMC,
>   	.prot		= &smc_inet_prot,
>   	.ops		= &smc_inet_stream_ops,
> -	.flags		= INET_PROTOSW_ICSK,
>   };
>   
>   #if IS_ENABLED(CONFIG_IPV6)
> @@ -104,27 +103,15 @@ static struct inet_protosw smc_inet6_protosw = {
>   	.protocol	= IPPROTO_SMC,
>   	.prot		= &smc_inet6_prot,
>   	.ops		= &smc_inet6_stream_ops,
> -	.flags		= INET_PROTOSW_ICSK,
>   };
>   #endif /* CONFIG_IPV6 */
>   
> -static unsigned int smc_sync_mss(struct sock *sk, u32 pmtu)
> -{
> -	/* No need pass it through to clcsock, mss can always be set by
> -	 * sock_create_kern or smc_setsockopt.
> -	 */
> -	return 0;
> -}
> -
>   static int smc_inet_init_sock(struct sock *sk)
>   {
>   	struct net *net = sock_net(sk);
>   
>   	/* init common smc sock */
>   	smc_sk_init(net, sk, IPPROTO_SMC);
> -
> -	inet_csk(sk)->icsk_sync_mss = smc_sync_mss;
> -
>   	/* create clcsock */
>   	return smc_create_clcsk(net, sk, sk->sk_family);
>   }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ