In the Linux kernel, the following vulnerability has been resolved:
ksmbd: prevent connection release during oplock break notification
ksmbdwork could be freed when after connection release. Increment rcount of ksmbd_conn to indicate that requests are not finished yet and to not release the connection.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21955.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21955.json"
[
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"line_hashes": [
"170678115675254683693164397960212957327",
"159723105329707252656082168670198158698",
"338874609949234273217739293790110881887",
"130711997165515123872420251255458736510"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-21ac8438",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c",
"function": "smb2_lease_break_noti"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "164585460595117285577181523608311399830",
"length": 950.0
},
"id": "CVE-2025-21955-27a828b0",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/server.c",
"function": "queue_ksmbd_work"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "186124402163900546262731810105389686042",
"length": 481.0
},
"id": "CVE-2025-21955-36573dc3",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c",
"function": "__smb2_lease_break_noti"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "189871104780197061278408428471642967452",
"length": 1434.0
},
"id": "CVE-2025-21955-b8dc3442",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/server.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"line_hashes": [
"208227573252462154982139521404429212065",
"265082637484653847725543618915219594662",
"196147967361927976796283213332456903107",
"266067032748781261349098651591496741350",
"180202591181511561906762901095228023973",
"81101190369184323819718790383429530205",
"210152415241703005052975420190718920247",
"57054138709384638916361005733036865552",
"118337182439391556931009344428758710041",
"64608890414181452556420494204155635385",
"50142168858238336546444821560563413988",
"222552381686016628185807802274408652556"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-ba1afa46",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/server.c",
"function": "handle_ksmbd_work"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "93551861298450331464241622300808793388",
"length": 457.0
},
"id": "CVE-2025-21955-d24d4bbb",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"line_hashes": [
"147356175124840709475528598533124139779",
"69370719159557536462009041873569636922",
"69025421416136139713897350557121533230"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-e740aad6",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c",
"function": "smb2_oplock_break_noti"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "132233685841330436807972655482111348722",
"length": 722.0
},
"id": "CVE-2025-21955-ec5ead69",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c",
"function": "__smb2_oplock_break_noti"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"function_hash": "90054105818488538989147583110864838168",
"length": 1609.0
},
"id": "CVE-2025-21955-f421128b",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09aeab68033161cb54f194da93e51a11aee6144b",
"deprecated": false,
"digest": {
"line_hashes": [
"253931597949906711585019830546773633600",
"301521491174255471068965116534399036722",
"265973740176055143140201934113091771113",
"202942092389604725267798881616232932900",
"148111314304662077290905213066094924497",
"307237811482963076168391880462138631668",
"271430776873655507936482384385936102586",
"85296143195290226312782030653450193931",
"73555576943698304245074489207710835181",
"105141750071566475185172450128406331159",
"203721571830351115432173611635628267235",
"199552638248258961861153419433963254086",
"109896774579187900318465584008575552122",
"280028531311909206874620994773961819951",
"272451344943838192089278853490245543396",
"224408024630595597007759466851730291436",
"135366647783552348297034769329548624585",
"307237811482963076168391880462138631668",
"16473217183897082981714315726714678994",
"172977740500593582198159814874131548407",
"73555576943698304245074489207710835181",
"199444585537244476004292524118441248675",
"161717901462460989345275464861729461146",
"248710358951402073387726069690115518705"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-fc2bede1",
"signature_type": "Line"
}
]