cifs: fix potential race when tree connecting ipc
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.16, 6.2.15, 6.3.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- 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