jerpelea opened a new pull request, #19160:
URL: https://github.com/apache/nuttx/pull/19160

   ## Summary
   
   A malformed packet can trigger memory corruption in the kernel leading to a 
system crash or potentially arbitrary code execution in the kernel.
   
   The CAN driver for the CTU CAN FD IP Core connected to the NuttX device via 
a PCI / PCI Express (PCIe) bus shows a lack of consideration for malformed 
data, assuming the CAN frames are always correct.
   
   Ensure `frame->fmt.rwcnt` is 21 or less before it is used in the `for` loop.
   
   A similar change was done in ctucanfd_sock_recv().
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to