smb: client: fix change notify replay double-free
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix change notify replay double-free
A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_notify_init() fails before the next send, cleanup retains the previous buffer type and frees that response again.
Reset response bookkeeping before each attempt to prevent the stale free.
From the CVE record · Linux
The Linux kernel SMB client can free a response buffer twice when a replayable error is followed by an SMB2_notify_init() failure before the next send. The input does not specify how an attacker could trigger this sequence or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the affected SMB client should check their kernel versions; affected versions are not specified.