CriticalFix available
smb: client: fix double put of @cfile in smb2_rename_path()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.10.10, 6.6.51
- CVEs
- CVE-2024-46736
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:30 UTC · Revision 1
Source evidence
smb: client: fix double put of @cfile in smb2_rename_path()
core-osv · Original sourcePublished 18 Sept 2024, 07:11 UTC
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.
osv:CVE-2024-46736
Kernel
Fixed versions: 6.6.51, 6.10.10
Complete source record
{
"id": "bbb18059ca782fd8633e343d5b1c28d84221ff0ab404ea18bd0f91492a17a8c6",
"url": "https://osv.dev/vulnerability/CVE-2024-46736",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "smb: client: fix double put of @cfile in smb2_rename_path()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.",
"evidence": "osv:CVE-2024-46736",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.51",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2024-46736",
"aliases": [
"CVE-2024-46736"
],
"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": "1e60bc0e954389af82f1d9a85f13a63f6572350f"
},
{
"fixed": "b27ea9c96efd2c252a981fb00d0f001b86c90f3e"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "71f15c90e785d1de4bcd65a279e7256684c25c0d"
},
{
"fixed": "1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3"
},
{
"fixed": "3523a3df03c6f04f7ea9c2e7050102657e331a4f"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.6.32"
},
{
"fixed": "6.6.51"
}
]
}
],
"versions": [
"v6.6.50",
"v6.6.49",
"v6.6.48",
"v6.6.47",
"v6.6.46",
"v6.6.45",
"v6.6.44",
"v6.6.43",
"v6.6.42",
"v6.6.41",
"v6.6.40",
"v6.6.39",
"v6.6.38",
"v6.6.37",
"v6.6.36",
"v6.6.35",
"v6.6.34",
"v6.6.33",
"v6.6.32"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46736.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.6.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46736.json"
}
}
],
"modified": "2026-10-28T02:30:26.275835649Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3",
"https://git.kernel.org/stable/c/3523a3df03c6f04f7ea9c2e7050102657e331a4f",
"https://git.kernel.org/stable/c/b27ea9c96efd2c252a981fb00d0f001b86c90f3e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46736.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46736",
"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/46xxx/CVE-2024-46736.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46736",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492735,
"published_at": "2024-09-18T07:11:58.499+00:00"
}