CVE-2026-45994: ibmasm: fix OOB reads in command_file_write due to missing size checks
ibmasm: fix OOB reads in commandfilewrite due to missing size checks
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.141.1-1 - Upgrade
Upgrade
linux kernelto a version that resolves this vulnerability.Patch ibmasm: fix OOB reads in command_file_write due to missing size checks - Configuration
Modify command_file_write() to validate the incoming write size against the total size declared by the dot_command_header fields, and reject commands where the buffer is smaller than (sizeof(header) + command_size + data_size) to prevent OOB reads in get_dot_command_timeout().
Linux kernel (dot command protocol, command_file_write()) Reject writes where provided buffer size < declared total size (sizeof(header) + command_size + data_size) = buffer_too_small_rejected