smb: client: harden POSIX SID length parsing
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: harden POSIX SID length parsing posix_info_sid_size() reads sid[1] to obtain the subauthority count, but its existing boundary check still accepts buffers with only one remaining byte. Require two bytes before reading sid[1] so all client paths that reuse the helper reject truncated POSIX SIDs safely.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 171605aed68380c2fa75dff9b3a1ed427c50065b; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 4213c1208978483021d7d125c131de3985d38f61; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 96e889bc1e759c83f25093e8c2f3da31b4973f30; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 0de5b8e76847f5de26f364a82c6602c4881c30da; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 427eb7eb46425fec845a43e861f3d6e2899cae59; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 86c5d470f5d42e61123b2f4b4f0b91f4eee5b980; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 46a84715a015cb48e1b9c219dc88c03d8a541ea4; From 349e13ad30b45998bb9937cfe0b32be6f951976d · fixed in 7ad2bcf2441430bb2e918fb3ef9a90d775a6e422
- Linux Linux
5.7
- KernelLinux
From 5.7.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.96; From 6.13.0 · fixed in 6.18.39; From 6.19.0 · fixed in 7.1.4
References 8
git.kernel.org
- stable/c/171605aed68380c2fa75dff9b3a1ed427c50065b
- stable/c/4213c1208978483021d7d125c131de3985d38f61
- stable/c/96e889bc1e759c83f25093e8c2f3da31b4973f30
- stable/c/0de5b8e76847f5de26f364a82c6602c4881c30da
- stable/c/427eb7eb46425fec845a43e861f3d6e2899cae59
- stable/c/86c5d470f5d42e61123b2f4b4f0b91f4eee5b980
- stable/c/46a84715a015cb48e1b9c219dc88c03d8a541ea4
- stable/c/7ad2bcf2441430bb2e918fb3ef9a90d775a6e422