diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-09-16 07:59:48 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-10 13:02:13 +0300 |
commit | a98b7761f697e590ed5d610d87fa12be66f23419 (patch) | |
tree | da0d44f9436a4b65743a73436dd014bb35d74cbb /arch/um/drivers/virtio_uml.c | |
parent | 855f6e18dff26fb13968a73998b0d0ff38865b51 (diff) | |
download | linux-a98b7761f697e590ed5d610d87fa12be66f23419.tar.xz |
um: Fix potential integer overflow during physmem setup
This issue happens when the real map size is greater than LONG_MAX,
which can be easily triggered on UML/i386.
Fixes: fe205bdd1321 ("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>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions