CVE-2025-40285

NameCVE-2025-40285
DescriptionIn the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible refcount leak in smb2_sess_setup() Reference count of ksmbd_session will leak when session need reconnect. Fix this by adding the missing ksmbd_user_session_put().
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4436-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1fixed
bullseye (security)5.10.247-1fixed
bookworm6.1.159-1fixed
bookworm (security)6.1.158-1vulnerable
trixie6.12.63-1fixed
trixie (security)6.12.48-1vulnerable
forky6.17.13-1fixed
sid6.18.5-1fixed
linux-6.1 (PTS)bullseye (security)6.1.159-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye(not affected)
linuxsourcebookworm6.1.159-1
linuxsourcetrixie6.12.63-1
linuxsource(unstable)6.17.9-1
linux-6.1sourcebullseye6.1.159-1~deb11u1DLA-4436-1

Notes

[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/379510a815cb2e64eb0a379cb62295d6ade65df0 (6.18-rc2)

Search for package or bug name: Reporting problems