smb/client: fix possible infinite loop and oob read in symlink_data()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 76894f3e2f71177747b8b4763fb180e800279585 · < 7d9a7f1f96cd617ee9e75bb22217c709038e26b8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
smb/client: fix possible infinite loop and oob read in symlink_data()
On 32-bit architectures, the infinite loop is as follows:
len = p->ErrorDataLength == 0xfffffff8 u8 *next = p->ErrorContextData + len next == p
On 32-bit architectures, the out-of-bounds read is as follows:
len = p->ErrorDataLength == 0xfffffff0 u8 *next = p->ErrorContextData + len next == (u8 *)p - 8
From the CVE record · Linux
On 32-bit architectures, the Linux kernel SMB client can enter an infinite loop or read out of bounds while processing symlink data with certain ErrorDataLength values. An attacker who can influence that value could trigger either behavior; the input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel SMB client on 32-bit architectures should check their systems; affected versions are not specified.