Bug 8513 - Update request: kernel-vserver-3.4.24-3.mga2
Summary: Update request: kernel-vserver-3.4.24-3.mga2
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-64-OK MGA2-32-OK
Keywords: validated_update
Depends on: 8227
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-27 00:11 CET by Thomas Backlund
Modified: 2013-01-18 01:33 CET (History)
3 users (show)

See Also:
Source RPM: kernel-vserver-3.4.24-3.mga2, util-vserver-0.30.216-0.pre3038.1.mga2
CVE:
Status comment:


Attachments

Description Thomas Backlund 2012-12-27 00:11:16 CET
Update request: kernel-vserver-3.4.24-2.mga2, util-vserver-0.30.216-0.pre3038.1.mga2



Advisory:
- to be written


Testing:
Test install, boots, works


RPMS:

i586:
kernel-vserver-3.4.24-2.mga2-1-1.mga2.i586.rpm
kernel-vserver-devel-3.4.24-2.mga2-1-1.mga2.i586.rpm
kernel-vserver-devel-latest-3.4.24-2.mga2.i586.rpm
kernel-vserver-doc-3.4.24-2.mga2.noarch.rpm
kernel-vserver-latest-3.4.24-2.mga2.i586.rpm
kernel-vserver-source-3.4.24-2.mga2-1-1.mga2.noarch.rpm
kernel-vserver-source-latest-3.4.24-2.mga2.noarch.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-build-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-core-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-devel-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-legacy-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-lib-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-python-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-sysv-0.30.216-0.pre3038.1.mga2.i586.rpm



x86_64:
kernel-vserver-3.4.24-2.mga2-1-1.mga2.x86_64.rpm
kernel-vserver-devel-3.4.24-2.mga2-1-1.mga2.x86_64.rpm
kernel-vserver-devel-latest-3.4.24-2.mga2.x86_64.rpm
kernel-vserver-doc-3.4.24-2.mga2.noarch.rpm
kernel-vserver-latest-3.4.24-2.mga2.x86_64.rpm
kernel-vserver-source-3.4.24-2.mga2-1-1.mga2.noarch.rpm
kernel-vserver-source-latest-3.4.24-2.mga2.noarch.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-build-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-core-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-devel-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-legacy-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-lib-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-python-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-sysv-0.30.216-0.pre3038.1.mga2.x86_64.rpm



SRPMS:
kernel-vserver-3.4.24-2.mga2.src.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.src.rpm
Comment 1 Thomas Backlund 2012-12-27 00:12:54 CET
Adding Herbert in CC, as he can provide info on how to test vserver functions, and maybe help validating the kernels too...

Status: NEW => ASSIGNED
CC: (none) => herbert
Depends on: (none) => 8227

Comment 2 Herbert Poetzl 2012-12-27 15:21:51 CET
basic testing can be done with testme.sh [1] and testfs.sh [2] (note that not all filesystem tests succeed on all filesystems, but ext2/3/4 should be fine)

a good test for util-vserver is to install a new guest via network install, start and enter it [3].

Note that this testing has already been done when a new patch is released.

best,
Herbert

[1] http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
[2] http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh
[3] http://linux-vserver.org/Building_Guest_Systems
Comment 3 Thomas Backlund 2013-01-03 16:14:04 CET
123456789012345678901234567890123456789012345678901234567890123456789012345

Advisory:
This kernel-vserver update provides an upgrade to upstream 3.4-longterm
branch.

This allows us to benefit from extra tests and maintenance from upstream
developers and testers, providing a very good base for Mageia users.


It also fixes the following security issues:
- Calling uname() with the UNAME26 personality set allows a leak of
  kernel stack contents. (CVE-2012-0957)

- NFC: Fix multiple remotely-exploitable stack-based buffer overflows due
  to the NCI code pulling length fields directly from incoming frames and
  copying too much data into statically-sized arrays. (CVE-2012-3364)

- A use-after-free flaw has been found in madvise_remove() function in 
  the Linux kernel. madvise_remove() can race with munmap (causing a
  use-after-free of the vma) or with close (causing a use-after-free of
  the struct file). An unprivileged local user can use this flaw to crash
  the system. (CVE-2012-3510)

- Pablo Neira Ayuso discovered that avahi and potentially NetworkManager
  accept spoofed Netlink messages because of a kernel bug. The kernel
  passes all-zero SCM_CREDENTIALS ancillary data to the receiver if the
  sender did not provide such data, instead of not including any such
  data at all or including the correct data from the peer (as it is the
  case with AF_UNIX). (CVE-2012-3520)

- As Tetsuo Handa pointed out, request_module() can stress the system
  while the oom-killed caller sleeps in TASK_UNINTERRUPTIBLE.
  The task T uses "almost all" memory, then it does something which
  triggers request_module().  Say, it can simply call sys_socket().
  This in turn needs more memory and leads to OOM.  oom-killer correctly
  chooses T and kills it, but this can't help because it sleeps in
  TASK_UNINTERRUPTIBLE and after that oom-killer becomes "disabled" by
  the TIF_MEMDIE task T.A local unprivileged user can make the system
  unusable. (CVE-2012-4398)

- A flaw has been found in the way Linux kernel's KVM subsystem handled
  vcpu->arch.cr4 X86_CR4_OSXSAVE bit set upon guest enter. On hosts
  without the XSAVE feature and using qemu userspace an unprivileged
  local user could use this flaw to crash the system. (CVE-2012-4461)

- Commit 644595f89620 ("compat: Handle COMPAT_USE_64BIT_TIME in
  net/socket.c") introduced a bug where the helper functions to take
  either a 64-bit or compat time[spec|val] got the arguments in the
  wrong order, passing the kernel stack pointer off as a user pointer
  (and vice versa).
  Because of the user address range check, that in turn then causes an
  EFAULT due to the user pointer range checking failing for the kernel
  address.  Incorrectly resuling in a failed system call for 32-bit
  processes with a 64-bit kernel.
  On odder architectures like HP-PA (with separate user/kernel address
  spaces), it can be used read kernel memory. (CVE-2012-4467)

- A race condition flaw has been found in the way asynchronous I/O and
  fallocate interacted which can lead to exposure of stale data -- that
  is, an extent which should have had the "uninitialized" bit set
  indicating that its blocks have not yet been written and thus contain
  data from a deleted file. An unprivileged local user could use this
  flaw to cause an information leak. (CVE-2012-4508)

- Reading TCP stats when using TCP Illinois congestion control algorithm
  can cause a divide by zero kernel oops.An unprivileged local user could
  use this flaw to crash the system. (CVE-2012-4565)


Other fixes in this release:
- update vserver patch to upstream 0.30.216-pre3038
- add support for Atheros AR8161/8165 Atheros PCI-E Gigabit Ethernet
  Controller (mga #7853)
- module: fix symbol waiting when module fails before init, wait when
  loading a module which is currently initializing. (mga #7375)

For other changes in 3.4 series kernel, see the kernelnewbies link,
and the referenced stable changelogs.


References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0957
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3364
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3510
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3520
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4398
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4461
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4467
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4508
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4565
http://kernelnewbies.org/Linux_3.4
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.1
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.2
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.3
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.4
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.5
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.6
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.7
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.8
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.9
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.10
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.11
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.12
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.13
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.14
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.15
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.16
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.17
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.18
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.19
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.20
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.21
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.22
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.23
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.24
https://bugs.mageia.org/show_bug.cgi?id=7375
https://bugs.mageia.org/show_bug.cgi?id=7853
https://bugs.mageia.org/show_bug.cgi?id=8513
Comment 4 Thomas Backlund 2013-01-03 16:47:44 CET
fix for mga #7375 is not in this kernel, will be added later
Comment 5 Thomas Backlund 2013-01-05 18:35:00 CET
Updated rpms to validate:

Additional fixes:
- conflict dkms packages not supporting 3.4 series kernels
- kernel-vserver-source does not add build & source symlinks anymore as
  they mess with dkms builds...
- A memory disclosure flaw has been found in the way binfmt_script 
  load_script() function handled excessive recursions. An
  unprivileged local user could use this flaw to leak kernel memory.
  (CVE-2012-4530)
- bug 7375 is now fixed here too



i586:
kernel-vserver-3.4.24-3.mga2-1-1.mga2.i586.rpm
kernel-vserver-devel-3.4.24-3.mga2-1-1.mga2.i586.rpm
kernel-vserver-devel-latest-3.4.24-3.mga2.i586.rpm
kernel-vserver-doc-3.4.24-3.mga2.noarch.rpm
kernel-vserver-latest-3.4.24-3.mga2.i586.rpm
kernel-vserver-source-3.4.24-3.mga2-1-1.mga2.noarch.rpm
kernel-vserver-source-latest-3.4.24-3.mga2.noarch.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-build-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-core-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-devel-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-legacy-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-lib-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-python-0.30.216-0.pre3038.1.mga2.i586.rpm
util-vserver-sysv-0.30.216-0.pre3038.1.mga2.i586.rpm



x86_64:
kernel-vserver-3.4.24-3.mga2-1-1.mga2.x86_64.rpm
kernel-vserver-devel-3.4.24-3.mga2-1-1.mga2.x86_64.rpm
kernel-vserver-devel-latest-3.4.24-3.mga2.x86_64.rpm
kernel-vserver-doc-3.4.24-3.mga2.noarch.rpm
kernel-vserver-latest-3.4.24-3.mga2.x86_64.rpm
kernel-vserver-source-3.4.24-3.mga2-1-1.mga2.noarch.rpm
kernel-vserver-source-latest-3.4.24-3.mga2.noarch.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-build-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-core-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-devel-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-legacy-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-lib-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-python-0.30.216-0.pre3038.1.mga2.x86_64.rpm
util-vserver-sysv-0.30.216-0.pre3038.1.mga2.x86_64.rpm



SRPMS:
kernel-vserver-3.4.24-3.mga2.src.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.src.rpm

Summary: Update request: kernel-vserver-3.4.24-2.mga2 => Update request: kernel-vserver-3.4.24-3.mga2
Source RPM: kernel-vserver-3.4.24-2.mga2, util-vserver-0.30.216-0.pre3038.1.mga2 => kernel-vserver-3.4.24-3.mga2, util-vserver-0.30.216-0.pre3038.1.mga2

Comment 6 Thomas Backlund 2013-01-05 19:02:07 CET
Updated advisory:

This kernel-vserver update provides an upgrade to upstream 3.4-longterm branch.

This allows us to benefit from extra tests and maintenance from upstream
developers and testers, providing a very good base for Mageia users.


It also fixes the following security issues:
- Calling uname() with the UNAME26 personality set allows a leak of
  kernel stack contents. (CVE-2012-0957)

- NFC: Fix multiple remotely-exploitable stack-based buffer overflows due
  to the NCI code pulling length fields directly from incoming frames and
  copying too much data into statically-sized arrays. (CVE-2012-3364)

- A use-after-free flaw has been found in madvise_remove() function in 
  the Linux kernel. madvise_remove() can race with munmap (causing a
  use-after-free of the vma) or with close (causing a use-after-free of
  the struct file). An unprivileged local user can use this flaw to crash
  the system. (CVE-2012-3510)

- Pablo Neira Ayuso discovered that avahi and potentially NetworkManager
  accept spoofed Netlink messages because of a kernel bug. The kernel
  passes all-zero SCM_CREDENTIALS ancillary data to the receiver if the
  sender did not provide such data, instead of not including any such
  data at all or including the correct data from the peer (as it is the
  case with AF_UNIX). (CVE-2012-3520)

- As Tetsuo Handa pointed out, request_module() can stress the system
  while the oom-killed caller sleeps in TASK_UNINTERRUPTIBLE.
  The task T uses "almost all" memory, then it does something which
  triggers request_module().  Say, it can simply call sys_socket().
  This in turn needs more memory and leads to OOM.  oom-killer correctly
  chooses T and kills it, but this can't help because it sleeps in
  TASK_UNINTERRUPTIBLE and after that oom-killer becomes "disabled" by
  the TIF_MEMDIE task T.A local unprivileged user can make the system
  unusable. (CVE-2012-4398)

- A flaw has been found in the way Linux kernel's KVM subsystem handled
  vcpu->arch.cr4 X86_CR4_OSXSAVE bit set upon guest enter. On hosts
  without the XSAVE feature and using qemu userspace an unprivileged
  local user could use this flaw to crash the system. (CVE-2012-4461)

- Commit 644595f89620 ("compat: Handle COMPAT_USE_64BIT_TIME in
  net/socket.c") introduced a bug where the helper functions to take
  either a 64-bit or compat time[spec|val] got the arguments in the
  wrong order, passing the kernel stack pointer off as a user pointer
  (and vice versa).
  Because of the user address range check, that in turn then causes an
  EFAULT due to the user pointer range checking failing for the kernel
  address.  Incorrectly resuling in a failed system call for 32-bit
  processes with a 64-bit kernel.
  On odder architectures like HP-PA (with separate user/kernel address
  spaces), it can be used read kernel memory. (CVE-2012-4467)

- A race condition flaw has been found in the way asynchronous I/O and
  fallocate interacted which can lead to exposure of stale data -- that
  is, an extent which should have had the "uninitialized" bit set
  indicating that its blocks have not yet been written and thus contain
  data from a deleted file. An unprivileged local user could use this
  flaw to cause an information leak. (CVE-2012-4508)

- A memory disclosure flaw has been found in the way binfmt_script 
  load_script() function handled excessive recursions. An
  unprivileged local user could use this flaw to leak kernel memory.
  (CVE-2012-4530)

- Reading TCP stats when using TCP Illinois congestion control algorithm
  can cause a divide by zero kernel oops.An unprivileged local user could
  use this flaw to crash the system. (CVE-2012-4565)


Other fixes in this release:
- module: fix symbol waiting when module fails before init, wait when
  loading a module which is currently initializing. (mga #7375)
- add support for Atheros AR8161/8165 Atheros PCI-E Gigabit Ethernet
  Controller (mga #7853)
- conflict dkms packages not supporting 3.4 series kernels
- kernel--vserver-source does not add build & source symlinks anymore
  as they mess with dkms builds.


For other changes in 3.4 series kernel, see the kernelnewbies link,
and the referenced stable changelogs.


References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0957
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3364
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3510
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3520
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4398
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4461
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4467
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4508
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4530
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4565
http://kernelnewbies.org/Linux_3.4
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.1
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.2
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.3
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.4
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.5
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.6
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.7
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.8
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.9
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.10
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.11
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.12
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.13
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.14
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.15
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.16
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.17
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.18
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.19
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.20
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.21
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.22
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.23
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.24
https://bugs.mageia.org/show_bug.cgi?id=7375
https://bugs.mageia.org/show_bug.cgi?id=7853
https://bugs.mageia.org/show_bug.cgi?id=8068
Comment 7 Dave Hodgins 2013-01-17 21:19:19 CET
Validating the update.

Could someone from the sysadmin team push the srpms
kernel-vserver-3.4.24-2.mga2.src.rpm
util-vserver-0.30.216-0.pre3038.1.mga2.src.rpm
from Mageia 2 Core Updates Testing to Core Updates.

See Comment 6 for the advisory.

Keywords: (none) => validated_update
CC: (none) => davidwhodgins, sysadmin-bugs
Whiteboard: (none) => MGA2-64-OK MGA2-32-OK

Comment 8 Thomas Backlund 2013-01-18 01:33:57 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0012

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.