Re: [test case][kunit] CVE-2020-10711 Kernel netLabel

Related Vulnerabilities: CVE-2020-10711  
                							

                <!--X-Body-Begin-->
<!--X-User-Header-->

oss-sec
mailing list archives
<!--X-User-Header-End-->
<!--X-TopPNI-->

By Date

By Thread

</form>

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
Re:  [test case][kunit] CVE-2020-10711 Kernel netLabel

<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->

From: "Singh, Balbir" &lt;sblbir () amazon com&gt;

Date: Fri, 15 May 2020 12:54:12 +0000

<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->

<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
On Fri, 2020-05-15 at 11:27 +0530, P J P wrote:

  Hello Balbir,

+-- On Fri, 15 May 2020, Singh, Balbir wrote --+
I've spent some time writing a kunit test case for CVE-2020-10711 using the
KUNIT framework. I am attaching the patch below for reference. The patch is
against the latest linux-next. The details are in the test case, there
are some TODOs:

1. Add test cases for the ipv6 variant
2. Add a test case for cipso_v4_parsetag_rpm variant

Please feel to suggest improvements or better ways to test this, this is
a rough patch, but I still wanted to share it and see if it helps others/
get comments on the approach to testing it.

Thank you so much for working on this. At first glance it looks okay, you need
to send this to an upstream -netdev list for better reviews/inputs.

  -&gt; http://vger.kernel.org/vger-lists.html#netdev

Thanks Prasad!

I was reaching out the security list to check if the patches were correct
from a security verification view point. I will get feedback from netdev 
as well in a while

Balbir Singh.

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->

<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->

By Date

By Thread

Current thread:

[test case][kunit] CVE-2020-10711 Kernel netLabel Singh, Balbir (May 15)

Re: [test case][kunit] CVE-2020-10711 Kernel netLabel P J P (May 14)

Re:  [test case][kunit] CVE-2020-10711 Kernel netLabel Singh, Balbir (May 15)

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->