All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mtdchar_write_ioctl(): prevent integer overflow, use kvmalloc()
@ 2022-05-16  7:05 ` Michał Kępień
  0 siblings, 0 replies; 14+ messages in thread
From: Michał Kępień @ 2022-05-16  7:05 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
  Cc: linux-mtd, linux-kernel

This patch series addresses two flaws in mtdchar_write_ioctl() found by
Richard Weinberger while he was reviewing v3 of the patch series
proposing a new MEMREAD ioctl [1].

Richard, I included a Suggested-by tag crediting you in both of the
patches in this series.  I hope that is okay with you, but please let me
know if it isn't.

Once this patch series is reviewed and accepted, I will apply similar
fixes in v4 of the MEMREAD ioctl patch series.

[1] https://lists.infradead.org/pipermail/linux-mtd/2022-February/091276.html

Michał Kępień (2):
  mtdchar: prevent integer overflow in a safety check
  mtdchar: use kvmalloc() for potentially large allocations

 drivers/mtd/mtdchar.c      | 13 ++++++++-----
 include/uapi/mtd/mtd-abi.h |  4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

-- 
2.36.1



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-06-09 13:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16  7:05 [PATCH 0/2] mtdchar_write_ioctl(): prevent integer overflow, use kvmalloc() Michał Kępień
2022-05-16  7:05 ` Michał Kępień
2022-05-16  7:06 ` [PATCH 1/2] mtdchar: prevent integer overflow in a safety check Michał Kępień
2022-05-16  7:06   ` Michał Kępień
2022-06-07 20:23   ` Richard Weinberger
2022-06-07 20:23     ` Richard Weinberger
2022-06-09 13:10   ` Miquel Raynal
2022-06-09 13:10     ` Miquel Raynal
2022-05-16  7:06 ` [PATCH 2/2] mtdchar: use kvmalloc() for potentially large allocations Michał Kępień
2022-05-16  7:06   ` Michał Kępień
2022-06-07 20:30   ` Richard Weinberger
2022-06-07 20:30     ` Richard Weinberger
2022-06-09 13:10   ` Miquel Raynal
2022-06-09 13:10     ` Miquel Raynal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.