smb3: fix temporary data corruption in collapse range
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
smb3: fix temporary data corruption in collapse range
collapse range doesn't discard the affected cached region so can risk temporarily corrupting the file data. This fixes xfstest generic/031
I also decided to merge a minor cleanup to this into the same patch (avoiding rereading inode size repeatedly unnecessarily) to make it clearer.
From the CVE record · Linux
The Linux kernel’s smb3 collapse-range operation fails to discard the affected cached region, risking temporary corruption of file data. The input does not specify whether an attacker can trigger this, or any network, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.