CVE-2022-49822

cifs: Fix connections leak when tlink setup failed

References

Notes

 carnil> Introduced in 56c762eb9bee ("cifs: Refactor out cifs_mount()"). Vulnerable
 carnil> versions: 5.0.

Bugs

Status

Branch Status
upstream released (6.1-rc6) [1dcdf5f5b2137185cbdd5385f29949ab3da4f00c]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.14-upstream-stable N/A "Fixed before branching point"
6.13-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable N/A "Fixed before branching point"
5.10-upstream-stable needed
sid released (6.0.10-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed