CVE-2025-68219
publishedcifs: fix memory leak in smb3_fs_context_parse_param error path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < a8071fd69df335362be5ecf5df5a167fd1eb5853 · 24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 7627864dc3121f39e220f5253a227edf472de59e · 24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 48d69290270891f988e72edddd9688c20515421d · 24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 37010021d7e0341bb241ca00bcbae31f2c50b23f · 24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 7e4d9120cfa413dd34f4f434befc5dbe6c38b2e5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.118 through 6.6.* (unaffected · semver) · 6.12.60 through 6.12.* (unaffected · semver) · 6.17.10 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1430 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix memory leak in smb3_fs_context_parse_param error path Add proper cleanup of ctx->source and fc->source to the cifs_parse_mount_err error handler. This ensures that memory allocated for the source strings is correctly freed on all error paths, matching the cleanup already performed in the success path by smb3_cleanup_fs_context_contents(). Pointers are also set to NULL after freeing to prevent potential double-free issues. This change fixes a memory leak originally detected by syzbot. The leak occurred when processing Opt_source mount options if an error happened after ctx->source and fc->source were successfully allocated but before the function completed. The specific leak sequence was: 1. ctx->source = smb3_fs_context_fullpath(ctx, '/') allocates memory 2. fc->source = kstrdup(ctx->source, GFP_KERNEL) allocates more memory 3. A subsequent error jumps to cifs_parse_mount_err 4. The old error handler freed passwords but not the source strings, causing the memory to leak. This issue was not addressed by commit e8c73eb7db0a ("cifs: client: fix memory leak in smb3_fs_context_parse_param"), which only fixed leaks from repeated fsconfig() calls but not this error path. Patch updated with minor change suggested by kernel test robot
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < a8071fd69df335362be5ecf5df5a167fd1eb5853 (affected · git)24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 7627864dc3121f39e220f5253a227edf472de59e (affected · git)24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 48d69290270891f988e72edddd9688c20515421d (affected · git)24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 37010021d7e0341bb241ca00bcbae31f2c50b23f (affected · git)24e0a1eff9e2b9835a6e7c17039dfb6ecfd81f1f to < 7e4d9120cfa413dd34f4f434befc5dbe6c38b2e5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.118 through 6.6.* (unaffected · semver)6.12.60 through 6.12.* (unaffected · semver)6.17.10 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/37010021d7e0341bb241ca00bcbae31f2c50b23f
- https://git.kernel.org/stable/c/48d69290270891f988e72edddd9688c20515421d
- https://git.kernel.org/stable/c/7627864dc3121f39e220f5253a227edf472de59e
- https://git.kernel.org/stable/c/7e4d9120cfa413dd34f4f434befc5dbe6c38b2e5
- https://git.kernel.org/stable/c/a8071fd69df335362be5ecf5df5a167fd1eb5853
Provider assertions
1Linux · cna
cifs: fix memory leak in smb3_fs_context_parse_param error path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3fd511ab08698382be8a3721f9d8d7726c3f75e9df7c55909a0b464ad3d2bcee
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record