LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2008, 08:14 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Kernel Exploit Upgrade


OK, I'm a little confused (happens more and more often as time goes on). If I can figure out which patch to upgrade to (I'm not completely sure just which kernel I'm running; uname -r returns 2.6.21.5-smp which I think is the generic-smp-2.6.21.5_smp), I kind of think other things are going to get screwed up because I've added things (VMware Server, Cisco VPN, ATI drivers, etc.) and, well, I do not want to have to go through all that nonsense again if I don't have to.

One of the patches is the diff file for splice.c, which I assume is the problem in the first place, and I'm thinking I can just apply that patch and recompile the kernel using that patched file? When I install I copy the configuration file from the distribution media and compile the kernel using that configuration so, pretty much, it looks like just diff-ing splice.c, recompiling and installing might just doit toit. Or is there some good reason to figure out which patch file to upgrade to and sacrifice a blank CD-ROM or some other valuable commodity to the confuser gods?

Or, as some folks seem to suggest, just leave the blasted thing alone...

Thanks.
 
Old 02-13-2008, 08:25 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It's not really going to matter, since regardless of how you update the kernel (recompiling with the patch or updating through the packages), anything that has compiled against the kernel will need to be rebuilt.
 
Old 02-13-2008, 08:27 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
And the most visible things you do need to recompile are graphics card drivers, wireless drivers (if they weren't already in the kernel) and such.
 
Old 02-13-2008, 08:53 AM   #4
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
If you go to /boot and check the link status of vmlinuz and System.map that will confirm your kernel.

Remember to run lilo after the upgrade.

Regards,

dkpw
 
Old 02-13-2008, 08:57 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by tronayne View Post
OK, I'm a little confused (happens more and more often as time goes on). If I can figure out which patch to upgrade to (I'm not completely sure just which kernel I'm running; uname -r returns 2.6.21.5-smp which I think is the generic-smp-2.6.21.5_smp), I kind of think other things are going to get screwed up because I've added things (VMware Server, Cisco VPN, ATI drivers, etc.) and, well, I do not want to have to go through all that nonsense again if I don't have to.

One of the patches is the diff file for splice.c, which I assume is the problem in the first place, and I'm thinking I can just apply that patch and recompile the kernel using that patched file? When I install I copy the configuration file from the distribution media and compile the kernel using that configuration so, pretty much, it looks like just diff-ing splice.c, recompiling and installing might just doit toit. Or is there some good reason to figure out which patch file to upgrade to and sacrifice a blank CD-ROM or some other valuable commodity to the confuser gods?

Or, as some folks seem to suggest, just leave the blasted thing alone...

Thanks.
If you are just using the stock kernel images with no custom configuration then you don't have to use the patch. Just install the new package for your kernel (find the dl location in the Slackware security advisory).

Here's another related thread.
 
Old 02-13-2008, 10:23 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Thanks for all the above (turns out it's huge-smp-2.6.21.5-smp).

I'm thinking update the server I don't care about too much and see what pitfalls pop up their ugly heads (I keep them all at the same levels of software, patches, packages, etc., etc.) and try to deal with it from there, sigh.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Kernel 2.6 Local Root Exploit by vmsplice? Inuit-Uprising Slackware 9 02-13-2008 09:41 AM
Root exploit on 2.6.10. Kernel Anilraut Linux - Security 3 09-21-2006 02:59 PM
Kernel race condition exploit solution jlangelier Slackware 12 01-14-2005 10:15 AM
Linux kernel exploit in the wild chort Linux - Security 9 12-04-2003 11:18 PM
i need PATCH that protect against local root exploit for kernel 2.2.19 Slackware veenrak Linux - Security 2 10-09-2002 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration