smb: client: Handle kstrdup failures for passwords
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9a5dd61151399ad5a5d69aad28ab164734c1e3bc, Kernel 6.8, Kernel 6.9 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: smb: client: Handle kstrdup failures for passwords In smb3_reconfigure(), after duplicating ctx->password and ctx->password2 with kstrdup(), we need to check for allocation failures. If ses->password allocation fails, return -ENOMEM. If ses->password2 allocation fails, free ses->password, set it to NULL, and return -ENOMEM.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c1eb537bf4560b3ad4df606c266c665624f3b502 <9a5dd61151399ad5a5d69aad28ab164734c1e3bc, >=6.7.12 <6.8, >=6.8.3 <6.9, >=7e8cffa4f85e6839335d75e6b47f918d90c1d194 <35dbac8c328d6afe937cd45ecd41d209d0b9f8b8, >=c1eb537bf4560b3ad4df606c266c665624f3b502 <35488799b0ab6e4327f82e1d9209a60805665b37, =2a0fc63f1f4fccfeb367d0c57b8a243cec60c26c, =6.9, =e78308a6dcab1e53b38b8dd952e69c515cd324d7, >=6.6.24 <6.6.59 | 9a5dd61151399ad5a5d69aad28ab164734c1e3bc, 6.8, 6.9, 35dbac8c328d6afe937cd45ecd41d209d0b9f8b8, 35488799b0ab6e4327f82e1d9209a60805665b37, 6.6.59 |
| linux-kernel: Kernel | >=6.7.12 <6.8, >=6.8.3 <6.9, >=6.9.0 <6.11.6, >=6.6.24 <6.6.59 | 6.8, 6.9, 6.11.6, 6.6.59 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket