Merge tag 'fixes-2023-07-27' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Jul 2023 18:37:34 +0000 (11:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Jul 2023 18:37:34 +0000 (11:37 -0700)
commit379e66711b33f9fdc0513daee6cf3dd8d2f6f435
treee40ab485836aa06993f104ff0ffba608d387fa2c
parent657b5146955eba331e01b9a6ae89ce2e716ba306
parent9e46e4dcd9d6cd88342b028dbfa5f4fb7483d39c
Merge tag 'fixes-2023-07-27' of git://git./linux/kernel/git/rppt/memblock

Pull memblock fix from Mike Rapoport:
 "A call to memblock_free() or memblock_phys_free() issued after
  memblock data is discarded will result in use after free in
  memblock_isolate_range().

  Avoid those issues by making sure that memblock_discard points
  memblock.reserved.regions back at the static buffer"

* tag 'fixes-2023-07-27' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
  mm,memblock: reset memblock.reserved to system init state to prevent UAF