[PATCH 5.10] Backport the fix for CVE-2024-23851 to v5.10

He Gao
2024-02-20T23:50:19Z

This is the fix of CVE-2024-23851 for kernel v5.10.

Upstream commit: https://github.com/torvalds/linux/commit/bd504bcfec41a503b32054da5472904b404341a4

Changed code not affected by the patch for the old version.

He Gao (1):
dm: limit the number of targets and parameter size area

drivers/md/dm-core.h | 2 ++
drivers/md/dm-ioctl.c | 3 ++-
drivers/md/dm-table.c | 9 +++++++--
3 files changed, 11 insertions(+), 3 deletions(-)

--
2.44.0.rc0.258.g7320e95886-goog