Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85934ed4 authored by xiaocong.gu's avatar xiaocong.gu
Browse files

Integrate security patch 2021-12-05-CVE-2021-33909

Change-Id: Ia18049796e6f422eb3ef540fa45aa4d12fa2a3f0
parent 76d72397
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ static void seq_set_overflow(struct seq_file *m)

static void *seq_buf_alloc(unsigned long size)
{
       if (unlikely(size > MAX_RW_COUNT))
               return NULL;

	return kvmalloc(size, GFP_KERNEL_ACCOUNT);
}