Re: [PATCH] x86: Call fixup_exception() before notify_die() in math_error()

2018-06-19 Thread Siarhei Liakh
On Tue, 19 Jun 2018, Andy Lutomirski wrote:  > On Jun 19, 2018, at 9:15 AM, Siarhei Liakh > wrote: > > > On Mon, 18 Jun 2018, Andy Lutomirski wrote: > > > > > > On Thu, Jun 14, 2018 at 10:10 PM Siarhei Liakh > > > > wrote: > > > >

[PATCH] x86: Call fixup_exception() before notify_die() in math_error()

2018-06-14 Thread Siarhei Liakh
triggers KDB entry on debug kernels under particular FPU-intensive workloads. This issue had been privately observed, fixed, and tested on 4.9.98, while this patch brings the fix to the upstream. Signed-off-by: Siarhei Liakh --- diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index

Pointer magic in mm_init_cpumask()

2019-08-21 Thread Siarhei Liakh
Hello everyone. I was chasing some issue in my own code when I came across the following in include/linux/mm_types.h: == /* Pointer magic because the dynamic array size confuses some compilers. */ static inline void mm_init_cpumask(struct mm_struct *mm) { unsigned long c

[PATCH] unlz4: Handle 0-size chunks, discard trailing padding/garbage

2020-11-16 Thread siarhei . liakh
From: Siarhei Liakh TL;DR: There are two places in unlz4() function where reads beyond the end of a buffer might happen under certain conditions which had been observed in real life on stock Ubuntu 20.04 x86_64 with several vanilla mainline kernels, including 5.10. As a result of this issue

[PATCH v2] unlz4: Handle 0-size chunks, ignore trailing padding

2020-11-17 Thread siarhei . liakh
From: Siarhei Liakh SHORT DESCRIPTION: There are two places in unlz4() function where reads beyond the end of a buffer happen under certain conditions which had been observed in real life on stock Ubuntu 20.04 x86_64 with several vanilla mainline kernels, including 5.10.0. As a result of this

[tip:x86/urgent] x86: Call fixup_exception() before notify_die() in math_error()

2018-06-20 Thread tip-bot for Siarhei Liakh
Commit-ID: 3ae6295ccb7cf6d344908209701bad503e40 Gitweb: https://git.kernel.org/tip/3ae6295ccb7cf6d344908209701bad503e40 Author: Siarhei Liakh AuthorDate: Thu, 14 Jun 2018 19:36:07 + Committer: Thomas Gleixner CommitDate: Wed, 20 Jun 2018 11:44:56 +0200 x86: Call