lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240411115805.115673-1-guanrui.huang@linux.alibaba.com>
Date: Thu, 11 Apr 2024 19:58:05 +0800
From: Guanrui Huang <guanrui.huang@...ux.alibaba.com>
To: maz@...nel.org
Cc: guanrui.huang@...ux.alibaba.com,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	shannon.zhao@...ux.alibaba.com,
	tglx@...utronix.de,
	yuzenghui@...wei.com
Subject: Re: [PATCH v2] irqchip/gic-v3-its: Fix double free on error

if (vm != domain->host_data)

This is just a safety check. It looks unlikely happened.
After all, vm is obtained from the args. If the caller has a bug, can we check here to avoid possible problems that may arise in later code?

Thanks,
Guanrui

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