Skip to content

4.9.95-stable review

Greg Kroah-Hartman lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest66 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/66media: v4l2-compat-ioctl32: dont oops on overlaydrivers/media/v4l2-core/v4l2-compat-ioctl32.c+3 -10 replies
2/66parisc: Fix out of array access in match_pci_device()arch/parisc/kernel/drivers.c+4 -00 replies
3/66Drivers: hv: vmbus: do not mark HV_PCIE as perf_devicedrivers/hv/channel_mgmt.c+1 -10 replies
4/66perf intel-pt: Fix overlap detection to identify consecutive buffers correctlytools/perf/util/intel-pt-decoder/intel-pt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-decoder.h tools/perf/util/intel-pt.c+34 -350 replies
5/66perf intel-pt: Fix sync_switchtools/perf/util/intel-pt.c+25 -70 replies
6/66perf intel-pt: Fix error recovery from missing TIP packettools/perf/util/intel-pt-decoder/intel-pt-decoder.c+1 -00 replies
7/66perf intel-pt: Fix timestamp following overflowtools/perf/util/intel-pt-decoder/intel-pt-decoder.c+1 -00 replies
8/66perf/core: Fix use-after-free in uprobe_perf_close()kernel/events/core.c+6 -00 replies
9/66radeon: hide pointless #warning when compile testingdrivers/gpu/drm/radeon/radeon_object.c+2 -10 replies
10/66arm64: barrier: Add CSDB macros to control data-value predictionarch/arm64/include/asm/assembler.h arch/arm64/include/asm/barrier.h+9 -00 replies
11/66arm64: Implement array_index_mask_nospec()arch/arm64/include/asm/barrier.h+21 -00 replies
12/66arm64: move TASK_* definitions to <asm/processor.h>arch/arm64/include/asm/memory.h arch/arm64/include/asm/processor.h arch/arm64/kernel/entry.S+22 -150 replies
13/66arm64: Make USER_DS an inclusive limitarch/arm64/include/asm/processor.h arch/arm64/include/asm/uaccess.h arch/arm64/kernel/entry.S +1 more+33 -220 replies
14/66arm64: Use pointer masking to limit uaccess speculationarch/arm64/include/asm/uaccess.h+23 -30 replies
15/66arm64: entry: Ensure branch through syscall table is bounded under speculationarch/arm64/include/asm/assembler.h arch/arm64/kernel/entry.S+12 -00 replies
16/66arm64: uaccess: Prevent speculative use of the current addr_limitarch/arm64/include/asm/uaccess.h+7 -00 replies
17/66arm64: uaccess: Dont bother eliding access_ok checks in __{get, put}_userarch/arm64/include/asm/uaccess.h+36 -260 replies
18/66arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_userarch/arm64/include/asm/uaccess.h arch/arm64/kernel/arm64ksyms.c arch/arm64/lib/clear_user.S +1 more+17 -150 replies
19/66arm64: cpufeature: __this_cpu_has_cap() shouldnt stop earlyarch/arm64/kernel/cpufeature.c+1 -20 replies
20/66arm64: Run enable method for errata work arounds on late CPUsarch/arm64/kernel/cpu_errata.c+6 -30 replies
21/66arm64: cpufeature: Pass capability structure to ->enable callbackarch/arm64/kernel/cpufeature.c+2 -20 replies
22/66drivers/firmware: Expose psci_get_version through psci_ops structuredrivers/firmware/psci.c include/linux/psci.h+3 -00 replies
23/66arm64: Factor out TTBR0_EL1 post-update workaround into a specific asm macroarch/arm64/include/asm/assembler.h arch/arm64/mm/proc.S+15 -50 replies
24/66arm64: Move post_ttbr_update_workaround to C codearch/arm64/include/asm/assembler.h arch/arm64/mm/context.c arch/arm64/mm/proc.S+10 -150 replies
25/66arm64: Add skeleton to harden the branch predictor against aliasing attacksarch/arm64/Kconfig arch/arm64/include/asm/cpucaps.h arch/arm64/include/asm/mmu.h +8 more+219 -50 replies
26/66arm64: Move BP hardening to check_and_switch_contextarch/arm64/mm/context.c+3 -20 replies
27/66mm: Introduce lm_aliasinclude/linux/mm.h+4 -00 replies
28/66arm64: KVM: Use per-CPU vector when BP hardening is enabledarch/arm/include/asm/kvm_mmu.h arch/arm/kvm/arm.c arch/arm64/include/asm/kvm_mmu.h +1 more+57 -20 replies
29/66arm64: entry: Apply BP hardening for high-priority synchronous exceptionsarch/arm64/kernel/entry.S arch/arm64/mm/fault.c+13 -20 replies
30/66arm64: entry: Apply BP hardening for suspicious interrupts from EL0arch/arm64/kernel/entry.S arch/arm64/mm/fault.c+11 -00 replies
31/66arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75arch/arm64/include/asm/cputype.h+6 -00 replies
32/66arm64: cpu_errata: Allow an erratum to be match for all revisions of a corearch/arm64/kernel/cpu_errata.c+7 -00 replies
33/66arm64: Implement branch predictor hardening for affected Cortex-A CPUsarch/arm64/kernel/bpi.S arch/arm64/kernel/cpu_errata.c+66 -00 replies
34/66arm64: Branch predictor hardening for Cavium ThunderX2arch/arm64/kernel/cpu_errata.c+10 -00 replies
35/66arm64: KVM: Increment PC after handling an SMC traparch/arm64/kvm/handle_exit.c+9 -00 replies
36/66arm/arm64: KVM: Consolidate the PSCI include filesarch/arm/include/asm/kvm_psci.h arch/arm/kvm/arm.c arch/arm/kvm/handle_exit.c +4 more+35 -580 replies
37/66arm/arm64: KVM: Add PSCI_VERSION helperarch/arm/kvm/psci.c include/kvm/arm_psci.h include/uapi/linux/psci.h+8 -50 replies
38/66arm/arm64: KVM: Add smccc accessors to PSCI codearch/arm/kvm/psci.c+42 -100 replies
39/66arm/arm64: KVM: Implement PSCI 1.0 supportarch/arm/kvm/psci.c include/kvm/arm_psci.h+47 -10 replies
40/66arm/arm64: KVM: Advertise SMCCC v1.1arch/arm/kvm/handle_exit.c arch/arm/kvm/psci.c arch/arm64/kvm/handle_exit.c +2 more+39 -40 replies
41/66arm64: KVM: Make PSCI_VERSION a fast patharch/arm64/kvm/hyp/switch.c+13 -00 replies
42/66arm/arm64: KVM: Turn kvm_psci_version into a static inlinearch/arm/kvm/psci.c arch/arm64/kvm/hyp/switch.c include/kvm/arm_psci.h+33 -180 replies
43/66arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening supportarch/arm/include/asm/kvm_host.h arch/arm/kvm/psci.c arch/arm64/include/asm/kvm_host.h +1 more+24 -10 replies
44/66arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handlingarch/arm64/kvm/hyp/hyp-entry.S+18 -20 replies
45/66firmware/psci: Expose PSCI conduitdrivers/firmware/psci.c include/linux/psci.h+30 -50 replies
46/66firmware/psci: Expose SMCCC version through psci_opsdrivers/firmware/psci.c include/linux/psci.h+33 -00 replies
47/66arm/arm64: smccc: Make function identifiers an unsigned quantityinclude/linux/arm-smccc.h+4 -20 replies
48/66arm/arm64: smccc: Implement SMCCC v1.1 inline primitiveinclude/linux/arm-smccc.h+141 -00 replies
49/66arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening supportarch/arm64/crypto/sha256-core.S arch/arm64/crypto/sha512-core.S arch/arm64/kernel/bpi.S +1 more+3235 -30 replies
50/66arm64: Kill PSCI_GET_VERSION as a variant-2 workaroundarch/arm64/kernel/bpi.S arch/arm64/kernel/cpu_errata.c arch/arm64/kvm/hyp/switch.c+13 -700 replies
51/66sunrpc: remove incorrect HMAC request initializationnet/sunrpc/auth_gss/gss_krb5_crypto.c+0 -30 replies
52/66Revert "perf tests: Decompress kernel module before objdump"tools/perf/tests/code-reading.c+1 -193 replies
53/66block/loop: fix deadlock after loop_set_statusdrivers/block/loop.c+8 -40 replies
54/66nfit: fix region registration vs block-data-window rangesdrivers/acpi/nfit/core.c+14 -80 replies
55/66s390/qdio: dont retry EQBS after CCQ 96drivers/s390/cio/qdio_main.c+2 -90 replies
56/66s390/qdio: dont merge ERROR output buffersdrivers/s390/cio/qdio_main.c+20 -110 replies
57/66s390/ipl: ensure loadparm valid flag is setarch/s390/kernel/ipl.c+1 -00 replies
58/66getname_kernel() needs to make sure that ->name != ->iname in long casefs/namei.c+2 -10 replies
59/66Bluetooth: Fix connection if directed advertising and privacy is usedinclude/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c net/bluetooth/hci_event.c +1 more+34 -140 replies
60/66rtl8187: Fix NULL pointer dereference in priv->conf_mutexdrivers/net/wireless/realtek/rtl818x/rtl8187/dev.c+1 -10 replies
61/66hwmon: (ina2xx) Fix access to uninitialized mutexdrivers/hwmon/ina2xx.c+1 -20 replies
62/66cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWANdrivers/net/usb/cdc_ether.c+6 -00 replies
63/66rds: MP-RDS may use an invalid c_pathnet/rds/send.c+10 -50 replies
64/66slip: Check if rstate is initialized before uncompressingdrivers/net/slip/slhc.c include/net/slhc_vj.h+6 -00 replies
65/66vhost: fix vhost_vq_access_ok() log checkdrivers/vhost/vhost.c+5 -30 replies
66/66lan78xx: Correctly indicate invalid OTPdrivers/net/usb/lan78xx.c+2 -10 replies

