All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: CIFS <linux-cifs@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes
Date: Sat, 6 Apr 2024 00:08:19 -0500	[thread overview]
Message-ID: <CAH2r5ms=TTjN5yoGsnEhrvqioM3pG6ANcTwsC8L1q833EPmMtQ@mail.gmail.com> (raw)

Please pull the following changes since commit
39cd87c4eb2b893354f3b850f916353f2658ae6f:

  Linux 6.9-rc2 (2024-03-31 14:32:39 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.9-rc2-smb3-client-fixes

for you to fetch changes up to e0e50401cc3921c9eaf1b0e667db174519ea939f:

  smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
(2024-04-03 14:45:15 -0500)

----------------------------------------------------------------
17 cifs.ko changesets, most also for stable
- fix to retry close to avoid potential handle leaks when server returns EBUSY
- Three DFS fixes including a fix for potential use after free
- fscache fix
- minor strncpy cleanup
- reconnect race fix
- series of patches to deal with various possible race conditions
(UAFs) tearing sessions down

The important fix to support password rotation is not included in this P/R (am
giving that patch more time for any additional review feedback) but should be
ready to send next week.

----------------------------------------------------------------
David Howells (1):
      cifs: Fix caching to try to do open O_WRONLY as rdwr on server

Justin Stitt (1):
      smb: client: replace deprecated strncpy with strscpy

Paulo Alcantara (14):
      smb: client: fix UAF in smb2_reconnect_server()
      smb: client: guarantee refcounted children from parent session
      smb: client: refresh referral without acquiring refpath_lock
      smb: client: handle DFS tcons in cifs_construct_tcon()
      smb: client: serialise cifs_construct_tcon() with cifs_mount_mutex
      smb: client: fix potential UAF in cifs_debug_files_proc_show()
      smb: client: fix potential UAF in cifs_dump_full_key()
      smb: client: fix potential UAF in cifs_stats_proc_write()
      smb: client: fix potential UAF in cifs_stats_proc_show()
      smb: client: fix potential UAF in smb2_is_valid_lease_break()
      smb: client: fix potential UAF in smb2_is_valid_oplock_break()
      smb: client: fix potential UAF in is_valid_oplock_break()
      smb: client: fix potential UAF in smb2_is_network_name_deleted()
      smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()

Ritvik Budhiraja (1):
      smb3: retrying on failed server close

 fs/smb/client/cached_dir.c    |   6 +-
 fs/smb/client/cifs_debug.c    |   6 ++
 fs/smb/client/cifsfs.c        |  11 +++
 fs/smb/client/cifsglob.h      |  19 ++++--
 fs/smb/client/cifsproto.h     |  20 +++---
 fs/smb/client/cifssmb.c       |   6 +-
 fs/smb/client/connect.c       | 153 +++++++++++++++++++++++++++---------------
 fs/smb/client/dfs.c           |  51 +++++++-------
 fs/smb/client/dfs.h           |  33 +++++----
 fs/smb/client/dfs_cache.c     |  53 +++++++--------
 fs/smb/client/dir.c           |  15 +++++
 fs/smb/client/file.c          | 111 +++++++++++++++++++++++++-----
 fs/smb/client/fs_context.c    |   6 +-
 fs/smb/client/fs_context.h    |  12 ++++
 fs/smb/client/fscache.h       |   6 ++
 fs/smb/client/ioctl.c         |   6 +-
 fs/smb/client/misc.c          |   8 +--
 fs/smb/client/smb1ops.c       |   4 +-
 fs/smb/client/smb2misc.c      |   4 ++
 fs/smb/client/smb2ops.c       |  13 ++--
 fs/smb/client/smb2pdu.c       |   2 +-
 fs/smb/client/smb2transport.c |   2 +-
 22 files changed, 369 insertions(+), 178 deletions(-)


-- 
Thanks,

Steve

             reply	other threads:[~2024-04-06  5:08 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06  5:08 Steve French [this message]
2024-04-06 16:19 ` [GIT PULL] smb3 client fixes pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2024-04-27 16:45 Steve French
2024-04-27 19:17 ` pr-tracker-bot
2024-04-13  9:18 Steve French
2024-04-13 17:12 ` pr-tracker-bot
2024-03-29 17:05 Steve French
2024-03-29 19:27 ` pr-tracker-bot
2024-02-17  4:28 Steve French
2024-02-17 16:27 ` pr-tracker-bot
2024-02-10  0:33 Steve French
2024-02-10  1:15 ` pr-tracker-bot
2024-02-03 20:47 Steve French
2024-02-04  7:44 ` pr-tracker-bot
2024-01-26 22:25 Steve French
2024-01-27 17:21 ` pr-tracker-bot
2024-01-20 23:30 Steve French
2024-01-21  0:59 ` pr-tracker-bot
2024-01-10 22:26 Steve French
2024-01-11  2:24 ` pr-tracker-bot
2023-12-21  4:08 Steve French
2023-12-21  5:22 ` pr-tracker-bot
2023-12-08 22:26 Steve French
2023-12-09 20:34 ` pr-tracker-bot
2023-12-01 23:59 Steve French
2023-12-03  1:24 ` pr-tracker-bot
2023-11-18  0:37 Steve French
2023-11-18 19:44 ` pr-tracker-bot
2023-11-11 22:21 Steve French
2023-11-12  1:30 ` pr-tracker-bot
2023-10-15  2:15 Steve French
2023-10-15  2:47 ` pr-tracker-bot
2023-10-06 21:44 Steve French
2023-10-07 18:12 ` pr-tracker-bot
2023-09-23 17:28 Steve French
2023-09-23 19:08 ` pr-tracker-bot
2023-09-17  5:42 Steve French
2023-09-17 18:24 ` pr-tracker-bot
2023-09-10  1:36 Steve French
2023-09-10  3:17 ` pr-tracker-bot
2023-08-30 20:48 Steve French
2023-08-31  4:21 ` Linus Torvalds
2023-08-31  4:37   ` Steve French
2023-08-31 10:30   ` Dr. David Alan Gilbert
2023-08-31  4:30 ` pr-tracker-bot
2023-08-15 19:59 [GIT PULL] SMB3 " Steve French
2023-08-15 20:04 ` pr-tracker-bot
2023-07-29 19:07 [GIT PULL] smb3 " Steve French
2023-07-30  3:53 ` pr-tracker-bot
2023-07-16 14:59 Steve French
2023-07-16 19:58 ` pr-tracker-bot
2023-07-09  4:39 Steve French
2023-07-09 17:46 ` pr-tracker-bot
2023-07-01  4:20 Steve French
2023-07-01  5:04 ` pr-tracker-bot
2023-06-15  4:36 Steve French
2023-06-15 23:10 ` pr-tracker-bot
2023-05-21  4:52 Steve French
2023-05-21 18:09 ` pr-tracker-bot
2023-05-12 19:21 Steve French
2023-05-12 22:14 ` pr-tracker-bot
2023-05-06 20:45 Steve French
2023-05-07 18:12 ` pr-tracker-bot
2023-04-30 15:35 Steve French
2023-05-01 19:26 ` pr-tracker-bot
2023-04-22  2:43 Steve French
2023-04-22 16:47 ` pr-tracker-bot
2023-04-08 23:34 Steve French
2023-04-09  2:16 ` pr-tracker-bot
2023-04-01 21:32 Steve French
2023-04-02 18:02 ` pr-tracker-bot
2023-03-16 20:39 Steve French
2023-03-16 22:12 ` pr-tracker-bot
2023-03-03 23:29 Steve French
2023-03-04  0:39 ` pr-tracker-bot
2023-02-23  0:02 Steve French
2023-02-23  1:23 ` pr-tracker-bot
2023-01-20 21:23 Steve French
2023-01-20 22:38 ` pr-tracker-bot
2023-01-14  1:19 Steve French
2023-01-14 14:17 ` pr-tracker-bot
2022-12-20 21:49 Steve French
2022-12-21 18:50 ` pr-tracker-bot
2022-12-15 22:40 Steve French
2022-12-15 22:59 ` pr-tracker-bot
2022-11-27  4:44 [GIT PULL] SMB3 " Steve French
2022-11-27 17:14 ` pr-tracker-bot
2022-11-19  5:02 [GIT PULL] smb3 " Steve French
2022-11-19 17:14 ` pr-tracker-bot
2022-11-06  5:07 Steve French
2022-11-06 18:49 ` pr-tracker-bot
2022-10-30  2:40 Steve French
2022-10-30 18:34 ` pr-tracker-bot
2022-10-21 14:40 Steve French
2022-10-21 23:03 ` pr-tracker-bot
2022-10-16  0:33 Steve French
2022-10-16 18:18 ` pr-tracker-bot
2022-10-09  5:50 Steve French
2022-10-11  3:43 ` pr-tracker-bot
2022-09-16  5:25 Steve French
2022-09-16 14:21 ` pr-tracker-bot
2022-09-02  0:44 Steve French
2022-09-02 23:48 ` pr-tracker-bot
2022-08-27 21:43 Steve French
2022-08-28 18:18 ` pr-tracker-bot
2022-08-20 22:34 Steve French
2022-08-21 18:42 ` pr-tracker-bot
2022-08-13 21:44 Steve French
2022-08-14  0:39 ` pr-tracker-bot
2022-08-07  5:03 Steve French
2022-08-07 17:57 ` pr-tracker-bot
2022-07-14 18:41 Steve French
2022-07-14 20:42 ` pr-tracker-bot
2022-07-14  3:35 Steve French
2022-07-14 18:33 ` Linus Torvalds
2022-06-25 21:38 [GIT PULL] SMB3 " Steve French
2022-06-26 17:36 ` pr-tracker-bot
2022-06-18 22:38 Steve French
2022-06-19  3:02 ` pr-tracker-bot
2022-06-11 16:38 [GIT PULL] smb3 " Steve French
2022-06-12 18:40 ` pr-tracker-bot
2022-06-04 23:00 [GIT PULL] SMB3 " Steve French
2022-06-05  2:13 ` pr-tracker-bot
2022-05-27  6:52 Steve French
2022-05-27 16:31 ` Steve French
2022-04-22 17:00 [GIT PULL] smb3 " Steve French
2022-04-22 20:46 ` pr-tracker-bot
2022-04-14 20:42 Steve French
2022-04-14 23:25 ` pr-tracker-bot
2022-02-18  0:26 Steve French
2022-02-18 17:39 ` pr-tracker-bot
2022-02-12 20:20 Steve French
2022-02-13 18:04 ` pr-tracker-bot
2021-12-19  1:36 Steve French
2021-12-19 20:34 ` pr-tracker-bot
2021-12-04 20:41 Steve French
2021-12-04 21:50 ` pr-tracker-bot
2021-11-13 20:17 Steve French
2021-11-13 20:30 ` pr-tracker-bot
2021-09-11 17:23 Steve French
2021-09-12 17:11 ` Linus Torvalds
2021-09-12 18:41 ` 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='CAH2r5ms=TTjN5yoGsnEhrvqioM3pG6ANcTwsC8L1q833EPmMtQ@mail.gmail.com' \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.