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.
[
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/server.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"line_hashes": [
"208227573252462154982139521404429212065",
"265082637484653847725543618915219594662",
"196147967361927976796283213332456903107",
"266067032748781261349098651591496741350",
"180202591181511561906762901095228023973",
"81101190369184323819718790383429530205",
"210152415241703005052975420190718920247",
"57054138709384638916361005733036865552",
"118337182439391556931009344428758710041",
"64608890414181452556420494204155635385",
"50142168858238336546444821560563413988",
"222552381686016628185807802274408652556"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-008e3c5a"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 729.0,
"function_hash": "83101133938780781960414281984093263307"
},
"id": "CVE-2025-21955-087db5e2"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 481.0,
"function_hash": "186124402163900546262731810105389686042"
},
"id": "CVE-2025-21955-0991ff99"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"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-19952b65"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 1434.0,
"function_hash": "189871104780197061278408428471642967452"
},
"id": "CVE-2025-21955-1fc36e5c"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"line_hashes": [
"170678115675254683693164397960212957327",
"159723105329707252656082168670198158698",
"338874609949234273217739293790110881887",
"130711997165515123872420251255458736510"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-3f05677e"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"line_hashes": [
"147356175124840709475528598533124139779",
"69370719159557536462009041873569636922",
"69025421416136139713897350557121533230"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-5e044549"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"line_hashes": [
"147356175124840709475528598533124139779",
"69370719159557536462009041873569636922",
"69025421416136139713897350557121533230"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-6bbc6adf"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/connection.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"line_hashes": [
"170678115675254683693164397960212957327",
"159723105329707252656082168670198158698",
"338874609949234273217739293790110881887",
"130711997165515123872420251255458736510"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-6c2c1afa"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 950.0,
"function_hash": "164585460595117285577181523608311399830"
},
"id": "CVE-2025-21955-75584275"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 457.0,
"function_hash": "93551861298450331464241622300808793388"
},
"id": "CVE-2025-21955-78f3e49b"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/server.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"line_hashes": [
"208227573252462154982139521404429212065",
"265082637484653847725543618915219594662",
"196147967361927976796283213332456903107",
"266067032748781261349098651591496741350",
"180202591181511561906762901095228023973",
"81101190369184323819718790383429530205",
"210152415241703005052975420190718920247",
"57054138709384638916361005733036865552",
"118337182439391556931009344428758710041",
"64608890414181452556420494204155635385",
"50142168858238336546444821560563413988",
"222552381686016628185807802274408652556"
],
"threshold": 0.9
},
"id": "CVE-2025-21955-7bc5a634"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 457.0,
"function_hash": "93551861298450331464241622300808793388"
},
"id": "CVE-2025-21955-876fbe51"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 957.0,
"function_hash": "257461253032400671279652271198276212556"
},
"id": "CVE-2025-21955-a11cb494"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 1609.0,
"function_hash": "90054105818488538989147583110864838168"
},
"id": "CVE-2025-21955-b13b6e76"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/oplock.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"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-b32b12f1"
},
{
"signature_type": "Function",
"deprecated": false,
"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@f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa",
"digest": {
"length": 1434.0,
"function_hash": "189871104780197061278408428471642967452"
},
"id": "CVE-2025-21955-b802cb67"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 481.0,
"function_hash": "186124402163900546262731810105389686042"
},
"id": "CVE-2025-21955-f359af3b"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 1609.0,
"function_hash": "90054105818488538989147583110864838168"
},
"id": "CVE-2025-21955-fb2f34ff"
},
{
"signature_type": "Function",
"deprecated": false,
"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@a4261bbc33fbf99b99c80aa3a2c5097611802980",
"digest": {
"length": 722.0,
"function_hash": "132233685841330436807972655482111348722"
},
"id": "CVE-2025-21955-fb54ff03"
}
]