summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2021-02-10 09:49:28 -0800
committerDavid Sterba <dsterba@suse.com>2021-02-11 19:56:15 +0100
commitca18f6ea012bf30236b76c3480ac2c97131b6f8f (patch)
treea5f9c09af903cb39b9245e03f0a96e863696580c /fs/btrfs
parent6a0996db6879cf09f989c5f44f9edd38240cb346 (diff)
downloadlinux-stable-ca18f6ea012bf30236b76c3480ac2c97131b6f8f.tar.gz
linux-stable-ca18f6ea012bf30236b76c3480ac2c97131b6f8f.tar.bz2
linux-stable-ca18f6ea012bf30236b76c3480ac2c97131b6f8f.zip
mm/highmem: Add VM_BUG_ON() to mem*_page() calls
Add VM_BUG_ON bounds checks to ensure the newly lifted and created page memory operations do not result in corrupted data in neighbor pages.[1][2] [1] https://lore.kernel.org/lkml/20201210053502.GS1563847@iweiny-DESK2.sc.intel.com/ [2] https://lore.kernel.org/lkml/20210209110931.00f00e47d9a0529fcee2ff01@linux-foundation.org/ Suggested-by: Matthew Wilcox <willy@infradead.org> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions