cifs: Fix oops due to uninitialised variable
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix oops due to uninitialised variable Fix smb3_init_transform_rq() to initialise buffer to NULL before calling netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it is given. Setting it to NULL means it should start a fresh buffer, but the value is currently undefined.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.44, 6.16.4
- CVEs
- CVE-2025-38737
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:31 UTC · Revision 1
Source evidence
cifs: Fix oops due to uninitialised variable
core-osv · Original sourcePublished 5 Sept 2025, 17:20 UTC
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix oops due to uninitialised variable Fix smb3_init_transform_rq() to initialise buffer to NULL before calling netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it is given. Setting it to NULL means it should start a fresh buffer, but the value is currently undefined.
osv:CVE-2025-38737
Kernel
Fixed versions: 6.12.44, 6.16.4
Complete source record
{
"id": "929204cd5fb085a0e6762a4d30a721d1e9750e95507bba0085289919083b41dc",
"url": "https://osv.dev/vulnerability/CVE-2025-38737",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cifs: Fix oops due to uninitialised variable",
"summary": "In the Linux kernel, the following vulnerability has been resolved: cifs: Fix oops due to uninitialised variable Fix smb3_init_transform_rq() to initialise buffer to NULL before calling netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it is given. Setting it to NULL means it should start a fresh buffer, but the value is currently undefined.",
"evidence": "osv:CVE-2025-38737",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.44",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2025-38737",
"aliases": [
"CVE-2025-38737"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/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": "a2906d3316fc19bf0ade84618bb73eab604c447e"
},
{
"fixed": "4931fe2dbe1cc0e7d350a4b51b0b330e43971d98"
},
{
"fixed": "6adaa9fae36f848afa7278945d725e197e33c496"
},
{
"fixed": "453a6d2a68e54a483d67233c6e1e24c4095ee4be"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38737.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.16.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38737.json"
}
}
],
"modified": "2026-10-28T02:30:29.508768910Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/453a6d2a68e54a483d67233c6e1e24c4095ee4be",
"https://git.kernel.org/stable/c/4931fe2dbe1cc0e7d350a4b51b0b330e43971d98",
"https://git.kernel.org/stable/c/6adaa9fae36f848afa7278945d725e197e33c496",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38737.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38737",
"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-38737.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38737",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496399,
"published_at": "2025-09-05T17:20:37.719+00:00"
}