Reviews trailers per patch

37 of 66 patches have a Reviewed-by or Acked-by.

PatchSakari AilusHans VerkuilOleg NesterovPeter Zijlstra (Intel)Mark RutlandGreg HackmannRobin MurphySuzuki K PouloseMarc ZyngierLorenzo PieralisiWill DeaconChristoffer DallArd BiesheuvelDave JiangBenjamin BlockUrsula BraunHeiko CarstensOliver NeukumSantosh ShilimkarMichael S. TsirkinThomas GleixnerDaniel Lezcano
1/66R-b R-b
2/66
3/66
4/66
5/66
6/66
7/66
8/66R-b A-b
9/66
10/66R-b T-b
11/66R-b T-b
12/66T-b
13/66T-b
14/66T-b
15/66R-b T-b
16/66R-b T-b
17/66T-b R-b
18/66T-b
19/66T-b R-b A-b
20/66T-b
21/66T-b R-b
22/66T-b A-b
23/66R-b T-b
24/66T-b
25/66T-b
26/66T-b A-b
27/66R-b T-b T-b
28/66T-b
29/66T-b R-b
30/66T-b R-b
31/66T-b
32/66A-b T-b R-b A-b A-b
33/66T-b
34/66T-b A-b
35/66T-b R-b T-b
36/66T-b A-b T-b
37/66T-b R-b T-b
38/66T-b R-b T-b
39/66T-b R-b T-b
40/66T-b R-b T-b
41/66T-b
42/66T-b R-b T-b
43/66T-b R-b T-b
44/66T-b R-b T-b
45/66T-b R-b A-b T-b
46/66T-b R-b A-b T-b
47/66T-b R-b A-b T-b
48/66T-b R-b T-b
49/66T-b T-b
50/66T-b T-b
51/66
52/66
53/66
54/66R-b
55/66R-b
56/66R-b R-b
57/66R-b
58/66
59/66
60/66
61/66
62/66A-b
63/66A-b
64/66
65/66A-b
66/66

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

