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

Linux

ksmbd: fix session use-after-free in multichannel connection

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session use-after-free in multichannel connection There is a race condition between session setup and ksmbd_sessions_deregister. The session can be freed before the connection is added to channel list of session. This patch check reference count of session before freeing it.

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, < 596407adb9af1ee75fe7c7529607783d31b66e7f
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3980770cb1470054e6400fd97668665975726737
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9069939d762138e232a6f79e3e1462682ed6a17d
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 94c281721d4ed2d972232414b91d98a6f5bdb16b
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 7dfbd4c43eed91dd2548a95236908025707a8dfd
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < fa4cdb8cbca7d6cb6aa13e4d8d83d1103f6345db

Fixed in 596407adb9af1ee75fe7c7529607783d31b66e7f, 3980770cb1470054e6400fd97668665975726737, 9069939d762138e232a6f79e3e1462682ed6a17d, 94c281721d4ed2d972232414b91d98a6f5bdb16b, 7dfbd4c43eed91dd2548a95236908025707a8dfd, fa4cdb8cbca7d6cb6aa13e4d8d83d1103f6345db

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 596407adb9af1ee75fe7c7529607783d31b66e7f or 3980770cb1470054e6400fd97668665975726737 or 9069939d762138e232a6f79e3e1462682ed6a17d or 94c281721d4ed2d972232414b91d98a6f5bdb16b or 7dfbd4c43eed91dd2548a95236908025707a8dfd or fa4cdb8cbca7d6cb6aa13e4d8d83d1103f6345db 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.