{"id":8910,"date":"2021-04-30T21:58:40","date_gmt":"2021-04-30T21:58:40","guid":{"rendered":"https:\/\/gtechbooster.com\/?p=8910"},"modified":"2023-06-21T11:42:47","modified_gmt":"2023-06-21T11:42:47","slug":"feasibility-of-stealthily-introducing-vulnerabilities-in-open-source-software-via-hypocrite-commits","status":"publish","type":"post","link":"https:\/\/gtechbooster.com\/feasibility-of-stealthily-introducing-vulnerabilities-in-open-source-software-via-hypocrite-commits\/","title":{"rendered":"Feasibility of Stealthily Introducing Vulnerabilities in Open-Source Software via Hypocrite Commits"},"content":{"rendered":"\n<p>The release of a research paper and its aftermath has cause a stir in the linux kennel developer circles with ban being tooled as a redress action.<\/p>\n\n\n\n<div class=\"gtech-migrated-from-ad-inserter-placement-2\" style=\"text-align: center;\" id=\"gtech-2366308323\"><div style=\"margin-right: auto;margin-left: auto;text-align: center;\" id=\"gtech-790060575\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/17207\" rel=\"noopener\" class=\"notrack\" aria-label=\"26001\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg 1024w, https:\/\/gtechbooster.com\/media\/2023\/01\/26001-768x960.jpeg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"500\" height=\"625\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div><p>Greg Kroah-Hartman has banned the University of Minnesota from contributing to the Linux Kernel and gone to a great deal of effort to revert and re-evaluate 190 patches that had come from the same University. Is this an overreaction or is it the one and only possible response?<\/p>\n\n\n\n<p>The irony of this situation is that the controversial project that led to loss of trust in the University of Minnesota was intended to improve the security of Linux. The research, conducted in August 2020, was by Kangije Lu, Assistant Professor and graduate student Qjushi Wu and their paper &#8220;<em>On the Feasibility of Stealthily Introducing Vulnerabilities in Open-Source Software via Hypocrite Commits<\/em>&#8221; has been accepted for&nbsp;42nd IEEE Symposium on Security and Privacy. The research, which was supported by the NSF (National Science Foundation), included explicit safeguards to ensure that no bugs were merged into the Linux Kernel as a result of the experiment, although it now seems that a mutex close error many have slipped though, an error that has been fixed.<\/p>\n\n\n\n<p>The ban however wasn&#8217;t made as a response to this paper. Instead the trigger was a more recent set of &#8220;obviously-incorrect patches&#8221; submitted by Aditya&nbsp;Pakki, another of Lu&#8217;s Ph.D students who has explained that they were submitted as a result of his work on &#8220;a new static analyzer&#8221;.<\/p>\n\n\n\n<p>For Kroah-Hartmann, who as the main Linux kernel maintainer, has the ultimate responsibility for its safety and security,&nbsp; the submission of new buggy patches was the last straw and his suspicion was that it again part of some research experiment as reflected in his tweet:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"258\" src=\"https:\/\/gtechbooster.com\/media\/2021\/04\/gkhtweet.jpg\" alt=\"\" class=\"wp-image-8917\" srcset=\"https:\/\/gtechbooster.com\/media\/2021\/04\/gkhtweet.jpg 433w, https:\/\/gtechbooster.com\/media\/2021\/04\/gkhtweet-316x188.jpg 316w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/figure>\n\n\n\n<p>The link in the tweet goes to an email reply to Aditya Pakki in which Hartmann&nbsp; writes:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>You, and your group, have publicly admitted to sending known-buggy patches to see how the kernel community would react to them, and published a paper based on that work.<\/p><\/blockquote>\n\n\n\n<p><em>Now you submit a new series of obviously-incorrect patches again, so what am I supposed to think of such a thing?<\/em><\/p><div class=\"gtech-mid-cont\" style=\"text-align: center;\" id=\"gtech-3662736895\"><div style=\"margin-right: auto;margin-left: auto;text-align: center;\" id=\"gtech-1058750444\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/17207\" rel=\"noopener\" class=\"notrack\" aria-label=\"26001\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg 1024w, https:\/\/gtechbooster.com\/media\/2023\/01\/26001-768x960.jpeg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"500\" height=\"625\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>They obviously were _NOT_ created by a static analysis tool that is of any intelligence, as they all are the result of totally different patterns, and all of which are obviously not even fixing anything at all.\u00a0 So what am I supposed to think here, other than that you and your group are continuing to experiment on the kernel community developers by sending such nonsense patches?&#8230;<\/p><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Our community does not appreciate being experimented on, and being\u00a0&#8220;tested&#8221; by submitting known patches that are either do nothing on\u00a0purpose, or introduce bugs on purpose.\u00a0 If you wish to do work like\u00a0this, I suggest you find a different community to run your experiments\u00a0on, you are not welcome here.<\/p><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Because of this, I will now have to ban all future contributions from\u00a0your University and rip out your previous contributions, as they were\u00a0obviously submitted in bad-faith with the intent to cause problems.<\/p><\/blockquote>\n\n\n\n<p>Asked his opinion Linus Torvalds, came up with a very mild response:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;I don&#8217;t think it has been a huge deal _technically_, but people are pissed off, and it&#8217;s obviously a breach of trust.&#8221;<\/p><\/blockquote>\n\n\n\n<p>In an attempt to lift the ban, an apology was submitted yesterday as &#8220;An Open Letter to the Linux community and signed by&nbsp;Kangjie Lu, Qiushi Wu, and Aditya Pakki,&nbsp;University of Minnesota. It includes the statement:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>We just want you to know that we would never intentionally hurt the Linux kernel community and never introduce security vulnerabilities. Our work was conducted with the best of intentions and is all about finding and fixing security vulnerabilities.<\/p><\/blockquote>\n\n\n\n<p>It later states:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>We are a research group whose members devote their careers to improving the Linux kernel. We have been working on finding and patching vulnerabilities in Linux for the past five years. The past observations with the patching process had motivated us to also study and address issues with the patching process itself.\u00a0<\/p><\/blockquote>\n\n\n\n<p>Acknowledging the anger felt towards them by the Linux community they say:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>We apologize unconditionally for what we now recognize was a breach of the shared trust in the open source community and seek forgiveness for our missteps.<\/p><\/blockquote>\n\n\n\n<p>But it&#8217;s not that simple. Trust was broken &#8211; and the action of this research group has tainted not just the three signatories to the open letter but the entire University of Minnesota. Hartman&#8217;s response to this apology was a simple &#8220;Thank you&#8221; and refers to a letter sent by the Linux Foundation&#8217;s Technical Advisory Board to the University of Miinesota outlining specific action required for the research group and the university in its entirety to regain the trust of the Linux kernel community.<\/p>\n\n\n\n<p>It seems entirely justified that it should take more than words to rebuild trust in this situation &#8211; but let&#8217;s go further. This should never have been allowed to happen. Linux is mission-critical software relied on by big companies and even Mars exploration projects &#8211; it should not be seen as an environment in which do research, however laudable the aims of the research.\u00a0<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">More Information<\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/lore.kernel.org\/lkml\/YIV+pLR0nt94q0xQ@kroah.com\/\" target=\"_blank\">Reply to &#8220;An Open Letter to the Linus Community&#8221;<\/a><\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/QiushiWu\/QiushiWu.github.io\/blob\/main\/papers\/OpenSourceInsecurity.pdf\" target=\"_blank\">On the Feasibility of Stealthily Introducing Vulnerabilities in Open-Source Software via Hypocrite Commits<\/a><\/li><li><a href=\"https:\/\/www.i-programmer.info\/news\/136-open-source\/14522-trust-and-taint-university-of-minnesota-baned-by-linux-.html\" target=\"_blank\" rel=\"noreferrer noopener\">Trust and Taint &#8211; University of Minnesota Banned By Linux <sup>(credit)<\/sup><\/a><\/li><\/ul>\n<div class=\"gtech-end-cont\" id=\"gtech-914254450\"><div style=\"margin-right: auto;margin-left: auto;text-align: center;\" id=\"gtech-2324910736\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/17207\" rel=\"noopener\" class=\"notrack\" aria-label=\"26001\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2023\/01\/26001.jpeg 1024w, https:\/\/gtechbooster.com\/media\/2023\/01\/26001-768x960.jpeg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"500\" height=\"625\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The release of a research paper and its aftermath has cause a stir in the linux kennel developer circles with ban being tooled as a redress action. Greg Kroah-Hartman has banned the University of Minnesota from contributing to the Linux Kernel and gone to a great deal of effort to revert and re-evaluate 190 patches [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":8932,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1915],"tags":[250,1452,517,620,629],"class_list":["post-8910","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ndocs","tag-developers","tag-kennel","tag-linux","tag-open-source","tag-operating-system"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/8910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/comments?post=8910"}],"version-history":[{"count":0,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/8910\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media\/8932"}],"wp:attachment":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media?parent=8910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/categories?post=8910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/tags?post=8910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}