diff options
| author | Paulo Alcantara <[email protected]> | 2023-07-11 17:15:10 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-07-13 04:29:39 +0000 |
| commit | bf99f6be2d20146942bce6f9e90a0ceef12cbc1e (patch) | |
| tree | b450eef72c474d156f50c778c2606034198694ac /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | smb: client: Fix -Wstringop-overflow issues (diff) | |
| download | kernel-bf99f6be2d20146942bce6f9e90a0ceef12cbc1e.tar.gz kernel-bf99f6be2d20146942bce6f9e90a0ceef12cbc1e.zip | |
smb: client: fix missed ses refcounting
Use new cifs_smb_ses_inc_refcount() helper to get an active reference
of @ses and @ses->dfs_root_ses (if set). This will prevent
@ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses()
and thus potentially causing an use-after-free bug.
Fixes: 8e3554150d6c ("cifs: fix sharing of DFS connections")
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
