dirty cow und 12.04 LTS

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Oct 27 15:49:07 UTC 2016



----- On Oct 27, 2016, at 5:35 PM, Colin Law clanlaw at gmail.com wrote:

>> Hi Colin,


> I think you probably just need to install linux-image-generic but not certain.

>> The changelog said:
>> linux (3.2.0-113.155) precise; urgency=low

>> * CVE-2016-5195
>> - SAUCE: mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

>> -- Stefan Bader < stefan.bader at canonical.com > Tue, 18 Oct 2016 10:32:41 +0200
>> (
>> http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_3.2.0-113.155/changelog
>> )
>> So i think this is dirty-cow related.

>> Installation went fine, i see the "new" kernel and the initrd in /boot.
>> But system boots still the "old kernel" (3.5.0.23.30)

>> I changed /etc/default/grub:

>> ...
>> GRUB_DEFAULT='Ubuntu, with Linux 3.2.0-113-generic'
>> ...

>> This is my /boot/grub/grub.cfg:

>> ...
>> menuentry 'Ubuntu, with Linux 3.5.0-23-generic' --class ubuntu --class gnu-linux
>> --class gnu --class os {
>> ...
>> }
>> menuentry 'Ubuntu, with Linux 3.5.0-23-generic (recovery mode)' --class ubuntu
>> --class gnu-linux --class gnu --class os {
>> ...
>> }

>> submenu "Previous Linux versions" {
>> menuentry 'Ubuntu, with Linux 3.2.0-113-generic' --class ubuntu --class
>> gnu-linux --class gnu --class os {
>> recordfail
>> gfxmode $linux_gfx_mode
>> insmod gzio
>> insmod part_msdos
>> insmod ext2
>> set root='(hd0,msdos1)'
>> search --no-floppy --fs-uuid --set=root 6631ef2a-0a8d-4bef-914b-fcb6ae39dc47
>> linux /boot/vmlinuz-3.2.0-113-generic
>> root=UUID=6631ef2a-0a8d-4bef-914b-fcb6ae39dc47 ro
>> initrd /boot/initrd.img-3.2.0-113-generic
>> }

>> menuentry 'Ubuntu, with Linux 3.2.0-113-generic (recovery mode)' --class ubuntu
>> --class gnu-linux --class gnu --class os {
>> ...
>> }
>> ...

>> Afterwards i ran update-grub and "grub-install /dev/sda". Both ran fine, no
>> errors.

>> But still the "old" kernel boots.

>> I'm not very familiar with Ubuntu, i use mostly Suse.

>> Bernd

I did that, but still the old kernel boots.

root at PC62470:~# aptitude versions linux-image |grep '^i'
i   3.2.0-113.155                                 precise-security,precise- 500
i   3.5.0-23.35~precise1                          precise-security,precise- 500
i   3.5.0.23.30                                                             100

Is there anything else i have to do with grub ?


Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671





More information about the ubuntu-users mailing list