[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240820103152.337880-1-aha310510@gmail.com>
Date: Tue, 20 Aug 2024 19:31:52 +0900
From: Jeongjun Park <aha310510@...il.com>
To: aha310510@...il.com
Cc: alibuda@...ux.alibaba.com,
davem@...emloft.net,
dust.li@...ux.alibaba.com,
edumazet@...gle.com,
guwen@...ux.alibaba.com,
jaka@...ux.ibm.com,
kuba@...nel.org,
linux-kernel@...r.kernel.org,
linux-s390@...r.kernel.org,
netdev@...r.kernel.org,
pabeni@...hat.com,
tonylu@...ux.alibaba.com,
ubraun@...ux.vnet.ibm.com,
utz.bacher@...ibm.com,
wenjia@...ux.ibm.com,
syzkaller <syzkaller@...glegroups.com>
Subject: Re: [PATCH net,v5,1/2] net/smc: initialize ipv6_pinfo_offset in smc_inet6_prot and add smc6_sock structure
Jeongjun Park wrote:
> Since smc_inet6_prot does not initialize ipv6_pinfo_offset, inet6_create()
> copies an incorrect address value, sk + 0 (offset), to inet_sk(sk)->pinet6.
>
> To solve this, we need to add code to smc_inet6_prot to initialize
> ipv6_pinfo_offset.
>
> Fixes: d25a92ccae6b ("net/smc: Introduce IPPROTO_SMC")
> Signed-off-by: Jeongjun Park <aha310510@...il.com>
Reported-by: syzkaller <syzkaller@...glegroups.com>
Powered by blists - more mailing lists