Paper/Archive/CVE-2023-54280

CVE-2023-54280

Linux Linux — cifs: fix potential race when tree connecting ipc

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linuxc88f7dcd6d6429197fc2fd87b54a894ffcd48e8e – < 536ec71ba060a02fabe8e22cecb82fe7b3a8708b536ec71ba060a02fabe8e22cecb82fe7b3a8708bCNA
Linuxc88f7dcd6d6429197fc2fd87b54a894ffcd48e8e – < 553476df55a111e6a66ad9155256aec0ec1b7ad0553476df55a111e6a66ad9155256aec0ec1b7ad0CNA
Linuxc88f7dcd6d6429197fc2fd87b54a894ffcd48e8e – < ee20d7c6100752eaf2409d783f4f1449c29ea33dee20d7c6100752eaf2409d783f4f1449c29ea33dCNA
Linux81d583baa5f1abd73c755ce1992929debd20b687–CNA
Linux5.15.81 – < 5.165.16CNA
Linux5.16–CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/536ec71ba060a02fabe8e22cecb82fe7b3a8708brefgit.kernel.org/stable/c/553476df55a111e6a66ad9155256aec0ec1b7ad0refgit.kernel.org/stable/c/ee20d7c6100752eaf2409d783f4f1449c29ea33d