# CVE-2023-54280: cifs: fix potential race when tree connecting ipc

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-12-30T12:23:22.335Z
- Modified: 2026-10-15T22:17:57.287Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before 536ec71ba060a02fabe8e22cecb82fe7b3a8708b; from c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before 553476df55a111e6a66ad9155256aec0ec1b7ad0; from c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before ee20d7c6100752eaf2409d783f4f1449c29ea33d; 81d583baa5f1abd73c755ce1992929debd20b687; from 5.15.81 before 5.16; 5.16 (not affected: before 5.16; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/536ec71ba060a02fabe8e22cecb82fe7b3a8708b>
- <https://git.kernel.org/stable/c/553476df55a111e6a66ad9155256aec0ec1b7ad0>
- <https://git.kernel.org/stable/c/ee20d7c6100752eaf2409d783f4f1449c29ea33d>

## Sources

- CVE List: [CVE-2023-54280](https://www.cve.org/CVERecord?id=CVE-2023-54280), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-54280](https://nvd.nist.gov/vuln/detail/CVE-2023-54280), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-54280 · Whole record: https://cve.day/CVE-2023-54280.json · Rebuilt by cve.day 2026-11-25T22:58:35.257Z
