PoC Monitor
← All CVEs
CVE-2025-22041published 16 Apr 2025 14:11 UTCData: JSON · API

Linux

ksmbd: fix use-after-free in ksmbd_sessions_deregister()

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < f0eb3f575138b816da74697bd506682574742fcd
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a8a8ae303a8395cbac270b5b404d85df6ec788f8
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8ed0e9d2f410f63525afb8351181eea36c80bcf1
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 33cc29e221df7a3085ae413e8c26c4e81a151153
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 15a9605f8d69dc85005b1a00c31a050b8625e1aa

Fixed in f0eb3f575138b816da74697bd506682574742fcd, a8a8ae303a8395cbac270b5b404d85df6ec788f8, ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b, 8ed0e9d2f410f63525afb8351181eea36c80bcf1, 33cc29e221df7a3085ae413e8c26c4e81a151153, 15a9605f8d69dc85005b1a00c31a050b8625e1aa

Linux Linux
  • 5.15

Fixed in 0, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15

Mitigation

Upgrade Linux to f0eb3f575138b816da74697bd506682574742fcd or a8a8ae303a8395cbac270b5b404d85df6ec788f8 or ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b or 8ed0e9d2f410f63525afb8351181eea36c80bcf1 or 33cc29e221df7a3085ae413e8c26c4e81a151153 or 15a9605f8d69dc85005b1a00c31a050b8625e1aa or later.

Upgrade Linux to 0 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.