Re: [PATCH v3] ima: Fix a potential NULL pointer access in ima_restore_measurement_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2022-11-03 at 00:09 +0800, Huaxin Lu wrote:
> In restore_template_fmt, when kstrdup fails, a non-NULL value will still be
> returned, which causes a NULL pointer access in template_desc_init_fields.
> 
> Co-developed-by: Jiaming Li <lijiaming30@xxxxxxxxxx>
> Signed-off-by: Jiaming Li <lijiaming30@xxxxxxxxxx>
> Signed-off-by: Huaxin Lu <luhuaxin1@xxxxxxxxxx>
> Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
> Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>

Thank you.   This patch is now queued in next-integrity.

-- 
Mimi




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux