How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Support for security such as Firewalls and securing linux
torrent4all
Posts: 2
Joined: 2016/10/27 02:30:12
Contact:

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by torrent4all » 2016/10/27 02:37:12

Hi team,

Do you release patches for CentOS 6.x 64bit?

I run yum info kernel, the following output
Name : kernel
Arch : x86_64
Version : 2.6.32
Release : 642.6.1.el6
Size : 32 M
Repo : updates

Is it fixed?

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by avij » 2016/10/27 06:29:33

Please see the previous messages posted to this topic, such as this one.

"yum info kernel" is not a particularly good way to determine the status of your kernel.

royster
Posts: 4
Joined: 2016/10/26 18:48:10

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by royster » 2016/10/27 10:56:52

Thanks everyone. I had the correct kernel after yesterday's 'yum update' and a reboot ensured that i'm currently running it.

torrent4all
Posts: 2
Joined: 2016/10/27 02:30:12
Contact:

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by torrent4all » 2016/10/28 02:40:01

avij wrote:Please see the previous messages posted to this topic, such as this one.

"yum info kernel" is not a particularly good way to determine the status of your kernel.
Thanks for your reply

But I can not find this kernel on epel repo, the latest kernel is Release : 642.6.1.el6

How can I update latest kernel?

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by avij » 2016/10/28 07:58:03

torrent4all: Please run yum clean all, then yum update (and install all the updates if any), then rpm -q kernel and uname -r and post the results here. If yum update installed a new kernel, reboot and re-run uname -r.

eveares
Posts: 3
Joined: 2016/10/29 11:56:53

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by eveares » 2016/10/29 12:07:45

Hi all, and welcome to my first post. On my server Cent OS 6.8 server running Parallels Plesk 12.5.30,

uname -r gives me: 2.6.32-042stab120.5

and

rpm -q kernel gives me: kernel-2.6.32-642.6.2.el6.x86_64

Is my server patched or not? I have also already ran "yum clean all" and "yum update" as root.

Regards: Elliott.

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by TrevorH » 2016/10/29 12:12:44

The "stab" in that output means that you're not running CentOS at all but a product called openvz. You will need to ask your hoster if that is safe or if it needs patching.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

eveares
Posts: 3
Joined: 2016/10/29 11:56:53

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by eveares » 2016/10/29 12:52:25

Then why does running "cat /etc/redhat-release " give me " CentOS release 6.8 (Final)"

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by TrevorH » 2016/10/29 15:23:18

CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

eveares
Posts: 3
Joined: 2016/10/29 11:56:53

Re: How to fix "Dirty COW" on CentOS 6.8(linux 2.6.32)?

Post by eveares » 2016/10/29 17:29:57

Thanks Trevor, always thought my server was a genuine stock CentOS with plesk installed on top.

Guess I will have to turn to the Plesk forums if my host can't help me.

Post Reply

Return to “CentOS 6 - Security Support”