]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/xen: Fix a potential problem in xen_e820_resolve_conflicts()
authorJuergen Gross <jgross@suse.com>
Tue, 5 May 2026 08:06:53 +0000 (10:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 5 May 2026 08:17:00 +0000 (10:17 +0200)
commit5f8719945244dd65b5fa06195f4600db62581610
treeaa98ac0cc9cf77010cf685bf31a92a5f2545d62b
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32
x86/xen: Fix a potential problem in xen_e820_resolve_conflicts()

When fixing a conflict in xen_e820_resolve_conflicts(), the loop over
the E820 map entries needs to be restarted, as the E820 map will have
been modified by the fix. Otherwise entries might be skipped by
accident.

Fixes: be35d91c8880 ("xen: tolerate ACPI NVS memory overlapping with Xen allocated memory")
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: xen-devel@lists.xenproject.org
Link: https://patch.msgid.link/20260505080653.197775-1-jgross@suse.com
arch/x86/xen/setup.c