Skip to main content
← All vulnerabilities
CVE-2023-54280

cifs: fix potential race when tree connecting ipc

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.16, 6.2.15, 6.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential race when tree connecting ipc Protect access of TCP_Server_Info::hostname when building the ipc tree name as it might get freed in cifsd thread and thus causing an use-after-free bug in __tree_connect_dfs_target(). Also, while at it, update status of IPC tcon on success and then avoid any extra tree connects.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e · fixed in 536ec71ba060a02fabe8e22cecb82fe7b3a8708b; From c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e · fixed in 553476df55a111e6a66ad9155256aec0ec1b7ad0; From c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e · fixed in ee20d7c6100752eaf2409d783f4f1449c29ea33d; From 5.15.81 · fixed in 5.16

  • Linux Linux

    5.16

  • KernelLinux

    From 5.16.0 · fixed in 6.2.15; From 6.3.0 · fixed in 6.3.2

References 3

git.kernel.org