Read the v1 thread

Cover letter [PATCH 4.9 00/66] 4.9.95-stable review

This is the start of the stable review cycle for the 4.9.95 release. There are 66 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 Apr 19 15:56:27 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.9.95-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.9.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 4.9.95-rc1

Phil Elwell <[email protected]>
lan78xx: Correctly indicate invalid OTP

Stefan Hajnoczi <[email protected]>
vhost: fix vhost_vq_access_ok() log check

Tejaswi Tanikella <[email protected]>
slip: Check if rstate is initialized before uncompressing

Ka-Cheong Poon <[email protected]>
rds: MP-RDS may use an invalid c_path

Bassem Boubaker <[email protected]>
cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN

Marek Szyprowski <[email protected]>
hwmon: (ina2xx) Fix access to uninitialized mutex

Sudhir Sreedharan <[email protected]>

    rtl8187: Fix NULL pointer dereference in priv->conf_mutex

Szymon Janc <[email protected]>
Bluetooth: Fix connection if directed advertising and privacy is used

Al Viro <[email protected]>

    getname_kernel() needs to make sure that ->name != ->iname in long case

Vasily Gorbik <[email protected]>
s390/ipl: ensure loadparm valid flag is set

Julian Wiedmann <[email protected]>
s390/qdio: don't merge ERROR output buffers

Julian Wiedmann <[email protected]>
s390/qdio: don't retry EQBS after CCQ 96

Dan Williams <[email protected]>
nfit: fix region registration vs block-data-window ranges

Tetsuo Handa <[email protected]>
block/loop: fix deadlock after loop_set_status

