CVE-2024-35867
published high CVSS 3.1 · 7.8smb: client: fix potential UAF in cifs_stats_proc_show()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503 · 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < bb6570085826291dc392005f9fec16ea5da3c8ad · 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 16b7d785775eb03929766819415055e367398f49 · 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < c3cf8b74c57924c0985e49a1fdf02d3395111f39 · 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 1e12f0d5c66f07c934041621351973a116fa13c7 · 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 0865ffefea197b437ba78b5dd8d8e256253efd65 · a67172a013953664b1dad03c648200c70b90506c · 3.12.48 to < 3.13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.13 (affected) · 0 to < 3.13 (unaffected · semver) · 5.10.237 through 5.10.* (unaffected · semver) · 5.15.181 through 5.15.* (unaffected · semver) · 6.1.85 through 6.1.* (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-094 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.237-1 | DLA-4178-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached only through a local `read()` on `/proc/fs/cifs/Stats`; no remote peer input drives the vulnerable traversal. The race partner (SMB session teardown) is local mount/umount or per-uid session teardown activity. AC:L - The attacker controls both sides — an unprivileged read loop on the world-readable proc file, plus session teardown they can force repeatedly on multiuser/autofs CIFS mounts — and `__cifs_put_smb_ses()` holds the SES_EXITING window open across a blocking SMB LOGOFF round-trip, making the window wide and reliably hit. PR:L - `/proc/fs/cifs/Stats` is created mode 0644 in the global, non-namespaced procfs, so any unprivileged local user — including one inside a container with `/proc` mounted — can trigger the vulnerable read path. No capability, and no CIFS mount ownership, is required. UI:N - No victim action is needed: the attacker's own access to a multiuser mount creates and tears down per-fsuid SMB sessions, and ordinary background CIFS mount/reconnect/prune activity supplies the teardown otherwise. S:U - The use-after-free occurs in kernel memory and its effects stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Contents of the freed `cifs_tcon` — including `tree_name` printed with `%s`, which reads until a NUL and can run past the freed object — are copied into the seq_file buffer returned to the unprivileged reader, yielding a kernel heap disclosure that can be aimed at reallocated sensitive data via heap grooming. I:H - A use-after-free of this class gives the attacker influence over the freed slab object's contents, letting dereferenced pointers (`server->ops->print_stats`, tcon list links) be steered by heap spraying into a control-flow/corruption primitive rather than a mere stale read. A:H - The confirmed sibling bug produced a general protection fault on slab poison in exactly this traversal, and the oops happens while the global `cifs_tcp_ses_lock` spinlock is held, hanging all subsequent CIFS operations system-wide on top of killing the faulting task.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503 (affected · git)7f48558e6489d032b1584b0cc9ac4bb11072c034 to < bb6570085826291dc392005f9fec16ea5da3c8ad (affected · git)7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 16b7d785775eb03929766819415055e367398f49 (affected · git)7f48558e6489d032b1584b0cc9ac4bb11072c034 to < c3cf8b74c57924c0985e49a1fdf02d3395111f39 (affected · git)7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 1e12f0d5c66f07c934041621351973a116fa13c7 (affected · git)7f48558e6489d032b1584b0cc9ac4bb11072c034 to < 0865ffefea197b437ba78b5dd8d8e256253efd65 (affected · git)a67172a013953664b1dad03c648200c70b90506c (affected · git)3.12.48 to < 3.13 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 3.13 (affected)0 to < 3.13 (unaffected · semver)5.10.237 through 5.10.* (unaffected · semver)5.15.181 through 5.15.* (unaffected · semver)6.1.85 through 6.1.* (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- http://www.openwall.com/lists/oss-security/2024/05/29/2
- http://www.openwall.com/lists/oss-security/2024/05/30/1
- http://www.openwall.com/lists/oss-security/2024/05/30/2
- https://git.kernel.org/stable/c/0865ffefea197b437ba78b5dd8d8e256253efd65
- https://git.kernel.org/stable/c/16b7d785775eb03929766819415055e367398f49
- https://git.kernel.org/stable/c/1e12f0d5c66f07c934041621351973a116fa13c7
- https://git.kernel.org/stable/c/838ec01ea8d3deb5d123e8ed9022e8162dc3f503
- https://git.kernel.org/stable/c/bb6570085826291dc392005f9fec16ea5da3c8ad
- https://git.kernel.org/stable/c/c3cf8b74c57924c0985e49a1fdf02d3395111f39
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Provider assertions
3Linux · cna
smb: client: fix potential UAF in cifs_stats_proc_show()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 568ad5baef9751e24db091fedc43ef29a9abfa13aa09e22fd9e4d19aa5f196ac
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record