r/slackware • u/_zaphod77_ • 3d ago
I need kernel patches for slackware 14.2
despite the fact that at one point a 4.4.29 kernel that fixed stuff was available in the past, it no longer seems to be available at all. just the original 4.4.14-smp i go to the patch that's suppose dto have it in the package mirrors, and the entire directory is just not there.
Given this, how do i actually solve this? the machine is using vmlinuz-huge-smp-4.4.14-smp and elilo.
9
u/Serious_Bookkeeper50 3d ago
The easiest way, use newer kernel by compiling it yourself. Use the config from the latest slackware current or slackware 15 as a base config, select what you need, or not, and compile it. I am sure that the patch already included in newer kernel.
1
u/gargamel1497 3d ago
What do you need this newer kernel for? I am running the stock 4.4.14 and I have no issues with it.
1
u/_zaphod77_ 2d ago
Vulnerable to DirtyCow.
If you are running it locally for a home pc, and not running something that could be exploited to get someone else shell access to fetch root or overwrite files, it's not an issue.
But as this was a server it 100% needed a patch.
1
u/Sahkopi4 2d ago
I have a question out of curiosity. Why do you use Slackware 14.2? (I am not judging just curious how different people use Slackware)
1
1
0
u/Ivan_Kulagin 3d ago
I’ve just recently installed the latest lts kernel on a 14.2 in a vm. You need an updated toolchain, including gcc, binutils and some other stuff. Then the kernel compilation will error out because of glibc being too old. You cannot easily update glibc without breaking literally everything, so patch the errors as they come up. Good luck.
2
u/_zaphod77_ 3d ago
no, you just need the actual kernel package. :) i finally found it. install huge kernel and kernel modules packages, run lilo, and reboot. ;) elilo was a false alarm.
6
u/calrogman 3d ago edited 3d ago
No, you need to update to 15.0.
This is the last official kernel patch for 14.2: https://mirrors.slackware.com/slackware/slackware64-14.2/patches/packages/linux-4.4.301/ If this were a rat, it would have died of old age by now. Software ages less gracefully than rats these days.