Greg Kroah-Hartman <[email protected]>
Revert "perf tests: Decompress kernel module before objdump"

Eric Biggers <[email protected]>
sunrpc: remove incorrect HMAC request initialization

Mark Rutland <[email protected]>
arm64: Kill PSCI_GET_VERSION as a variant-2 workaround

Mark Rutland <[email protected]>
arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

Mark Rutland <[email protected]>
arm/arm64: smccc: Implement SMCCC v1.1 inline primitive

Mark Rutland <[email protected]>
arm/arm64: smccc: Make function identifiers an unsigned quantity

Mark Rutland <[email protected]>
firmware/psci: Expose SMCCC version through psci_ops

Mark Rutland <[email protected]>
firmware/psci: Expose PSCI conduit

Mark Rutland <[email protected]>
arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling

Mark Rutland <[email protected]>
arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support

Mark Rutland <[email protected]>
arm/arm64: KVM: Turn kvm_psci_version into a static inline

Mark Rutland <[email protected]>
arm64: KVM: Make PSCI_VERSION a fast path

Mark Rutland <[email protected]>
arm/arm64: KVM: Advertise SMCCC v1.1

Mark Rutland <[email protected]>
arm/arm64: KVM: Implement PSCI 1.0 support

Mark Rutland <[email protected]>
arm/arm64: KVM: Add smccc accessors to PSCI code

Mark Rutland <[email protected]>
arm/arm64: KVM: Add PSCI_VERSION helper

Mark Rutland <[email protected]>
arm/arm64: KVM: Consolidate the PSCI include files

Mark Rutland <[email protected]>
arm64: KVM: Increment PC after handling an SMC trap

Mark Rutland <[email protected]>
arm64: Branch predictor hardening for Cavium ThunderX2

Mark Rutland <[email protected]>
arm64: Implement branch predictor hardening for affected Cortex-A CPUs

Mark Rutland <[email protected]>
arm64: cpu_errata: Allow an erratum to be match for all revisions of a core

Mark Rutland <[email protected]>
arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75

Mark Rutland <[email protected]>
arm64: entry: Apply BP hardening for suspicious interrupts from EL0

Mark Rutland <[email protected]>
arm64: entry: Apply BP hardening for high-priority synchronous exceptions

Mark Rutland <[email protected]>
arm64: KVM: Use per-CPU vector when BP hardening is enabled

Mark Rutland <[email protected]>
mm: Introduce lm_alias

Mark Rutland <[email protected]>
arm64: Move BP hardening to check_and_switch_context

Mark Rutland <[email protected]>
arm64: Add skeleton to harden the branch predictor against aliasing attacks

Mark Rutland <[email protected]>
arm64: Move post_ttbr_update_workaround to C code

Mark Rutland <[email protected]>
arm64: Factor out TTBR0_EL1 post-update workaround into a specific asm macro

Mark Rutland <[email protected]>
drivers/firmware: Expose psci_get_version through psci_ops structure

Mark Rutland <[email protected]>

    arm64: cpufeature: Pass capability structure to ->enable callback

Mark Rutland <[email protected]>
arm64: Run enable method for errata work arounds on late CPUs

Mark Rutland <[email protected]>
arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early

Mark Rutland <[email protected]>
arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user

Mark Rutland <[email protected]>
arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user

Mark Rutland <[email protected]>
arm64: uaccess: Prevent speculative use of the current addr_limit

Mark Rutland <[email protected]>
arm64: entry: Ensure branch through syscall table is bounded under speculation

Mark Rutland <[email protected]>
arm64: Use pointer masking to limit uaccess speculation

Mark Rutland <[email protected]>
arm64: Make USER_DS an inclusive limit

Mark Rutland <[email protected]>
arm64: move TASK_* definitions to <asm/processor.h>

Mark Rutland <[email protected]>
arm64: Implement array_index_mask_nospec()

Mark Rutland <[email protected]>
arm64: barrier: Add CSDB macros to control data-value prediction

Arnd Bergmann <[email protected]>
radeon: hide pointless #warning when compile testing

Prashant Bhole <[email protected]>
perf/core: Fix use-after-free in uprobe_perf_close()

Adrian Hunter <[email protected]>
perf intel-pt: Fix timestamp following overflow

Adrian Hunter <[email protected]>
perf intel-pt: Fix error recovery from missing TIP packet

Adrian Hunter <[email protected]>
perf intel-pt: Fix sync_switch

Adrian Hunter <[email protected]>
perf intel-pt: Fix overlap detection to identify consecutive buffers correctly

Dexuan Cui <[email protected]>
Drivers: hv: vmbus: do not mark HV_PCIE as perf_device

