mbox series

[5.10.y,0/2] Backport fix of CVE-2024-47674 to 5.10

Message ID 20241105155042.288813-1-harshvardhan.j.jha@oracle.com (mailing list archive)
Headers show
Series Backport fix of CVE-2024-47674 to 5.10 | expand

Message

Harshvardhan Jha Nov. 5, 2024, 3:50 p.m. UTC
Following series is a backport of CVE-2024-47674 fix "mm: avoid leaving
partial pfn mappings around in error case" to 5.10.

This required an extra commit "mm: add remap_pfn_range_notrack" to make
both picks clean. The patchset shows no regression compared to 5.10.228
tag.

Christoph Hellwig (1):
  mm: add remap_pfn_range_notrack

Linus Torvalds (1):
  mm: avoid leaving partial pfn mappings around in error case

 include/linux/mm.h |  2 ++
 mm/memory.c        | 70 ++++++++++++++++++++++++++++++++--------------
 2 files changed, 51 insertions(+), 21 deletions(-)