[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140423190108.GC4163@mtj.dyndns.org>
Date: Wed, 23 Apr 2014 15:01:08 -0400
From: Tejun Heo <tj@...nel.org>
To: Christian Borntraeger <borntraeger@...ibm.com>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sebastian Ott <sebott@...ux.vnet.ibm.com>,
Peter Oberparleiter <oberpar@...ux.vnet.ibm.com>
Subject: Re: [PATCH] s390/ccwgroup: Fix memory corruption
On Wed, Apr 23, 2014 at 08:58:45PM +0200, Christian Borntraeger wrote:
> commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 (s390: use
> device_remove_file_self() instead of device_schedule_callback())
>
> caused random memory corruption on my s390 box. Turns out that the
> last element of the ccwgroup structure is of dynamic size, so we
> must move the newly introduced work structure _before_ the zero
> length array.
>
> Signed-off-by: Christian Borntraeger <borntraeger@...ibm.com>
> CC: Tejun Heo <tj@...nel.org>
> CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> CC: Martin Schwidefsky <schwidefsky@...ibm.com>
> CC: Heiko Carstens <heiko.carstens@...ibm.com>
> CC: Sebastian Ott <sebott@...ux.vnet.ibm.com>
> CC: Peter Oberparleiter <oberpar@...ux.vnet.ibm.com>
Oops,
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists