CVE-2025-21673

smb: client: fix double free of TCP_Server_Info::hostname

References

Notes

 carnil> Introduced in 7be3248f3139 ("cifs: To match file servers, make sure the server
 carnil> hostname matches"). Vulnerable versions: 5.14.19 5.15.3 5.16-rc1.

Bugs

Status

Branch Status
upstream released (6.13) [fa2f9906a7b333ba757a7dbae0713d8a5396186e]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable released (6.12.11) [a2be5f2ba34d0c6d5ef2624b24e3d852561fcd6a]
6.6-upstream-stable released (6.6.74) [1ea68070338518a1d31ce71e6abfe1b30001b27a]
6.1-upstream-stable needed
5.10-upstream-stable N/A "Vulnerable code not present"
sid released (6.12.11-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security needed
5.10-bullseye-security N/A "Vulnerable code not present"