Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 5.4 0/3] CVE-2023-1611 Kernel: race between quota disable and quota assign ioctls in fs/btrfs/ioctl.c
@ 2023-07-28  7:39 Harshvardhan Jha
  2023-07-28  7:39 ` [PATCH 5.4 1/3] btrfs: qgroup: remove one-time use variables for quota_root checks Harshvardhan Jha
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Harshvardhan Jha @ 2023-07-28  7:39 UTC (permalink / raw)
  To: stable; +Cc: harshvardhan.j.jha, josef, dsterba, clm

The following series is a backport the fix of CVE-2023-1611
on stable 5.4. All pics were clean and no conflict resolution was
needed.

Commits "btrfs: qgroup: remove one-time use variables for quota_root
checks" and "btrfs: qgroup: return ENOTCONN instead of EINVAL when
quotas are not enabled" were added to get a clean pick for the fix
"btrfs: fix race between quota disable and quota assign ioctls"

These changes have been tested using the xfstests test-suite and no regressions
were observed when compared to stable 5.4.

Filipe Manana (1):
  btrfs: fix race between quota disable and quota assign ioctls

Marcos Paulo de Souza (2):
  btrfs: qgroup: remove one-time use variables for quota_root checks
  btrfs: qgroup: return ENOTCONN instead of EINVAL when quotas are not
    enabled

 fs/btrfs/ioctl.c  |  2 ++
 fs/btrfs/qgroup.c | 55 +++++++++++++++++++++--------------------------
 2 files changed, 27 insertions(+), 30 deletions(-)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-01  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28  7:39 [PATCH 5.4 0/3] CVE-2023-1611 Kernel: race between quota disable and quota assign ioctls in fs/btrfs/ioctl.c Harshvardhan Jha
2023-07-28  7:39 ` [PATCH 5.4 1/3] btrfs: qgroup: remove one-time use variables for quota_root checks Harshvardhan Jha
2023-07-28  7:39 ` [PATCH 5.4 2/3] btrfs: qgroup: return ENOTCONN instead of EINVAL when quotas are not enabled Harshvardhan Jha
2023-07-28  7:39 ` [PATCH 5.4 3/3] btrfs: fix race between quota disable and quota assign ioctls Harshvardhan Jha
2023-08-01  7:52 ` [PATCH 5.4 0/3] CVE-2023-1611 Kernel: race between quota disable and quota assign ioctls in fs/btrfs/ioctl.c Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox