Description:
This change adds an Open Issues entry to errata.adoc for FreeBSD 14.5-RELEASE
regarding a bug where read(2) and write(2) may return more bytes than requested
when operating on buffers of 2 GiB or larger. This occurs due to an integer overflow
in the I/O fault-handling path.
Impact:
Applications that perform large single I/O operations
(e.g., borgbackup reading its repository index) may receive incorrect return values,
leading to application errors. Data integrity is not affected.
Workaround:
sysctl debug.vn_io_fault_enable=0 disables the problematic path.
Status: The issue will be addressed in a future patch-level update.
PR: 298159
Please review and confirm. Please pay special attention
to the workaround — it was taken from the bug report description,
but I am not 100% sure it is a complete or reliable workaround for all cases.
If it is not, we may need to rephrase or remove it.