CriticalFix available
ksmbd: validate command request size
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate command request size In commit 2b9b8f3b68ed ("ksmbd: validate command payload size"), except for SMB2_OPLOCK_BREAK_HE command, the request size of other commands is not checked, it's not expected. Fix it by add check for request size of other commands.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.127, 6.1.46, 6.4.11
- CVEs
- CVE-2023-4515
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:49 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate command request size In commit 2b9b8f3b68ed ("ksmbd: validate command payload size"), except for SMB2_OPLOCK_BREAK_HE command, the request size of other commands is not checked, it's not expected. Fix it by add check for request size of other commands.
osv:CVE-2023-4515
Kernel
Fixed versions: 5.15.127, 6.1.46, 6.4.11
Complete source record
{
"id": "82518b6ac0a2754d74a0ef94d94aa8a87a8460d3e422e9b7c05848cbe536a81e",
"url": "https://osv.dev/vulnerability/CVE-2023-4515",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ksmbd: validate command request size",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate command request size In commit 2b9b8f3b68ed (\"ksmbd: validate command payload size\"), except for SMB2_OPLOCK_BREAK_HE command, the request size of other commands is not checked, it's not expected. Fix it by add check for request size of other commands.",
"evidence": "osv:CVE-2023-4515",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.127",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.46",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2023-4515",
"aliases": [
"CVE-2023-4515"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "35f450f54dca1519bb24faacd0428db09f89a11f"
},
{
"fixed": "595679098bdcdbfbba91ebe07a2f7f208df93870"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9650cf70ec9d94ff34daa088b643229231723c26"
},
{
"fixed": "c6bef3bc30fd4a175aef846b7d928a6c40d091cd"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d"
},
{
"fixed": "ff7236b66d69582f90cf5616e63cfc3dc18142bb"
},
{
"fixed": "5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.15.121"
},
{
"fixed": "5.15.127"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.1.36"
},
{
"fixed": "6.1.46"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.3.10"
},
{
"fixed": "6.4"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "768caf4019f0391c0b6452afe34cea1704133f7b"
}
]
}
],
"versions": [
"v5.15.126",
"v5.15.125",
"v5.15.124",
"v5.15.123",
"v5.15.122",
"v5.15.121",
"v6.1.45",
"v6.1.44",
"v6.1.43",
"v6.1.42",
"v6.1.41",
"v6.1.40",
"v6.1.39",
"v6.1.38",
"v6.1.37",
"v6.1.36",
"v6.3.13",
"v6.3.12",
"v6.3.11",
"v6.3.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4515.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.15.127"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.46"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4515.json"
}
}
],
"modified": "2026-10-28T02:30:29.925251772Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/595679098bdcdbfbba91ebe07a2f7f208df93870",
"https://git.kernel.org/stable/c/5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c",
"https://git.kernel.org/stable/c/c6bef3bc30fd4a175aef846b7d928a6c40d091cd",
"https://git.kernel.org/stable/c/ff7236b66d69582f90cf5616e63cfc3dc18142bb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4515.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-4515",
"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/2023/4xxx/CVE-2023-4515.json"
}
},
"related_cves": [
{
"value": "CVE-2023-4515",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496471,
"published_at": "2025-08-16T13:25:50.562+00:00"
}