mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
um: Fix potential integer overflow during physmem setup
[ Upstream commita98b7761f6] This issue happens when the real map size is greater than LONG_MAX, which can be easily triggered on UML/i386. Fixes:fe205bdd13("um: Print minimum physical memory requirement") Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20240916045950.508910-3-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
acfaf37888
commit
a875c02315
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue