public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gao Xiang <xiang@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Chao Yu <chao@kernel.org>, Yue Hu <huyue2@coolpad.com>,
	Jingbo Xu <jefflexu@linux.alibaba.com>,
	David Howells <dhowells@redhat.com>,
	linux-erofs@lists.ozlabs.org, LKML <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] erofs fixes for 6.1-rc6
Date: Tue, 15 Nov 2022 22:25:50 +0800	[thread overview]
Message-ID: <Y3OhbojEWZa35DVf@debian> (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(-)

             reply	other threads:[~2022-11-15 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-15 14:25 Gao Xiang [this message]
2022-11-15 18:37 ` [GIT PULL] erofs fixes for 6.1-rc6 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3OhbojEWZa35DVf@debian \
    --to=xiang@kernel.org \
    --cc=chao@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=huyue2@coolpad.com \
    --cc=jefflexu@linux.alibaba.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox