Skip to content

4.4.148-stable review

Greg Kroah-Hartman linux-arch linux-mm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest42 of 43 patches 8 repliesIn review

42 of 43 patches are in this archive. The cover letter announces 43.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/43ext4: fix check to prevent initializing reserved inodesfs/ext4/ialloc.c fs/ext4/super.c+5 -80 replies
2/43tpm: fix race condition in tpm_common_write()drivers/char/tpm/tpm-dev.c+20 -230 replies
3/43ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIVnet/ipv4/Kconfig net/ipv6/Kconfig+2 -00 replies
4/43fork: unconditionally clear stack on forkinclude/linux/thread_info.h+1 -50 replies
5/43parisc: Enable CONFIG_MLONGCALLS by defaultarch/parisc/Kconfig+1 -10 replies
7/43xen/netfront: dont cache skb_shinfo()drivers/net/xen-netfront.c+4 -40 replies
8/43ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devicesdrivers/acpi/acpi_lpss.c+2 -00 replies
9/43scsi: sr: Avoid that opening a CD-ROM hangs with runtime power management enableddrivers/scsi/sr.c+21 -80 replies
10/43root dentries need RCU-delayed freeingfs/dcache.c+4 -20 replies
11/43fix mntput/mntput racefs/namespace.c+12 -20 replies
12/43fix __legitimize_mnt()/mntput() racefs/namespace.c+14 -00 replies
13/43IB/core: Make testing MR flags for writability a static inline functiondrivers/infiniband/core/umem.c include/rdma/ib_verbs.h+15 -100 replies
14/43IB/mlx4: Mark user MR as writable if actual virtual memory is writabledrivers/infiniband/hw/mlx4/mr.c+42 -80 replies
15/43IB/ocrdma: fix out of bounds access to local bufferdrivers/infiniband/hw/ocrdma/ocrdma_stats.c+1 -10 replies
16/43ARM: dts: imx6sx: fix irq for pcie bridgearch/arm/boot/dts/imx6sx.dtsi+1 -10 replies
17/43x86/paravirt: Fix spectre-v2 mitigations for paravirt guestsarch/x86/kernel/paravirt.c+10 -40 replies
18/43x86/speculation: Protect against userspace-userspace spectreRSBarch/x86/kernel/cpu/bugs.c+7 -310 replies
19/43kprobes/x86: Fix %p uses in error messagesarch/x86/kernel/kprobes/core.c+1 -30 replies
20/43x86/irqflags: Provide a declaration for native_save_flarch/x86/include/asm/irqflags.h+2 -00 replies
21/43x86/speculation/l1tf: Increase 32bit PAE __PHYSICAL_PAGE_SHIFTarch/x86/include/asm/page_32_types.h+7 -20 replies
22/43x86/mm: Move swap offset/type up in PTE to work around erratumarch/x86/include/asm/pgtable_64.h+20 -60 replies
23/43x86/mm: Fix swap entry comment and macroarch/x86/include/asm/pgtable_64.h+2 -20 replies
24/43mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1arch/x86/include/asm/pgtable_64.h arch/x86/include/asm/pgtable_types.h+14 -80 replies
25/43x86/speculation/l1tf: Change order of offset/type in swap entryarch/x86/include/asm/pgtable_64.h+20 -110 replies
26/43x86/speculation/l1tf: Protect swap entries against L1TFarch/x86/include/asm/pgtable_64.h+8 -30 replies
27/43x86/speculation/l1tf: Protect PROT_NONE PTEs against speculationarch/x86/include/asm/pgtable-2level.h arch/x86/include/asm/pgtable-3level.h arch/x86/include/asm/pgtable-invert.h +2 more+80 -110 replies
28/43x86/speculation/l1tf: Make sure the first page is always reservedarch/x86/kernel/setup.c+6 -00 replies
29/43x86/speculation/l1tf: Add sysfs reporting for l1tfarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/bugs.c +3 more+77 -10 replies
30/43mm: Add vm_insert_pfn_prot()include/linux/mm.h mm/memory.c+25 -20 replies
31/43mm: fix cache mode tracking in vm_insert_mixed()mm/memory.c+6 -22 replies
32/43x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappingsarch/x86/include/asm/pgtable.h arch/x86/mm/mmap.c include/asm-generic/pgtable.h +2 more+112 -70 replies
33/43x86/speculation/l1tf: Limit swap file size to MAX_PA/2arch/x86/mm/init.c include/linux/swapfile.h mm/swapfile.c+47 -160 replies
34/43x86/bugs: Move the l1tf function and define pr_fmt properlyarch/x86/kernel/cpu/bugs.c+29 -260 replies
35/43x86/speculation/l1tf: Extend 64bit swap file size limitarch/x86/mm/init.c+9 -10 replies
36/43x86/cpufeatures: Add detection of L1D cache flush support.arch/x86/include/asm/cpufeatures.h+1 -00 replies
37/43x86/speculation/l1tf: Protect PAE swap entries against L1TFarch/x86/include/asm/pgtable-3level.h arch/x86/mm/init.c+34 -30 replies
38/43x86/speculation/l1tf: Fix up pte->pfn conversion for PAEarch/x86/include/asm/pgtable.h+5 -50 replies
39/43x86/speculation/l1tf: Invert all not present mappingsarch/x86/include/asm/pgtable-invert.h+1 -10 replies
40/43x86/speculation/l1tf: Make pmd/pud_mknotpresent() invertarch/x86/include/asm/pgtable.h+6 -50 replies
41/43x86/mm/pat: Make set_memory_np() L1TF safearch/x86/include/asm/pgtable.h arch/x86/mm/pageattr.c+31 -43 replies
42/43x86/mm/kmmio: Make the tracer robust against L1TFarch/x86/mm/kmmio.c+15 -100 replies
43/43x86/speculation/l1tf: Fix up CPU feature flagsarch/x86/include/asm/cpufeatures.h+3 -30 replies

