smb: client: harden POSIX SID length parsing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 96e889bc1e759c83f25093e8c2f3da31b4973f30, Kernel 0de5b8e76847f5de26f364a82c6602c4881c30da, Kernel 171605aed68380c2fa75dff9b3a1ed427c50065b and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=349e13ad30b45998bb9937cfe0b32be6f951976d <96e889bc1e759c83f25093e8c2f3da31b4973f30, >=349e13ad30b45998bb9937cfe0b32be6f951976d <0de5b8e76847f5de26f364a82c6602c4881c30da, >=349e13ad30b45998bb9937cfe0b32be6f951976d <171605aed68380c2fa75dff9b3a1ed427c50065b, >=349e13ad30b45998bb9937cfe0b32be6f951976d <4213c1208978483021d7d125c131de3985d38f61, >=349e13ad30b45998bb9937cfe0b32be6f951976d <427eb7eb46425fec845a43e861f3d6e2899cae59, >=349e13ad30b45998bb9937cfe0b32be6f951976d <46a84715a015cb48e1b9c219dc88c03d8a541ea4, >=349e13ad30b45998bb9937cfe0b32be6f951976d <7ad2bcf2441430bb2e918fb3ef9a90d775a6e422, >=349e13ad30b45998bb9937cfe0b32be6f951976d <86c5d470f5d42e61123b2f4b4f0b91f4eee5b980, =5.7 | 96e889bc1e759c83f25093e8c2f3da31b4973f30, 0de5b8e76847f5de26f364a82c6602c4881c30da, 171605aed68380c2fa75dff9b3a1ed427c50065b, 4213c1208978483021d7d125c131de3985d38f61, 427eb7eb46425fec845a43e861f3d6e2899cae59, 46a84715a015cb48e1b9c219dc88c03d8a541ea4, 7ad2bcf2441430bb2e918fb3ef9a90d775a6e422, 86c5d470f5d42e61123b2f4b4f0b91f4eee5b980 |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=5.7.0 <5.10.261, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96, >=5.11.0 <5.15.212 | 6.1.178, 5.10.261, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket