Skip to contentSkip to conversation

erofs fixes for 6.1-rc6

GIT PULL Merged Gao Xiang 2 participants 2 messages Nov 15, 2022

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 15 Nov 2022 22:25:50 +0800:

The pull request you sent on Tue, 15 Nov 2022 22:25:50 +0800:

Quoted 1 line

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html