Re: 回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Verma, Vishal L
g.zh...@windriver.com > 发送时间: 2020年8月12日 16:55 > 收件人: dan.j.willi...@intel.com; vishal.l.ve...@intel.com; > dave.ji...@intel.com; ira.we...@intel.com > 抄送: linux-nvd...@lists.01.org; linux-kernel@vger.kernel.org > 主题: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in

回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Zhang, Qiang
; linux-kernel@vger.kernel.org 主题: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group From: Zqiang Because the last member of the "nvdimm_firmware_attributes" array was not assigned a null ptr, when traversal of "grp->attrs" array is out of

[PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-12 Thread qiang.zhang
From: Zqiang Because the last member of the "nvdimm_firmware_attributes" array was not assigned a null ptr, when traversal of "grp->attrs" array is out of bounds in "create_files" func. func: create_files: ->for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++)