← CVE Intelligence

CVE-2023-54076

smb: client: fix missed ses refcounting PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: 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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 8e3554150d6c80a84b3cb046615d1a0e943811dc before eb382196e6f6e05cfafdab797840e5a96c6e7bf0; affected 8e3554150d6c80a84b3cb046615d1a0e943811dc before bf99f6be2d20146942bce6f9e90a0ceef12cbc1e; affected f30d226bcc9f0e2d97b4a6e94c43a28148fbeab6; affected c082c3be0f96e759ff2e361d929832fda0b93851; affected 6.2.15 before 6.3; affected 6.3.2 before 6.4
Linux / Linuxaffected 6.4; unaffected 0 before 6.4; unaffected 6.4.7 through 6.4.*; unaffected 6.5 through *

CWE

No CWE identifiers supplied.

References