Re: [dpdk-dev] [PATCH v2] kni: Fix request overwritten

2021-10-04 Thread Eric Christian
I am not sure that only we can recreate the KNI request overwrite. We may be the only ones with a current use case that exposes the vulnerability. It is possible for any KNI operation to encounter this issue with the new async mechanism. As long as the call to kni_net_process_request() is a sepa

Re: [dpdk-dev] [PATCH v2] kni: Fix request overwritten

2021-10-04 Thread Eric Christian
Adding Sahithi. I believe adding the -EAGAIN method puts the responsibility on the application/caller. If we take the change MAC address as an example. Most application code just does this kind of check: ret = ioctl(sockfd, SIOCSIFHWADDR, &ifr); if (ret < 0) { P