In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix potential use-after-free in oplock/lease break ack
If ksmbdiovpinrsp return error, use-after-free can happen by accessing opinfo->state and opinfoput and ksmbdfdput could called twice.
[
{
"id": "CVE-2025-38437-1da3f2a1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38ec88a2b42c494601b1213816d75f0b54d9bf0",
"target": {
"function": "smb20_oplock_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 2973.0,
"function_hash": "198086827544866369333128113486598587526"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-3f3b4fdb",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
"target": {
"function": "smb21_lease_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 3178.0,
"function_hash": "137408625661133045615177144985197304689"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-4154f5c6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
"target": {
"function": "smb20_oplock_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 2973.0,
"function_hash": "198086827544866369333128113486598587526"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-5052aa7d",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
"target": {
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"line_hashes": [
"192179625523824840576830020788107439699",
"104392511059468846963525576415865317046",
"97852781083258755812580626442052616036",
"177478162684567295183630099335726893108",
"165038995109213687580979916696446765626",
"297915876569087580152418238456265592898",
"4697371381104559598403192751763662000",
"126282739277083419892306216155198231523",
"87111320288821730452234330693860596667",
"230762231807383258405202843885977594374",
"332405752555154982167201206038296218529",
"291339483670371659001863485812294251919",
"284317903802236644140198332708149631108",
"177478162684567295183630099335726893108",
"319036359716570830132194024264136682272",
"249732016330184989345822299343714584911",
"251862043613357336797586067068402483143",
"276987712582508273086044314572868650824",
"241119600252944839744003906244528158919",
"247275649052744973807475623778900262975",
"174884142772900062743264729009743938626",
"184409334995621805258800329385574839475",
"249542259056878956156294454007331300463",
"213266885988250428818199269533374931931",
"107946535020194755991505425382746293287",
"158698795669103027981647243574262172288",
"133099674797452787764202668951088822889",
"177028938562277752215988282445905183894",
"330975919593098193838106381554954248780",
"149900274388384279999672728468359924423",
"20795444043631500687030106237393138310",
"159762170479660044007899903518200391895",
"249542259056878956156294454007331300463",
"200605324469578250004868668538716852973",
"94912855763638238710424802858297551686",
"190619103992345199944442574578615379713",
"61814346300526398470674161880386611265"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-53457b02",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38ec88a2b42c494601b1213816d75f0b54d9bf0",
"target": {
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"line_hashes": [
"192179625523824840576830020788107439699",
"104392511059468846963525576415865317046",
"97852781083258755812580626442052616036",
"177478162684567295183630099335726893108",
"165038995109213687580979916696446765626",
"297915876569087580152418238456265592898",
"4697371381104559598403192751763662000",
"126282739277083419892306216155198231523",
"87111320288821730452234330693860596667",
"230762231807383258405202843885977594374",
"332405752555154982167201206038296218529",
"291339483670371659001863485812294251919",
"284317903802236644140198332708149631108",
"177478162684567295183630099335726893108",
"319036359716570830132194024264136682272",
"249732016330184989345822299343714584911",
"251862043613357336797586067068402483143",
"276987712582508273086044314572868650824",
"241119600252944839744003906244528158919",
"247275649052744973807475623778900262975",
"174884142772900062743264729009743938626",
"184409334995621805258800329385574839475",
"249542259056878956156294454007331300463",
"213266885988250428818199269533374931931",
"107946535020194755991505425382746293287",
"158698795669103027981647243574262172288",
"133099674797452787764202668951088822889",
"177028938562277752215988282445905183894",
"330975919593098193838106381554954248780",
"149900274388384279999672728468359924423",
"20795444043631500687030106237393138310",
"159762170479660044007899903518200391895",
"249542259056878956156294454007331300463",
"200605324469578250004868668538716852973",
"94912855763638238710424802858297551686",
"190619103992345199944442574578615379713",
"61814346300526398470674161880386611265"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-5876f242",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
"target": {
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"line_hashes": [
"192179625523824840576830020788107439699",
"104392511059468846963525576415865317046",
"97852781083258755812580626442052616036",
"177478162684567295183630099335726893108",
"165038995109213687580979916696446765626",
"297915876569087580152418238456265592898",
"4697371381104559598403192751763662000",
"126282739277083419892306216155198231523",
"87111320288821730452234330693860596667",
"230762231807383258405202843885977594374",
"332405752555154982167201206038296218529",
"291339483670371659001863485812294251919",
"284317903802236644140198332708149631108",
"177478162684567295183630099335726893108",
"319036359716570830132194024264136682272",
"249732016330184989345822299343714584911",
"251862043613357336797586067068402483143",
"276987712582508273086044314572868650824",
"241119600252944839744003906244528158919",
"247275649052744973807475623778900262975",
"174884142772900062743264729009743938626",
"184409334995621805258800329385574839475",
"249542259056878956156294454007331300463",
"213266885988250428818199269533374931931",
"107946535020194755991505425382746293287",
"158698795669103027981647243574262172288",
"133099674797452787764202668951088822889",
"177028938562277752215988282445905183894",
"330975919593098193838106381554954248780",
"149900274388384279999672728468359924423",
"20795444043631500687030106237393138310",
"159762170479660044007899903518200391895",
"249542259056878956156294454007331300463",
"200605324469578250004868668538716852973",
"94912855763638238710424802858297551686",
"190619103992345199944442574578615379713",
"61814346300526398470674161880386611265"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-7e3105b5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
"target": {
"function": "smb20_oplock_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 2973.0,
"function_hash": "198086827544866369333128113486598587526"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-80d1951b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
"target": {
"function": "smb21_lease_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 3178.0,
"function_hash": "137408625661133045615177144985197304689"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2025-38437-cec75b72",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38ec88a2b42c494601b1213816d75f0b54d9bf0",
"target": {
"function": "smb21_lease_break_ack",
"file": "fs/smb/server/smb2pdu.c"
},
"digest": {
"length": 3178.0,
"function_hash": "137408625661133045615177144985197304689"
},
"signature_version": "v1",
"deprecated": false
}
]