[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d956bac8-36a6-0148-6f9c-fa43c8c272a7@fujitsu.com>
Date: Mon, 23 May 2022 22:02:56 +0800
From: "Li, Zhijian" <lizhijian@...itsu.com>
To: Jason Gunthorpe <jgg@...dia.com>
CC: Zhu Yanjun <zyjzyj2000@...il.com>, <linux-rdma@...r.kernel.org>,
Bob Pearson <rpearsonhpe@...il.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] RDMA/rxe: Use kzalloc() to alloc map_set
on 2022/5/20 22:45, Jason Gunthorpe wrote:
> On Wed, May 18, 2022 at 12:37:25PM +0800, Li Zhijian wrote:
>> Below call chains will alloc map_set without fully initializing map_set.
>> rxe_mr_init_fast()
>> -> rxe_mr_alloc()
>> -> rxe_mr_alloc_map_set()
>>
>> Uninitialized values inside struct rxe_map_set are possible to cause
>> kernel panic.
> If the value is uninitialized then why is 0 an OK value?
>
> Would be happier to know the exact value that is not initialized
Well, good question. After re-think of this issue, it seems this patch
wasn't the root cause though it made the crash disappear in some extent.
I'm still working on the root cause :)
Thanks
Zhijian
>
> Jason
Powered by blists - more mailing lists