[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240820103425.338094-1-aha310510@gmail.com>
Date: Tue, 20 Aug 2024 19:34:25 +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,2/2] net/smc: modify smc_sock structure
Jeongjun Park wrote:
> Since inet_sk(sk)->pinet6 and smc_sk(sk)->clcsock practically
> point to the same address, when smc_create_clcsk() stores the newly
> created clcsock in smc_sk(sk)->clcsock, inet_sk(sk)->pinet6 is corrupted
> into clcsock. This causes NULL pointer dereference and various other
> memory corruptions.
>
> To solve this, we need to modify the smc_sock structure.
>
> Fixes: ac7138746e14 ("smc: establish new socket family")
> Signed-off-by: Jeongjun Park <aha310510@...il.com>
Reported-by: syzkaller <syzkaller@...glegroups.com>
Powered by blists - more mailing lists