aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2024-04-02 03:37:42 +0000
committerSteve French <[email protected]>2024-04-02 15:09:57 +0000
commit062a7f0ff46eb57aff526897bd2bebfdb1d3046a (patch)
treea65b2e2e9eb0cd89761ac42b93993765a2f2c23b /net/nsh/nsh.c
parentcifs: Fix caching to try to do open O_WRONLY as rdwr on server (diff)
downloadkernel-062a7f0ff46eb57aff526897bd2bebfdb1d3046a.tar.gz
kernel-062a7f0ff46eb57aff526897bd2bebfdb1d3046a.zip
smb: client: guarantee refcounted children from parent session
Avoid potential use-after-free bugs when walking DFS referrals, mounting and performing DFS failover by ensuring that all children from parent @tcon->ses are also refcounted. They're all needed across the entire DFS mount. Get rid of @tcon->dfs_ses_list while we're at it, too. Cc: [email protected] # 6.4+ Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions