Commit Graph

13630 Commits

Author SHA1 Message Date
Bastian Blank 6069ca359b Enable NFT_CONNLIMIT, NFT_TUNNEL, NFT_SOCKET, NFT_OSF, NFT_TPROXY 2018-12-16 18:13:08 +01:00
Bastian Blank 86cbdc4d6f Clean up kconfig order 2018-12-16 18:07:59 +01:00
Salvatore Bonaccorso 24537c953a Add changelog entry for CVE-2018-19824 2018-12-16 16:04:04 +01:00
Ben Hutchings 17aab35fd1 Merge branch '4.19-feature-xen-pvh' into 'master'
[x86] Support booting a Xen PVH guest via Grub2

See merge request kernel-team/linux!84
2018-12-14 17:47:34 +00:00
Romain Perier 2d3dc49342 [rt] Add new GPG subkeys for Sebastian Andrzej Siewior 2018-12-14 17:38:48 +01:00
Hans van Kranenburg 4d63e6ccbb [x86] Support booting a Xen PVH guest via Grub2
tl;dr: Xen PVH is the perfect upgrade path from PV and in combination
with grub2 support, it's the Xen "killer feature" we really should have
in Buster.

    Background info about Xen PVH:
https://wiki.xen.org/wiki/Virtualization_Spectrum#Almost_fully_PV:_PVH_mode

PVH mode in Xen, a.k.a. "HVM without having to run qemu" is a Xen guest
type best supported since Xen 4.11 and Linux kernel 4.17. Just like when
using PV mode, the guest does not have an emulated BIOS and the guest
kernel is directly started by the dom0. Buster will ship with Xen 4.11.

   Why is PVH interesting?

1. When the whole Meltdown/Spectre story started, it quickly became
apparent that 64-bit PV is the most problematic virtualization mode to
protect and to protect from, since address space from the hypervisor and
other guests (including dom0) is reachable from a 64-bit PV domU. To
mitigate this, XPTI (the Xen variant of PTI) has been implemented in the
hypervisor, but with a performance hit. HVM (so, also PVH) guests are
better isolated from the hypervisor and other guests. Inside the guest a
choice can be made about which mitigations to enable or not.  Also see
https://xenbits.xen.org/xsa/advisory-254.html

2. Unlike HVM, it's not needed to have a boot loader/sector, partitions,
and a qemu process in the dom0 (using cpu and memory and having an
attack surface).  Also, when running a largeish amount of domUs on a
physical server, not having all the qemu processes is an advantage.

3. Unlike PV, PVH makes use of all hardware features that accelerate
virtualization.

   The upgrade path from PV to PVH is super optimal. It's just setting
type='pvh' in the guest file and doing a full restart of the domU!

Unless... (insert Monty Python's Dramatic Chord!)

Unless... grub2 was used to boot the PV guests.

   Why is it interesting to be able to use grub?

Without using grub in between, the guest kernel and initrd have to be
copied out of the guest onto the dom0 filesystem, because the guest has
to be booted with them directly.  Currently, we already have the
grub-xen packages in Debian, which provide grub images which can be used
as kernel for a PV guest, after which it can load the actual linux
kernel that is symlinked from /vmlinuz on the guest filesystem at that
moment.

The final changes to the Linux kernel for grub+PVH are in Linux 4.20.
This request, to carry a few patches from Linux 4.20, provides one half
of the dots that need to be connected to make the full thing happen for
Buster.

Since we'll have Xen 4.11 in Buster, PVH is supported. The related grub2
patchset was committed to the grub master branch on Dec 12 2018 (yup,
today). So, I'll also start contacting the debian grub team soon to ask
(and help) to get the current grub-xen functionality in Debian to be
extended with PVH capabilities as well.

Test reports:
https://lists.xenproject.org/archives/html/xen-devel/2018-10/msg01913.html
https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg03312.html
2018-12-14 16:55:04 +01:00
Romain Perier 79a9cada15 [rt] Update to 4.19.8-rt6 2018-12-14 10:56:14 +01:00
Ben Hutchings eea45f09a7 Merge branch 'enable-morus-and-aegis' into 'master'
Enable MORUS and AEGIS AEAD ciphers

See merge request kernel-team/linux!83
2018-12-14 05:52:27 +00:00
Salvatore Bonaccorso dfa9b24000 Update to 4.19.9
Drop vhost-vsock-fix-use-after-free-in-network-stack-call.patch

Cleanup debian/changelog file
2018-12-13 09:42:28 +01:00
Christoph Anton Mitterer 52a8f5d992 Enable MORUS and AEGIS AEAD ciphers
Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2018-12-13 05:43:02 +01:00
Salvatore Bonaccorso 2ad24cb08f Merge branch 'knorrie-guest/linux-4.19-fix-xen-dom0' 2018-12-12 21:24:02 +01:00
Hans van Kranenburg edc7c6ee64 [x86] Fix booting as Xen dom0
This patch is from the tip repo, and will show up in 4.19 later.
2018-12-12 15:57:21 +01:00
Ben Hutchings 17d52832bc Merge branch 'libbpf-pr' into 'master'
Add libbpf0, libbpf-dev packages (#914428)

See merge request kernel-team/linux!74
2018-12-09 21:40:33 +00:00
Hilko Bengen 9eeeda7c0d Add versioned libbpf, libbpf-dev package (Closes: #914428) 2018-12-09 22:11:42 +01:00
Ben Hutchings 1240fb3ac3 integrity: Disable INTEGRITY_TRUSTED_KEYRING (Closes: #865277) 2018-12-08 21:34:33 +00:00
Ben Hutchings a5cdd1f2cb Merge branch 'master' of salsa.debian.org:nsc-guest/linux 2018-12-08 18:58:30 +00:00
Salvatore Bonaccorso d7534bd9b6 vhost/vsock: fix use-after-free in network stack callers (CVE-2018-14625) 2018-12-08 15:40:45 +01:00
Salvatore Bonaccorso a69098a3f1 Prepare to upload to unstable
Drop the ~exp1 from the version.

Set ABI to 1.
2018-12-08 15:05:46 +01:00
Hilko Bengen 4f1f7c5735 Add patches to build libbpf.so with SONAME, link against libelf 2018-12-08 15:02:05 +01:00
Salvatore Bonaccorso fae4befcc9 Merge branch 'sid' 2018-12-08 15:02:01 +01:00
Nicolas Schier 3436e1c735
ovl: permit overlayfs mounts in user namespaces (Closes: #913880)
Permit overlayfs mounts within user namespaces to allow utilisation of e.g.
unprivileged LXC overlay snapshots.

Except by the Ubuntu community [1], overlayfs mounts in user namespaces are
expected to be a security risk [2] and thus are not enabled on upstream
Linux kernels.  For the non-Ubuntu users that have to stick to unprivileged
overlay-based LXCs, this meant to patch and compile the kernel manually.
Instead, adding the kernel tainting 'permit_mounts_in_userns' module
parameter allows a kind of a user-friendly way to enable the feature.

Testable with:

    sudo modprobe overlay permit_mounts_in_userns=1
    sudo sysctl -w kernel.unprivileged_userns_clone=1
    mkdir -p lower upper work mnt
    unshare --map-root-user --mount \
        mount -t overlay none mnt \
              -o lowerdir=lower,upperdir=upper,workdir=work

[1]: Ubuntu allows unprivileged mounting of overlay filesystem
https://lists.ubuntu.com/archives/kernel-team/2014-February/038091.html

[2]: User namespaces + overlayfs = root privileges
https://lwn.net/Articles/671641/

Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
2018-12-08 12:34:31 +00:00
Salvatore Bonaccorso 014c728272 Update to 4.19.8
Drop patches applied upstream in 4.19.8

Cleanup debian/changelog file

Add CVE id for CVE-2018-18397
2018-12-08 13:27:04 +01:00
Salvatore Bonaccorso 4237db03be blk-mq: punt failed direct issue to dispatch list 2018-12-08 11:28:12 +01:00
Salvatore Bonaccorso 771f295a0f blk-mq: fix corruption with direct issue
Closes: #915666
2018-12-06 17:39:15 +01:00
Salvatore Bonaccorso 1966fd8d99 Add CVE id information for CVE-2018-16862
Gbp-Dch: Ignore
2018-12-05 22:16:56 +01:00
Salvatore Bonaccorso 72b28400e1 Move debian/changelog entry to upstream entry for CVE-2018-19406
Gbp-Dch: Ignore
2018-12-05 20:44:39 +01:00
Romain Perier f5e26120c8 [rt] Disable rt until the patchset reapply onto 4.19.7 2018-12-05 20:04:36 +01:00
Romain Perier 5222653db6 Update to 4.19.7 2018-12-05 19:59:32 +01:00
Romain Perier 36bf3a2656 Update to 4.19.5-rt4 2018-12-04 21:08:34 +01:00
Salvatore Bonaccorso 37094dbb55 [x86] KVM: LAPIC: Fix pv ipis use-before-initialization (CVE-2018-19406) 2018-12-03 21:11:24 +01:00
Ben Hutchings 64dab5b29a libcpupower: Hide private function and drop it from .symbols file
This avoids an FTBFS after this function was renamed in 4.19.6.
2018-12-02 19:23:13 +00:00
Ben Hutchings 5a00e93df2 debian/rules: Mark more targets as phony 2018-12-01 19:18:56 +00:00
Ben Hutchings 63b7ced1fc debian/rules.real: Mark most targets as phony 2018-12-01 18:59:32 +00:00
Ben Hutchings 94a9229d27 Merge branch 'tools' into 'master'
Split build rules for tools to fix build without unversioned tools

See merge request kernel-team/linux!69
2018-12-01 18:53:13 +00:00
Salvatore Bonaccorso 53423211c4 Update to 4.19.6 2018-12-01 11:38:04 +01:00
Luca Boccassi b193cef0c3 Override dbg-package-missing-depends in source too
Lintian now warns about it on the source package as well.

Signed-off-by: Luca Boccassi <bluca@debian.org>
2018-11-30 14:03:52 +00:00
Luca Boccassi 6de833bc7e Do not ship python2-only call-graph-from-sql. 2018-11-30 14:03:52 +00:00
Luca Boccassi f5f169ba99 Split build rules for tools to allow skipping them.
Split the rules in d/rules.real so that the [un]versioned_tools
knobs can be used to avoid building them.

This is necessary since the build-dependency were moved to be
conditional on those knobs, so the build fails when the
unversioned tools are set to disabled as libpci-dev is not
installed but the tools are built and fail due to it missing.

Signed-off-by: Luca Boccassi <bluca@debian.org>
2018-11-30 14:03:52 +00:00
Uwe Kleine-König 983a169e24 Enable ATH10K_USB as a module 2018-11-30 10:39:33 +01:00
Romain Perier 4b1506935b [x86] Enable support for EDAC on the Intel Pondicherry2 Integrated Memory
Controller (Closes: #914946)
2018-11-29 16:15:55 +01:00
Uwe Kleine-König f1dc3f5614 d/changelog: move post 4.19.5-1_exp1 changes to a new log entry
Fix a typo on the way
2018-11-28 12:22:26 +01:00
Uwe Kleine-König b6cd648452 Merge branch 'master-linaro-changes' of salsa.debian.org:hrw-guest/linux 2018-11-28 11:19:46 +01:00
Marcin Juszkiewicz 6ccfef8c4b config/arm64: enable HiSilicon LPC for serial/ipmi access
D03 uses LPC for serial port
D0[356] use LPC to IPMI access
2018-11-28 11:05:11 +01:00
Marcin Juszkiewicz 9915166d6d config/arm64: enable IPMI watchdog and power off 2018-11-28 11:05:11 +01:00
Marcin Juszkiewicz ef82a0d79f config/arm64: enable PMU for several server cpus 2018-11-28 11:05:11 +01:00
Marcin Juszkiewicz a068e60575 config/arm64: enable PCI Express hotplug 2018-11-28 11:05:11 +01:00
Marcin Juszkiewicz a7888cf5d6 config/arm64: enable ACPI IPMI support 2018-11-28 11:05:11 +01:00
Bastian Blank 182e013b33 Prepare to release linux (4.19.5-1~exp1) 2018-11-27 20:07:15 +01:00
Salvatore Bonaccorso f183308f04 Update to 4.19.5 2018-11-27 16:32:45 +01:00
Vagrant Cascadian 5a64bc1733 debian/config/config: Enable Z3FOLD as a module. 2018-11-25 20:33:58 -08:00