Paper/Archive/CVE-2024-35869

CVE-2024-35869

Linux Linux — smb: client: guarantee refcounted children from parent session

Description · from the CVE record

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

ProductAffectedFixed inSource
Linux8e3554150d6c80a84b3cb046615d1a0e943811dc – < 645f332c6b63499cc76197f9b6bffcc659ba64cc645f332c6b63499cc76197f9b6bffcc659ba64ccCNA
Linux8e3554150d6c80a84b3cb046615d1a0e943811dc – < e1db9ae87b7148c021daee1fcc4bc71b2ac58a79e1db9ae87b7148c021daee1fcc4bc71b2ac58a79CNA
Linux8e3554150d6c80a84b3cb046615d1a0e943811dc – < 062a7f0ff46eb57aff526897bd2bebfdb1d3046a062a7f0ff46eb57aff526897bd2bebfdb1d3046aCNA
Linuxf30d226bcc9f0e2d97b4a6e94c43a28148fbeab6–CNA
Linuxc082c3be0f96e759ff2e361d929832fda0b93851–CNA
Linux6.2.15 – < 6.36.3CNA
Linux6.3.2 – < 6.46.4CNA
Linux6.46.6.29CNA
linux_kernel1da177e4c3f4 – < 645f332c6b63645f332c6b63CISA-ADP
linux_kernel1da177e4c3f4 – < e1db9ae87b71e1db9ae87b71CISA-ADP
linux_kernel1da177e4c3f4 – < 062a7f0ff46e062a7f0ff46eCISA-ADP
linux_kernelsee advisory6.6.29CISA-ADP

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgit.kernel.org/stable/c/645f332c6b63499cc76197f9b6bffcc659ba64ccrefgit.kernel.org/stable/c/e1db9ae87b7148c021daee1fcc4bc71b2ac58a79refgit.kernel.org/stable/c/062a7f0ff46eb57aff526897bd2bebfdb1d3046a