Reviews trailers per patch

22 of 42 patches have a Reviewed-by or Acked-by.

PatchHerbert XuMichal HockoAndrew MortonSrinidhi RaoWei LiuRafael J . WysockiJann HornLucas StachAndi KleenJosh PoimboeufVlastimil BabkaDave HansenKees CookLeon RomanovskyJuergen GrossTim ChenJarkko SakkinenJohannes Thumshirn
1/43
2/43R-b
3/43A-b
4/43A-b R-b R-b
5/43
7/43R-b
8/43A-b
9/43T-b R-b
10/43
11/43T-b
12/43
13/43
14/43
15/43R-b
16/43R-b
17/43R-b
18/43R-b A-b
19/43
20/43
21/43A-b R-b A-b
22/43
23/43
24/43A-b
25/43A-b T-b R-b A-b A-b
26/43A-b T-b R-b A-b A-b
27/43A-b R-b A-b A-b
28/43R-b A-b
29/43R-b A-b
30/43A-b R-b
31/43
32/43R-b A-b
33/43A-b R-b A-b
34/43
35/43
36/43
37/43A-b
38/43A-b
39/43
40/43
41/43
42/43
43/43

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 18 reviewers.

Read the v1 thread

Cover letter [PATCH 4.4 00/43] 4.4.148-stable review

This is the start of the stable review cycle for the 4.4.148 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Thu Aug 16 17:14:59 UTC 2018. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.148-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 4.4.148-rc1

Guenter Roeck <[email protected]>
x86/speculation/l1tf: Fix up CPU feature flags

Andi Kleen <[email protected]>
x86/mm/kmmio: Make the tracer robust against L1TF

Andi Kleen <[email protected]>
x86/mm/pat: Make set_memory_np() L1TF safe

Andi Kleen <[email protected]>
x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert

Andi Kleen <[email protected]>
x86/speculation/l1tf: Invert all not present mappings

Michal Hocko <[email protected]>

    x86/speculation/l1tf: Fix up pte->pfn conversion for PAE

Vlastimil Babka <[email protected]>
x86/speculation/l1tf: Protect PAE swap entries against L1TF

Konrad Rzeszutek Wilk <[email protected]>
x86/cpufeatures: Add detection of L1D cache flush support.

Vlastimil Babka <[email protected]>
x86/speculation/l1tf: Extend 64bit swap file size limit

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Move the l1tf function and define pr_fmt properly

Andi Kleen <[email protected]>
x86/speculation/l1tf: Limit swap file size to MAX_PA/2

Andi Kleen <[email protected]>
x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings

Dan Williams <[email protected]>
mm: fix cache mode tracking in vm_insert_mixed()

Andy Lutomirski <[email protected]>
mm: Add vm_insert_pfn_prot()

Andi Kleen <[email protected]>
x86/speculation/l1tf: Add sysfs reporting for l1tf

Andi Kleen <[email protected]>
x86/speculation/l1tf: Make sure the first page is always reserved

Andi Kleen <[email protected]>
x86/speculation/l1tf: Protect PROT_NONE PTEs against speculation

Linus Torvalds <[email protected]>
x86/speculation/l1tf: Protect swap entries against L1TF

Linus Torvalds <[email protected]>
x86/speculation/l1tf: Change order of offset/type in swap entry

Naoya Horiguchi <[email protected]>
mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

Dave Hansen <[email protected]>
x86/mm: Fix swap entry comment and macro

Dave Hansen <[email protected]>
x86/mm: Move swap offset/type up in PTE to work around erratum

Andi Kleen <[email protected]>
x86/speculation/l1tf: Increase 32bit PAE __PHYSICAL_PAGE_SHIFT

Nick Desaulniers <[email protected]>
x86/irqflags: Provide a declaration for native_save_fl

Masami Hiramatsu <[email protected]>
kprobes/x86: Fix %p uses in error messages

