HighFix available
ksmbd: fix potential use-after-free in oplock/lease break ack
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.146, 6.12.39, 6.15.7, 6.6.99
- CVEs
- CVE-2025-38437
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:59 UTC · Revision 1
Source evidence
ksmbd: fix potential use-after-free in oplock/lease break ack
core-osv · Original sourcePublished 25 Jul 2025, 15:27 UTC
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.
osv:CVE-2025-38437
Kernel
Fixed versions: 6.1.146, 6.6.99, 6.12.39, 6.15.7
Complete source record
{
"id": "d14eb6a6fba8a14766974dbbb61dac9ad0092b379c53b020c7c88e08156c02e2",
"url": "https://osv.dev/vulnerability/CVE-2025-38437",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ksmbd: fix potential use-after-free in oplock/lease break ack",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.",
"evidence": "osv:CVE-2025-38437",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.146",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.99",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.39",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38437",
"aliases": [
"CVE-2025-38437"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0626e6641f6b467447c81dd7678a69c66f7746cf"
},
{
"fixed": "e38ec88a2b42c494601b1213816d75f0b54d9bf0"
},
{
"fixed": "97c355989928a5f60b228ef5266c1be67a46cdf9"
},
{
"fixed": "815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477"
},
{
"fixed": "8106adc21a2270c16abf69cd74ccd7c79c6e7acd"
},
{
"fixed": "50f930db22365738d9387c974416f38a06e8057e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38437.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "6.1.146"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.99"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38437.json"
}
}
],
"modified": "2026-10-28T02:30:37.981905392Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/50f930db22365738d9387c974416f38a06e8057e",
"https://git.kernel.org/stable/c/8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
"https://git.kernel.org/stable/c/815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
"https://git.kernel.org/stable/c/97c355989928a5f60b228ef5266c1be67a46cdf9",
"https://git.kernel.org/stable/c/e38ec88a2b42c494601b1213816d75f0b54d9bf0",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38437.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38437",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38437.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38437",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505035,
"published_at": "2025-07-25T15:27:16.995+00:00"
}