Helge Deller <[email protected]>
parisc: Fix out of array access in match_pci_device()

Mauro Carvalho Chehab <[email protected]>
media: v4l2-compat-ioctl32: don't oops on overlay

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

Diffstat:

 Makefile                                           |    4 +-
 arch/arm/include/asm/kvm_host.h                    |    6 +
 arch/arm/include/asm/kvm_mmu.h                     |   10 +
 arch/arm/include/asm/kvm_psci.h                    |   27 -
 arch/arm/kvm/arm.c                                 |   11 +-
 arch/arm/kvm/handle_exit.c                         |    4 +-
 arch/arm/kvm/psci.c                                |  143 +-
 arch/arm64/Kconfig                                 |   17 +
 arch/arm64/crypto/sha256-core.S                    | 2061 ++++++++++++++++++++
 arch/arm64/crypto/sha512-core.S                    | 1085 +++++++++++
 arch/arm64/include/asm/assembler.h                 |   19 +
 arch/arm64/include/asm/barrier.h                   |   23 +
 arch/arm64/include/asm/cpucaps.h                   |    3 +-
 arch/arm64/include/asm/cputype.h                   |    6 +
 arch/arm64/include/asm/kvm_host.h                  |    5 +
 arch/arm64/include/asm/kvm_mmu.h                   |   38 +
 arch/arm64/include/asm/kvm_psci.h                  |   27 -
 arch/arm64/include/asm/memory.h                    |   15 -
 arch/arm64/include/asm/mmu.h                       |   39 +
 arch/arm64/include/asm/processor.h                 |   24 +
 arch/arm64/include/asm/sysreg.h                    |    2 +
 arch/arm64/include/asm/uaccess.h                   |  153 +-
 arch/arm64/kernel/Makefile                         |    4 +
 arch/arm64/kernel/arm64ksyms.c                     |    4 +-
 arch/arm64/kernel/bpi.S                            |   75 +
 arch/arm64/kernel/cpu_errata.c                     |  189 +-
 arch/arm64/kernel/cpufeature.c                     |   10 +-
 arch/arm64/kernel/entry.S                          |   25 +-
 arch/arm64/kvm/handle_exit.c                       |   16 +-
 arch/arm64/kvm/hyp/hyp-entry.S                     |   20 +-
 arch/arm64/kvm/hyp/switch.c                        |    5 +-
 arch/arm64/lib/clear_user.S                        |    6 +-
 arch/arm64/lib/copy_in_user.S                      |    4 +-
 arch/arm64/mm/context.c                            |   12 +
 arch/arm64/mm/fault.c                              |   34 +-
 arch/arm64/mm/proc.S                               |    7 +-
 arch/parisc/kernel/drivers.c                       |    4 +
 arch/s390/kernel/ipl.c                             |    1 +
 drivers/acpi/nfit/core.c                           |   22 +-
 drivers/block/loop.c                               |   12 +-
 drivers/firmware/psci.c                            |   57 +-
 drivers/gpu/drm/radeon/radeon_object.c             |    3 +-
 drivers/hv/channel_mgmt.c                          |    2 +-
 drivers/hwmon/ina2xx.c                             |    3 +-
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c      |    4 +-
 drivers/net/slip/slhc.c                            |    5 +
 drivers/net/usb/cdc_ether.c                        |    6 +
 drivers/net/usb/lan78xx.c                          |    3 +-
 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c |    2 +-
 drivers/s390/cio/qdio_main.c                       |   42 +-
 drivers/vhost/vhost.c                              |    8 +-
 fs/namei.c                                         |    3 +-
 include/kvm/arm_psci.h                             |   51 +
 include/linux/arm-smccc.h                          |  165 +-
 include/linux/mm.h                                 |    4 +
 include/linux/psci.h                               |   14 +
 include/net/bluetooth/hci_core.h                   |    2 +-
 include/net/slhc_vj.h                              |    1 +
 include/uapi/linux/psci.h                          |    3 +
 kernel/events/core.c                               |    6 +
 net/bluetooth/hci_conn.c                           |   29 +-
 net/bluetooth/hci_event.c                          |   15 +-
 net/bluetooth/l2cap_core.c                         |    2 +-
 net/rds/send.c                                     |   15 +-
 net/sunrpc/auth_gss/gss_krb5_crypto.c              |    3 -
 tools/perf/tests/code-reading.c                    |   20 +-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.c  |   64 +-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.h  |    2 +-
 tools/perf/util/intel-pt.c                         |   37 +-
 69 files changed, 4423 insertions(+), 320 deletions(-)