[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220301093424.2053471-1-lv.ruyi@zte.com.cn>
Date: Tue, 1 Mar 2022 09:34:24 +0000
From: Lv Ruyi <cgel.zte@...il.com>
To: krzysztof.kozlowski@...onical.com
Cc: cgel.zte@...il.com, chi.minghao@....com.cn, davem@...emloft.net,
kuba@...nel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, zealci@....com.cn
Subject: Re: [PATCH] net/nfc/nci: use memset avoid infoleaks
hello sir
I think this way: On 64-bit systems, struct nci_set_config_param has
an added padding of 7 bytes between struct members id and len. Even
though all struct members are initialized, the 7-byte hole will
contain data from the kernel stack.
thanks
Minghao
Powered by blists - more mailing lists