ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.176, 6.1.120, 6.12.5, 6.6.66
- CVEs
- CVE-2024-56626
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:14 UTC · Revision 1
Source evidence
ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
core-osv · Original sourcePublished 27 Dec 2024, 14:51 UTC
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.
osv:CVE-2024-56626
Kernel
Fixed versions: 5.15.176, 6.1.120, 6.6.66, 6.12.5
Complete source record
{
"id": "4eabc916691cb2c5915c8bd66e49cdac52c84213c8dd608f2ae6c1d02cbb3a3e",
"url": "https://osv.dev/vulnerability/CVE-2024-56626",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.",
"evidence": "osv:CVE-2024-56626",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.176",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.120",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.66",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-56626",
"aliases": [
"CVE-2024-56626"
],
"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": "1aea5c9470be2c7129704fb1b9562b1e3e0576f8"
},
{
"fixed": "8cd7490fc0f268883e86e840cda5311257af69ca"
},
{
"fixed": "164d3597d26d9acff5d5b8bc3208bdcca942dd6a"
},
{
"fixed": "c5797f195c67132d061d29c57a7c6d30530686f0"
},
{
"fixed": "313dab082289e460391c82d855430ec8a28ddf81"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56626.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "5.15.176"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.120"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.66"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56626.json"
}
}
],
"modified": "2026-10-28T02:30:37.316842381Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/164d3597d26d9acff5d5b8bc3208bdcca942dd6a",
"https://git.kernel.org/stable/c/1aea5c9470be2c7129704fb1b9562b1e3e0576f8",
"https://git.kernel.org/stable/c/313dab082289e460391c82d855430ec8a28ddf81",
"https://git.kernel.org/stable/c/8cd7490fc0f268883e86e840cda5311257af69ca",
"https://git.kernel.org/stable/c/c5797f195c67132d061d29c57a7c6d30530686f0",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56626.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56626",
"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/2024/56xxx/CVE-2024-56626.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56626",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504549,
"published_at": "2024-12-27T14:51:29.078+00:00"
}