xfs: fix unit conversions in per_binval computation
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 |
|
|
6.18.537.2.77.3In the Linux kernel, the following vulnerability has been resolved:
xfs: fix unit conversions in per_binval computation
LOLLM noticed that we're doing the unit conversion in the per_binval computation backwards -- xfs_buf_inval_log_space's second parameter is supposed to be in bytes, but max_binval is in units of fsblocks. Hence the conversion should be FSB -> B, not the other way around.
From the CVE record · Linux
The Linux kernel's XFS code converts filesystem blocks to bytes in the wrong direction when computing per_binval. The input does not describe an attacker outcome or specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with XFS should check their exposure; affected versions are not specified.