[GIT,PULL] erofs fixes for 6.1-rc6

Message ID Y3OhbojEWZa35DVf@debian
State New
Headers
Series [GIT,PULL] erofs fixes for 6.1-rc6 |

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.1-rc6-fixes

Message

Gao Xiang Nov. 15, 2022, 2:25 p.m. UTC
  Hi Linus,

Could you consider these three fixes for 6.1-rc6?

Most patches randomly fix error paths or corner cases in fscache mode
reported recently.  And the rest one fixes an invalid access relating
to fragments on crafted images.  Details are shown as below.

I should submit earlier for -rc5 but actually delay a bit since one
commit message got minor updated.  All commits have been in linux-next
and no merge conflicts.

Thanks,
Gao Xiang

The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

  Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.1-rc6-fixes

for you to fetch changes up to 37020bbb71d911431e16c2c940b97cf86ae4f2f6:

  erofs: fix missing xas_retry() in fscache mode (2022-11-14 23:48:38 +0800)

----------------------------------------------------------------
Changes since last update:

 - Fix packed_inode invalid access when reading fragments on crafted
   images;

 - Add a missing erofs_put_metabuf() in an error path in fscache mode;

 - Fix incorrect `count' for unmapped extents in fscache mode;

 - Fix use-after-free of fsid and domain_id string when remounting;

 - Fix missing xas_retry() in fscache mode.

----------------------------------------------------------------
Jingbo Xu (4):
      erofs: put metabuf in error path in fscache mode
      erofs: get correct count for unmapped range in fscache mode
      erofs: fix use-after-free of fsid and domain_id string
      erofs: fix missing xas_retry() in fscache mode

Yue Hu (1):
      erofs: fix general protection fault when reading fragment

 fs/erofs/fscache.c  | 35 +++++++++++++++++++++--------------
 fs/erofs/internal.h |  6 ++++--
 fs/erofs/super.c    | 39 ++++++++++++++++++++++-----------------
 fs/erofs/sysfs.c    |  8 ++++----
 fs/erofs/zdata.c    |  3 +++
 5 files changed, 54 insertions(+), 37 deletions(-)
  

Comments

pr-tracker-bot@kernel.org Nov. 15, 2022, 6:37 p.m. UTC | #1
The pull request you sent on Tue, 15 Nov 2022 22:25:50 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.1-rc6-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/81e7cfa3a9eb4ba6993a9c71772fdab21bc5d870

Thank you!