{"id":6071,"date":"2016-11-16T11:00:47","date_gmt":"2016-11-16T11:00:47","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=6071"},"modified":"2026-02-26T14:03:10","modified_gmt":"2026-02-26T14:03:10","slug":"dirty-cow-vulnerability","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/","title":{"rendered":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?"},"content":{"rendered":"\r\n<p>Dirty cow vulnerability mainly affects major Linux Operating Systems. Below is the impact of this vulnerability \u2013<\/p>\r\n\r\n\r\n\r\n<p>Existing for nine years, the Dirty Cow vulnerability is found in the Linux kernel and privilege escalation vulnerability. \u00a0A security expert Phil Oester found this vulnerability that can be present in about every available Linux distribution.<\/p>\r\n\r\n\r\n\r\n<p>A race condition was found in the way the memory subsystem of the Linux kernel handled the copy-on-write (COW) breakage of private read-only-memory mappings. This flaw misused by an unprivileged local user to gain write access to other read-only memory mappings and further increase their privileges on the system.<\/p>\r\n\r\n\r\n\r\n<p>The race condition refers to the electronic, software, or other systems\u2019 action where the output is dependent on the sequence or timing of other events that are controllable. This action gets converted into a bug when the events don\u2019t occur in the planned order by the programmer.<\/p>\r\n\r\n\r\n\r\n<p>It\u2019s possible that an attacker can abuse this for modifying existing setup files with instructions to elevate privileges. It\u2019s been observed that the distributions affected by the Dirty Cow vulnerability. The security communities need to deploy trapping devices to entrap the attackers.<\/p>\r\n\r\n\r\n\r\n<p>Also, the owners need to be vigilant about exploitation attempts since this bug doesn\u2019t leave any trace any trace or anomalous logs.<\/p>\r\n\r\n\r\n\r\n<p><strong>Note:<\/strong>\u00a0 Be cautious and install a fix for this bug as soon as possible. Simply follow the steps below to ensure your protection \u2013<\/p>\r\n\r\n\r\n\r\n<p><strong>Check Vulnerability \u2013<\/strong><\/p>\r\n\r\n\r\n\r\n<p><strong>Ubuntu\/Debian<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Check your kernel version in order to find out if your server affected.<\/p>\r\n\r\n\r\n\r\n<p>uname \u2013rv<\/p>\r\n\r\n\r\n\r\n<p><strong>Your Output \u2013 <\/strong><\/p>\r\n\r\n\r\n\r\n<p>4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016<\/p>\r\n\r\n\r\n\r\n<p>If your version older than those mentioned below affected:<\/p>\r\n\r\n\r\n\r\n<p>4.8.0-26.28 for Ubuntu 16.10<\/p>\r\n\r\n\r\n\r\n<p>4.4.0-45.66 for Ubuntu 16.04 LTS<\/p>\r\n\r\n\r\n\r\n<p>3.13.0-100.147 for Ubuntu 14.04 LTS<\/p>\r\n\r\n\r\n\r\n<p>3.2.0-113.155 for Ubuntu 12.04 LTS<\/p>\r\n\r\n\r\n\r\n<p>3.16.36-1+deb8u2 for Debian 8<\/p>\r\n\r\n\r\n\r\n<p>3.2.82-1 for Debian 7<\/p>\r\n\r\n\r\n\r\n<p>4.7.8-1 for Debian unstable<\/p>\r\n\r\n\r\n\r\n<p><strong>Centos<\/strong><\/p>\r\n\r\n\r\n\r\n<ol>\r\n<li>First download the script<br \/>wget https:\/\/access.redhat.com\/sites\/default\/files\/rh-cve-2016-5195_1.sh<\/li>\r\n<li>Run it with bash:<br \/>bash rh-cve-2016-5195_1.sh<\/li>\r\n<li>If you&#8217;re vulnerable, you&#8217;ll see output like this:<br \/>\r\n<p>Your kernel is 3.10.0-327.36.1.el7.x86_64 which IS vulnerable<\/p>\r\n\r\n\r\n\r\n<p>Red Hat recommends that you update your kernel. Alternatively, you can apply<\/p>\r\n\r\n\r\n\r\n<p>partial mitigation described at<\/p>\r\n\r\n\r\n\r\n<p><strong>Fix &#8211;<\/strong> Fortunately, applying the fix is straightforward: update your system and reboot your server.<\/p>\r\n<p><strong>Centos<\/strong> &#8211; You can update all of your packages on Centos 5, 6, and 7 with<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>sudo yum update<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>But if you only want to update the kernel to address this bug, run<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>sudo yum update kernel<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p><strong>Ubuntu\/Debian<\/strong><\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>sudo apt-get update &amp;&amp; sudo apt-get dist-upgrade<\/p>\r\n<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Dirty cow vulnerability mainly affects major Linux Operating Systems. Below is the impact of this vulnerability \u2013 Existing for nine years, the Dirty Cow vulnerability is found in the Linux&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[],"class_list":["post-6071","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dirty Cow Vulnerability \u2013 Check How Dirty It Is?<\/title>\n<meta name=\"description\" content=\"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?\" \/>\n<meta property=\"og:description\" content=\"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-16T11:00:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:10+00:00\" \/>\n<meta name=\"author\" content=\"anilr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"anilr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/\"},\"author\":{\"name\":\"anilr\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8871ea0c76482a5a482e48538ae4dbb3\"},\"headline\":\"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?\",\"datePublished\":\"2016-11-16T11:00:47+00:00\",\"dateModified\":\"2026-02-26T14:03:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/\"},\"wordCount\":429,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/\",\"name\":\"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2016-11-16T11:00:47+00:00\",\"dateModified\":\"2026-02-26T14:03:10+00:00\",\"description\":\"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/dirty-cow-vulnerability\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8871ea0c76482a5a482e48538ae4dbb3\",\"name\":\"anilr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g\",\"caption\":\"anilr\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/anilr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?","description":"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/","og_locale":"en_US","og_type":"article","og_title":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?","og_description":"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.","og_url":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2016-11-16T11:00:47+00:00","article_modified_time":"2026-02-26T14:03:10+00:00","author":"anilr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"anilr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/"},"author":{"name":"anilr","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/8871ea0c76482a5a482e48538ae4dbb3"},"headline":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?","datePublished":"2016-11-16T11:00:47+00:00","dateModified":"2026-02-26T14:03:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/"},"wordCount":429,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/","url":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/","name":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2016-11-16T11:00:47+00:00","dateModified":"2026-02-26T14:03:10+00:00","description":"Check the severity of the Dirty Cow vulnerability with our comprehensive guide. Learn how to protect your system and ensure its security.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/dirty-cow-vulnerability\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"Dirty Cow Vulnerability \u2013 Check How Dirty It Is?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/8871ea0c76482a5a482e48538ae4dbb3","name":"anilr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/11307531bf21385b7c7046df25e96e38f4530ef77506385bb9d9c72798e5b284?s=96&d=mm&r=g","caption":"anilr"},"url":"https:\/\/www.bodhost.com\/kb\/author\/anilr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6071"}],"version-history":[{"count":19,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6071\/revisions"}],"predecessor-version":[{"id":12039,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6071\/revisions\/12039"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}