mbox series

[stable,5.10.y,0/2] backport two patches to avoid invalid memory access while mounting btrfs crafted image

Message ID 20220222033117.1421286-1-l@damenly.su (mailing list archive)
Headers show
Series backport two patches to avoid invalid memory access while mounting btrfs crafted image | expand

Message

Su Yue Feb. 22, 2022, 3:31 a.m. UTC
Due to btrfs_item* helpers name changes in v5.17-rc1, here are two manual
backport patches. Already verified by running fstests. 

Su Yue (2):
  btrfs: tree-checker: check item_size for inode_item
  btrfs: tree-checker: check item_size for dev_item

 fs/btrfs/tree-checker.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Greg Kroah-Hartman Feb. 23, 2022, 6:21 p.m. UTC | #1
On Tue, Feb 22, 2022 at 11:31:15AM +0800, Su Yue wrote:
> Due to btrfs_item* helpers name changes in v5.17-rc1, here are two manual
> backport patches. Already verified by running fstests. 
> 
> Su Yue (2):
>   btrfs: tree-checker: check item_size for inode_item
>   btrfs: tree-checker: check item_size for dev_item
> 
>  fs/btrfs/tree-checker.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> -- 
> 2.34.1
> 

All now queued up, thanks.

greg k-h