On 08/11/2016 04:42 PM, Alexander Potapenko wrote:
> On Thu, Aug 11, 2016 at 12:50 AM, Andrew Morton
> wrote:
>> On Tue, 2 Aug 2016 12:27:00 +0200 Alexander Potapenko
>> wrote:
>>
>>> If the total amount of memory assigned to quarantine is less than the
>>> amount of memory assigned to per-cp
On Thu, Aug 11, 2016 at 12:50 AM, Andrew Morton
wrote:
> On Tue, 2 Aug 2016 12:27:00 +0200 Alexander Potapenko
> wrote:
>
>> If the total amount of memory assigned to quarantine is less than the
>> amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
>> may overflow. Instead,
On Tue, 2 Aug 2016 12:27:00 +0200 Alexander Potapenko
wrote:
> If the total amount of memory assigned to quarantine is less than the
> amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
> may overflow. Instead, set it to zero.
>
> ...
>
> --- a/mm/kasan/quarantine.c
> +++
On 08/02/2016 01:27 PM, Alexander Potapenko wrote:
> If the total amount of memory assigned to quarantine is less than the
> amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
> may overflow. Instead, set it to zero.
>
> Reported-by: Dmitry Vyukov
> Fixes: 55834c59098d ("mm:
4 matches
Mail list logo