iio: buffer: Ensure bounce buffer used for unaligned case is zeroed.
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 95ec3fdf2b79eaff79e78688bbc2f7dbb98d68b6 · < 5330036bc68d23672bfcc16c60c54701ae123083| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: buffer: Ensure bounce buffer used for unaligned case is zeroed.
iio_push_to_buffers_with_ts_unaligned() leaks uninitialized heap memory to userspace if the data passed in is not a multiple of 8 bytes and the timestamp is enabled. Specify __GFP_ZERO for the devm_krealloc() to ensure any extra space is cleared.
From the CVE record · Linux
The Linux kernel’s IIO buffer can expose uninitialized heap memory to userspace. This occurs when timestamps are enabled and data passed to iio_push_to_buffers_with_ts_unaligned() is not a multiple of 8 bytes; the input does not specify whether additional access is required.
Engineers running the Linux kernel should check affected versions; the input does not identify specific versions.