mbox series

[5.15,CANDIDATE,00/17] 5.15 backports from 5.19..6.1

Message ID 20231114015339.3922119-1-leah.rumancik@gmail.com (mailing list archive)
Headers show
Series 5.15 backports from 5.19..6.1 | expand

Message

Leah Rumancik Nov. 14, 2023, 1:53 a.m. UTC
Hello,

Here is the next set of fixes for 5.15. Tested on 10 configs x 30 runs
with no regressions seen on these commits. Commit 7d839e325a "xfs: check
return codes when flushing block devices" is in this range but was left
out for now as it revealed a regression which exists upstream. I'll
include it in a future set once its fix is accepted.

- Leah

Chandan Babu R (1):
  xfs: Fix false ENOSPC when performing direct write on a delalloc
    extent in cow fork

ChenXiaoSong (1):
  xfs: fix NULL pointer dereference in xfs_getbmap()

Darrick J. Wong (8):
  xfs: refactor buffer cancellation table allocation
  xfs: don't leak xfs_buf_cancel structures when recovery fails
  xfs: convert buf_cancel_table allocation to kmalloc_array
  xfs: prevent a UAF when log IO errors race with unmount
  xfs: fix use-after-free in xattr node block inactivation
  xfs: don't leak memory when attr fork loading fails
  xfs: fix intermittent hang during quotacheck
  xfs: avoid a UAF when log intent item recovery fails

Gao Xiang (1):
  xfs: add missing cmap->br_state = XFS_EXT_NORM update

Guo Xuenan (1):
  xfs: fix exception caused by unexpected illegal bestcount in leaf dir

Kaixu Xia (1):
  xfs: use invalidate_lock to check the state of mmap_lock

Li Zetao (1):
  xfs: Fix unreferenced object reported by kmemleak in xfs_sysfs_init()

Zeng Heng (1):
  xfs: fix memory leak in xfs_errortag_init

Zhang Yi (1):
  xfs: flush inode gc workqueue before clearing agi bucket

hexiaole (1):
  xfs: fix inode reservation space for removing transaction

 fs/xfs/libxfs/xfs_dir2_leaf.c   |   9 +-
 fs/xfs/libxfs/xfs_inode_fork.c  |   1 +
 fs/xfs/libxfs/xfs_log_recover.h |  14 ++-
 fs/xfs/libxfs/xfs_trans_resv.c  |   2 +-
 fs/xfs/xfs_attr_inactive.c      |   8 +-
 fs/xfs/xfs_bmap_util.c          |  17 +--
 fs/xfs/xfs_buf_item_recover.c   |  66 +++++++++++
 fs/xfs/xfs_error.c              |   9 +-
 fs/xfs/xfs_inode.c              |   4 +-
 fs/xfs/xfs_log.c                |   9 +-
 fs/xfs/xfs_log_priv.h           |   3 -
 fs/xfs/xfs_log_recover.c        |  44 +++----
 fs/xfs/xfs_qm.c                 |   7 ++
 fs/xfs/xfs_reflink.c            | 197 ++++++++++++++++++++++++++------
 fs/xfs/xfs_sysfs.h              |   7 +-
 15 files changed, 307 insertions(+), 90 deletions(-)

Comments

Chandan Babu R Nov. 14, 2023, 6:43 a.m. UTC | #1
On Mon, Nov 13, 2023 at 05:53:21 PM -0800, Leah Rumancik wrote:
> Hello,
>
> Here is the next set of fixes for 5.15. Tested on 10 configs x 30 runs
> with no regressions seen on these commits. Commit 7d839e325a "xfs: check
> return codes when flushing block devices" is in this range but was left
> out for now as it revealed a regression which exists upstream. I'll
> include it in a future set once its fix is accepted.
>
> - Leah
>

Looks good to me.

Acked-by: Chandan Babu R <chandanbabu@kernel.org>

> Chandan Babu R (1):
>   xfs: Fix false ENOSPC when performing direct write on a delalloc
>     extent in cow fork
>
> ChenXiaoSong (1):
>   xfs: fix NULL pointer dereference in xfs_getbmap()
>
> Darrick J. Wong (8):
>   xfs: refactor buffer cancellation table allocation
>   xfs: don't leak xfs_buf_cancel structures when recovery fails
>   xfs: convert buf_cancel_table allocation to kmalloc_array
>   xfs: prevent a UAF when log IO errors race with unmount
>   xfs: fix use-after-free in xattr node block inactivation
>   xfs: don't leak memory when attr fork loading fails
>   xfs: fix intermittent hang during quotacheck
>   xfs: avoid a UAF when log intent item recovery fails
>
> Gao Xiang (1):
>   xfs: add missing cmap->br_state = XFS_EXT_NORM update
>
> Guo Xuenan (1):
>   xfs: fix exception caused by unexpected illegal bestcount in leaf dir
>
> Kaixu Xia (1):
>   xfs: use invalidate_lock to check the state of mmap_lock
>
> Li Zetao (1):
>   xfs: Fix unreferenced object reported by kmemleak in xfs_sysfs_init()
>
> Zeng Heng (1):
>   xfs: fix memory leak in xfs_errortag_init
>
> Zhang Yi (1):
>   xfs: flush inode gc workqueue before clearing agi bucket
>
> hexiaole (1):
>   xfs: fix inode reservation space for removing transaction
>
>  fs/xfs/libxfs/xfs_dir2_leaf.c   |   9 +-
>  fs/xfs/libxfs/xfs_inode_fork.c  |   1 +
>  fs/xfs/libxfs/xfs_log_recover.h |  14 ++-
>  fs/xfs/libxfs/xfs_trans_resv.c  |   2 +-
>  fs/xfs/xfs_attr_inactive.c      |   8 +-
>  fs/xfs/xfs_bmap_util.c          |  17 +--
>  fs/xfs/xfs_buf_item_recover.c   |  66 +++++++++++
>  fs/xfs/xfs_error.c              |   9 +-
>  fs/xfs/xfs_inode.c              |   4 +-
>  fs/xfs/xfs_log.c                |   9 +-
>  fs/xfs/xfs_log_priv.h           |   3 -
>  fs/xfs/xfs_log_recover.c        |  44 +++----
>  fs/xfs/xfs_qm.c                 |   7 ++
>  fs/xfs/xfs_reflink.c            | 197 ++++++++++++++++++++++++++------
>  fs/xfs/xfs_sysfs.h              |   7 +-
>  15 files changed, 307 insertions(+), 90 deletions(-)