Jiri Kosina <[email protected]>
x86/speculation: Protect against userspace-userspace spectreRSB

Peter Zijlstra <[email protected]>
x86/paravirt: Fix spectre-v2 mitigations for paravirt guests

Oleksij Rempel <[email protected]>
ARM: dts: imx6sx: fix irq for pcie bridge

Michael Mera <[email protected]>
IB/ocrdma: fix out of bounds access to local buffer

Jack Morgenstein <[email protected]>
IB/mlx4: Mark user MR as writable if actual virtual memory is writable

Jack Morgenstein <[email protected]>
IB/core: Make testing MR flags for writability a static inline function

Al Viro <[email protected]>
fix __legitimize_mnt()/mntput() race

Al Viro <[email protected]>
fix mntput/mntput race

Al Viro <[email protected]>
root dentries need RCU-delayed freeing

Bart Van Assche <[email protected]>
scsi: sr: Avoid that opening a CD-ROM hangs with runtime power management enabled

Hans de Goede <[email protected]>
ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices

Juergen Gross <[email protected]>
xen/netfront: don't cache skb_shinfo()

John David Anglin <[email protected]>
parisc: Define mb() and add memory barriers to assembler unlock sequences

Helge Deller <[email protected]>
parisc: Enable CONFIG_MLONGCALLS by default

Kees Cook <[email protected]>
fork: unconditionally clear stack on fork

Thomas Egerer <[email protected]>
ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV

Tadeusz Struk <[email protected]>
tpm: fix race condition in tpm_common_write()

Theodore Ts'o <[email protected]>
ext4: fix check to prevent initializing reserved inodes

-------------

Diffstat:

 Makefile                                    |  4 +-
 arch/arm/boot/dts/imx6sx.dtsi               |  2 +-
 arch/parisc/Kconfig                         |  2 +-
 arch/parisc/include/asm/barrier.h           | 32 +++++++++++
 arch/parisc/kernel/entry.S                  |  2 +
 arch/parisc/kernel/pacache.S                |  1 +
 arch/parisc/kernel/syscall.S                |  4 ++
 arch/x86/include/asm/cpufeatures.h          | 10 ++--
 arch/x86/include/asm/irqflags.h             |  2 +
 arch/x86/include/asm/page_32_types.h        |  9 +++-
 arch/x86/include/asm/pgtable-2level.h       | 17 ++++++
 arch/x86/include/asm/pgtable-3level.h       | 37 ++++++++++++-
 arch/x86/include/asm/pgtable-invert.h       | 32 +++++++++++
 arch/x86/include/asm/pgtable.h              | 84 +++++++++++++++++++++++------
 arch/x86/include/asm/pgtable_64.h           | 54 +++++++++++++++----
 arch/x86/include/asm/pgtable_types.h        | 10 ++--
 arch/x86/include/asm/processor.h            |  5 ++
 arch/x86/kernel/cpu/bugs.c                  | 81 +++++++++++++++++-----------
 arch/x86/kernel/cpu/common.c                | 20 +++++++
 arch/x86/kernel/kprobes/core.c              |  4 +-
 arch/x86/kernel/paravirt.c                  | 14 +++--
 arch/x86/kernel/setup.c                     |  6 +++
 arch/x86/mm/init.c                          | 23 ++++++++
 arch/x86/mm/kmmio.c                         | 25 +++++----
 arch/x86/mm/mmap.c                          | 21 ++++++++
 arch/x86/mm/pageattr.c                      |  8 +--
 drivers/acpi/acpi_lpss.c                    |  2 +
 drivers/base/cpu.c                          |  8 +++
 drivers/char/tpm/tpm-dev.c                  | 43 +++++++--------
 drivers/infiniband/core/umem.c              | 11 +---
 drivers/infiniband/hw/mlx4/mr.c             | 50 ++++++++++++++---
 drivers/infiniband/hw/ocrdma/ocrdma_stats.c |  2 +-
 drivers/net/xen-netfront.c                  |  8 +--
 drivers/scsi/sr.c                           | 29 +++++++---
 fs/dcache.c                                 |  6 ++-
 fs/ext4/ialloc.c                            |  5 +-
 fs/ext4/super.c                             |  8 +--
 fs/namespace.c                              | 28 +++++++++-
 include/asm-generic/pgtable.h               | 12 +++++
 include/linux/cpu.h                         |  2 +
 include/linux/mm.h                          |  2 +
 include/linux/swapfile.h                    |  2 +
 include/linux/thread_info.h                 |  6 +--
 include/rdma/ib_verbs.h                     | 14 +++++
 mm/memory.c                                 | 62 +++++++++++++++++----
 mm/mprotect.c                               | 49 +++++++++++++++++
 mm/swapfile.c                               | 46 ++++++++++------
 net/ipv4/Kconfig                            |  1 +
 net/ipv6/Kconfig                            |  1 +
 49 files changed, 714 insertions(+), 192 deletions(-)