aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2019-07-09 19:44:03 -0700
committerThomas Gleixner <tglx@linutronix.de>2019-07-16 23:13:48 +0200
commite74bd96989dd42a51a73eddb4a5510a6f5e42ac3 (patch)
tree35033c04f4bcca7a1b9ca564875b7faca6bd5cc6 /scripts/gdb/linux/utils.py
parentRevert "x86/ptrace: Prevent ptrace from clearing the FS/GS selector" and fix the test (diff)
downloadwireguard-linux-e74bd96989dd42a51a73eddb4a5510a6f5e42ac3.tar.xz
wireguard-linux-e74bd96989dd42a51a73eddb4a5510a6f5e42ac3.zip
x86/boot: Fix memory leak in default_get_smp_config()
When default_get_smp_config() is called with early == 1 and mpf->feature1 is non-zero, mpf is leaked because the return path does not do early_memunmap(). Fix this and share a common exit routine. Fixes: 5997efb96756 ("x86/boot: Use memremap() to map the MPF and MPC data") Reported-by: Cfir Cohen <cfir@google.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/alpine.DEB.2.21.1907091942570.28240@chino.kir.corp.google.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions