What’s Vulnerable › Vulnerabilities
CVE-2024-35869: smb: client: guarantee refcounted children from parent session
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-19 · updated 2026-08-04
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: guarantee refcounted children from parent session Avoid potential use-after-free bugs when walking DFS referrals, mounting and performing DFS failover by ensuring that all children from parent @tcon->ses are also refcounted. They're all needed across the entire DFS mount. Get rid of @tcon->dfs_ses_list while we're at it, too.
Affected products
- Linux kernel: from 6.2.8 before 6.3; from 6.4 before 6.6.29; from 6.7 before 6.8.5; 6.9-rc1, 6.9-rc2 — fixed in 6.3, 6.6.29, 6.8.5
How to fix
Upgrade to a fixed version: Linux kernel 6.3, 6.6.29, 6.8.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/062a7f0ff46eb57aff526897bd2bebfdb1d3046a
- https://git.kernel.org/stable/c/645f332c6b63499cc76197f9b6bffcc659ba64cc
- https://git.kernel.org/stable/c/e1db9ae87b7148c021daee1fcc4bc71b2ac58a79
- https://git.kernel.org/stable/c/062a7f0ff46eb57aff526897bd2bebfdb1d3046a
- https://git.kernel.org/stable/c/645f332c6b63499cc76197f9b6bffcc659ba64cc
- https://git.kernel.org/stable/c/e1db9ae87b7148c021daee1fcc4bc71b2ac58a79
Get alerted when CVE-2024-35869 or the next vulnerability affects your stack