ntfs: propagate reparse index insertion failure
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:
ntfs: propagate reparse index insertion failure
update_reparse_data() ignores the return value of set_reparse_index(). When index insertion fails, the code removes the just-written reparse data as cleanup but still returns 0, so symlink(2) (and WSL special file creation) reports success while no reparse data exists on disk. When there was no previous reparse data (oldsize == 0), the failure was likewise silently ignored.
Propagate the error to the caller.
From the CVE record · Linux
The Linux kernel's ntfs code ignores a reparse index insertion failure. A local caller creating a symlink or WSL special file can be told the operation succeeded even though the reparse data is absent on disk, if index insertion fails.
Engineers running Linux kernels with the affected ntfs code should check their systems; affected versions are not specified.