LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-24-2008, 08:54 AM   #1
erikhallsten
LQ Newbie
 
Registered: Feb 2008
Location: Tammerfors, Finland
Distribution: slackware 12.0 and PCLinuxOS 2007.
Posts: 15

Rep: Reputation: 0
kernel vulnerability ?


Dear Readers

I am not knowing so well Slackware and how to
act with the distro slw 12.0.

Anyhow I checked slw 12.0 vulnerabikyt and downloaded
splice.c.diff. Now despite my age, I have my left thumb
in my mouth.
By ather words, what command must be run as root?

Erik Hallsten
Tammerfors
Finland

My main languages: Swedish and Finnish.
 
Old 02-24-2008, 09:03 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by erikhallsten View Post
Dear Readers

I am not knowing so well Slackware and how to
act with the distro slw 12.0.

Anyhow I checked slw 12.0 vulnerabikyt and downloaded
splice.c.diff. Now despite my age, I have my left thumb
in my mouth.
By ather words, what command must be run as root?

Erik Hallsten
Tammerfors
Finland

My main languages: Swedish and Finnish.
I've moved your post into a thread of its own. I'm not sure why you decided to post this the Kernel Vulns thread orginally, as that thread is only for listing kernel vulnerabilities - not discussing them or asking questions. Having said that, you don't need to use the splice.c.diff.gz file at all unless you are planning to re-compile a Slackware kernel package. You basically just need to upgrade to the latest version of whatever Slackware kernel package you are using and you're set.
 
Old 02-25-2008, 10:47 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Moved to Slackware.
 
Old 02-25-2008, 11:41 AM   #4
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
as win32sux said, you don't need to use the splice.c.diff.gz file at all unless you are planning to re-compile a Slackware kernel package.

Upgrading any package in Slackware is a s simple as downloading the fixed package from your favorite mirror and upgrading the old package with it. The only difference with the kernel package is that it is generally necessary to run "/sbin/lilo" after the upgrade.

In your case, First determine the kernel that you are using:
Code:
nelson@slaptop:~$ ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 32 2008-02-18 09:24 /boot/vmlinuz -> vmlinuz-generic-smp-2.6.21.5-smp
nelson@slaptop:~$
You can see that I am using the generic-smp kernel.

Next, download the correct updated package from your mirror (I will use a Finnish Mirror in this example):
Code:
nelson@slaptop:~$ wget ftp://elektroni.phys.tut.fi/slackware-12.0/patches/packages/kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
--22:27:50--  ftp://elektroni.phys.tut.fi/slackware-12.0/patches/packages/kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
           => `kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz'
Resolving elektroni.phys.tut.fi... 130.230.131.11
Connecting to elektroni.phys.tut.fi|130.230.131.11|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /slackware-12.0/patches/packages ... done.
==> PASV ... done.    ==> RETR kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz ... done.
Length: 2,309,948 (2.2M) (unauthoritative)

100%[====================================>] 2,309,948    222.61K/s    ETA 00:00

22:28:05 (188.27 KB/s) - `kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz' saved [2309948]

nelson@slaptop:~$
Now you can upgrade the kernel package:
Code:
nelson@slaptop:~$ su
password:
root@slaptop:nelson# upgradepkg kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
<snipped>
root@slaptop:nelson# /sbin/lilo
Warning: LBA32 addressing assumed
Added Slack *
Added Linux
One warning was issued.
root@slaptop:nelson#
From there you should be Finished!

Also, remember to always read the Slackware ChangeLog.txt before preforming an upgrade, and when upgrading your kernel -- even with an updated official one -- always keep a backup of your old kernel just in case something goes wrong

Hope that helps a bit!
 
Old 02-28-2008, 08:39 AM   #5
erikhallsten
LQ Newbie
 
Registered: Feb 2008
Location: Tammerfors, Finland
Distribution: slackware 12.0 and PCLinuxOS 2007.
Posts: 15

Original Poster
Rep: Reputation: 0
kernel vulnerability ?

truthfatal

Thank you for your advice. That are a very good
sample about how to proceed. You have even loked
up my nearest Sloackware mirror.

Erik
 
Old 02-28-2008, 12:28 PM   #6
erikhallsten
LQ Newbie
 
Registered: Feb 2008
Location: Tammerfors, Finland
Distribution: slackware 12.0 and PCLinuxOS 2007.
Posts: 15

Original Poster
Rep: Reputation: 0
kernel vulnerability ?

Quote:
Originally Posted by erikhallsten View Post
truthfatal

Thank you for your advice. That are a very good
sample about how to proceed. You have even loked
up my nearest Sloackware mirror.

Erik
Your advise worked well.

Erik
 
  


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
security vulnerability Malachai.77 Linux - Security 2 06-10-2006 12:12 AM
Linux Kernel Vulnerability jeremy Linux - Security 2 03-15-2005 02:03 AM
Remote Kernel Vulnerability affects 2.6.9 TruckStuff Linux - Security 1 12-16-2004 09:21 AM
Java vulnerability BrianMC SUSE / openSUSE 1 11-25-2004 02:40 PM
OpenBSD Vulnerability leeach *BSD 4 04-21-2004 02:01 AM

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

All times are GMT -5. The time now is 09:31 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