Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618138
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only |
| Date | 2017-04-06 18:10 +0200 |
| Message-ID | <tti8W-33D-17@gated-at.bofh.it> (permalink) |
| References | <tsZSF-7nH-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 5, 2017 at 1:36 PM, Mathias Krause <minipli@googlemail.com> wrote: > If either via kernel command line 'vdso32=' or via 'sysctl abi.vsyscall32' > vdso32_enabled gets set to a value below 0 or above 1, load_vdso32() won't > map the vDSO but ARCH_DLINFO_IA32 would still pass an AT_SYSINFO_EHDR > auxiliary vector, however with a NULL pointer. That'll make any program > trying to make use of it fail with a segmentation fault. At least musl > makes use of it if the kernel provides it. > > Ensure vdso32_enabled gets set to valid values only to fix this corner > case. Acked-by: Andy Lutomirski <luto@kernel.org>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only Mathias Krause <minipli@googlemail.com> - 2017-04-05 22:40 +0200
Re: [PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only Andy Lutomirski <luto@kernel.org> - 2017-04-06 18:10 +0200
Re: [PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only Thomas Gleixner <tglx@linutronix.de> - 2017-04-10 15:20 +0200
Re: [PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only Thomas Gleixner <tglx@linutronix.de> - 2017-04-10 15:50 +0200
csiph-web