HF RL Explorer

Repair a verified behavior in xilinx/xrt.

Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). AMD XRT kernel drivers accept malformed XCLBIN images whose axlf header declares an invalid number of sections. The edge ZOCL XCLBIN loader reads m header.m numSections from an untrusted image and uses it to…

The task

AMD XRT kernel drivers accept malformed XCLBIN images whose axlf header declares an invalid number of sections. The edge ZOCL XCLBIN loader reads m_header.m_numSections from an untrusted image and uses it to compute the kernel buffer size without first validating it. For a sufficiently large section count, the size…

Part of henryen/OriGent-SFT-Data.