Public bug reported:

[Impact]

Microsoft has requested for the following bugfixes to be backported into
the noble:linux-azure tree:

2c7d399e551c ("smb: client: reuse file lease key in compound operations")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c7d399e551ccfd87bcae4ef5573097f3313d779

ffceb7640cbf ("smb: client: do not defer close open handles to deleted files")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ffceb7640cbfe6ea60e7769e107451d63a2fe3d3

71f15c90e785 ("smb: client: retry compound request without reusing lease")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71f15c90e785d1de4bcd65a279e7256684c25c0d

fc20c523211a ("cifs: fixes for get_inode_info")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc20c523211a38b87fc850a959cb2149e4fd64b0

ec4535b2a1d7 ("smb: client: fix NULL ptr deref in 
cifs_mark_open_handles_for_deleted_file()")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ec4535b2a1d709d3a1fbec26739c672f13c98a7b

f9c169b51b6c ("smb: client: fix double put of @CFILE in smb2_set_path_size()")
https://github.com/torvalds/linux/commit/f9c169b51b6ce20394594ef674d6b10efba31220

3523a3df03c6 ("smb: client: fix double put of @CFILE in smb2_rename_path()")
https://github.com/torvalds/linux/commit/3523a3df03c6f04f7ea9c2e7050102657e331a4f

[Fix]

2c7d399e551c ("smb: client: reuse file lease key in compound operations")
- cherry-pick

ffceb7640cbf ("smb: client: do not defer close open handles to deleted files")
- backported

71f15c90e785 ("smb: client: retry compound request without reusing lease")
- cherry-pick

fc20c523211a ("cifs: fixes for get_inode_info")
- cherry-pick

ec4535b2a1d7 ("smb: client: fix NULL ptr deref in 
cifs_mark_open_handles_for_deleted_file()")
- cherry-pick

f9c169b51b6c ("smb: client: fix double put of @CFILE in smb2_set_path_size()")
- backported

3523a3df03c6 ("smb: client: fix double put of @CFILE in smb2_rename_path()")
- cherry-pick

[Test plan]

Build and boot tested, also ran the xfstests for CIFS to ensure basic
functionality was not compromised.

[Where problems could occur]

Although the changes here are somewhat self-contained, the diff is still
sizeable (especially in ffceb7640cbf ("smb: client: do not defer close
open handles to deleted files")), so there is a moderate regression
risk.

[Other info]

SF #00391202

** Affects: linux-azure (Ubuntu)
     Importance: Undecided
     Assignee: Vinicius Peixoto (vpeixoto)
         Status: New

** Affects: linux-azure (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Changed in: linux-azure (Ubuntu)
     Assignee: (unassigned) => Vinicius Peixoto (vpeixoto)

** Also affects: linux-azure (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/2090880

Title:
  Azure: backport SMB lease key fixes

Status in linux-azure package in Ubuntu:
  New
Status in linux-azure source package in Noble:
  New

Bug description:
  [Impact]

  Microsoft has requested for the following bugfixes to be backported
  into the noble:linux-azure tree:

  2c7d399e551c ("smb: client: reuse file lease key in compound operations")
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c7d399e551ccfd87bcae4ef5573097f3313d779

  ffceb7640cbf ("smb: client: do not defer close open handles to deleted files")
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ffceb7640cbfe6ea60e7769e107451d63a2fe3d3

  71f15c90e785 ("smb: client: retry compound request without reusing lease")
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71f15c90e785d1de4bcd65a279e7256684c25c0d

  fc20c523211a ("cifs: fixes for get_inode_info")
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc20c523211a38b87fc850a959cb2149e4fd64b0

  ec4535b2a1d7 ("smb: client: fix NULL ptr deref in 
cifs_mark_open_handles_for_deleted_file()")
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ec4535b2a1d709d3a1fbec26739c672f13c98a7b

  f9c169b51b6c ("smb: client: fix double put of @CFILE in smb2_set_path_size()")
  
https://github.com/torvalds/linux/commit/f9c169b51b6ce20394594ef674d6b10efba31220

  3523a3df03c6 ("smb: client: fix double put of @CFILE in smb2_rename_path()")
  
https://github.com/torvalds/linux/commit/3523a3df03c6f04f7ea9c2e7050102657e331a4f

  [Fix]

  2c7d399e551c ("smb: client: reuse file lease key in compound operations")
  - cherry-pick

  ffceb7640cbf ("smb: client: do not defer close open handles to deleted files")
  - backported

  71f15c90e785 ("smb: client: retry compound request without reusing lease")
  - cherry-pick

  fc20c523211a ("cifs: fixes for get_inode_info")
  - cherry-pick

  ec4535b2a1d7 ("smb: client: fix NULL ptr deref in 
cifs_mark_open_handles_for_deleted_file()")
  - cherry-pick

  f9c169b51b6c ("smb: client: fix double put of @CFILE in smb2_set_path_size()")
  - backported

  3523a3df03c6 ("smb: client: fix double put of @CFILE in smb2_rename_path()")
  - cherry-pick

  [Test plan]

  Build and boot tested, also ran the xfstests for CIFS to ensure basic
  functionality was not compromised.

  [Where problems could occur]

  Although the changes here are somewhat self-contained, the diff is
  still sizeable (especially in ffceb7640cbf ("smb: client: do not defer
  close open handles to deleted files")), so there is a moderate
  regression risk.

  [Other info]

  SF #00391202

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2090880/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to