Skip to content

5.18.2-rc1 review

Greg Kroah-Hartman keyrings kvm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest67 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/67netfilter: nf_tables: disallow non-stateful expression in sets earliernet/netfilter/nf_tables_api.c+10 -90 replies
2/67i2c: ismt: prevent memory corruption in ismt_access()drivers/i2c/busses/i2c-ismt.c+3 -00 replies
3/67assoc_array: Fix BUG_ON during garbage collectlib/assoc_array.c+8 -00 replies
4/67pipe: make poll_usage boolean and annotate its accessfs/pipe.c include/linux/pipe_fs_i.h+2 -20 replies
5/67pipe: Fix missing lock in pipe_resize_ring()fs/pipe.c+18 -130 replies
6/67net: ipa: compute proper aggregation limitdrivers/net/ipa/ipa_endpoint.c+6 -30 replies
7/67drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()drivers/gpu/drm/i915/intel_pm.c+1 -10 replies
8/67exfat: check if cluster num is validfs/exfat/balloc.c fs/exfat/exfat_fs.h fs/exfat/fatent.c+12 -80 replies
9/67exfat: fix referencing wrong parent directory information after renamingfs/exfat/namei.c+1 -260 replies
10/67netfilter: nft_limit: Clone packet limits cost valuenet/netfilter/nft_limit.c+2 -00 replies
11/67netfilter: nf_tables: sanitize nft_set_desc_concat_parse()net/netfilter/nf_tables_api.c+13 -40 replies
12/67netfilter: nf_tables: hold mutex on netns pre_exit pathnet/netfilter/nf_tables_api.c+4 -00 replies
13/67netfilter: nf_tables: double hook unregistration in netns pathnet/netfilter/nf_tables_api.c+41 -130 replies
14/67netfilter: conntrack: re-fetch conntrack after insertioninclude/net/netfilter/nf_conntrack_core.h+6 -10 replies
15/67KVM: PPC: Book3S HV: fix incorrect NULL check on list iteratorarch/powerpc/kvm/book3s_hv_uvmem.c+5 -30 replies
16/67x86/fpu: KVM: Set the base guest FPU uABI size to sizeof(struct kvm_xsave)arch/x86/kernel/fpu/core.c+16 -10 replies
17/67x86/kvm: Alloc dummy async #PF token outside of raw spinlockarch/x86/kernel/kvm.c+27 -140 replies
18/67x86, kvm: use correct GFP flags for preemption disabledarch/x86/kernel/kvm.c+1 -10 replies
19/67x86/uaccess: Implement macros for CMPXCHG on user addressesarch/x86/include/asm/uaccess.h+142 -00 replies
20/67KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bitsarch/x86/kvm/mmu/paging_tmpl.h+1 -370 replies
21/67KVM: x86: Use __try_cmpxchg_user() to emulate atomic accessesarch/x86/kvm/x86.c+14 -210 replies
22/67KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicnessarch/x86/kvm/x86.c+1 -10 replies
23/67KVM: x86: avoid calling x86 emulator without a decoded instructionarch/x86/kvm/x86.c+19 -120 replies
24/67KVM: x86: avoid loading a vCPU after .vm_destroy was calledarch/x86/kvm/x86.c+3 -70 replies
25/67KVM: x86: Fix the intel_pt PMI handling wrongly considered from guestarch/x86/kvm/vmx/vmx.c+1 -10 replies
26/67KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2arch/x86/kvm/svm/nested.c arch/x86/kvm/vmx/nested.c+0 -60 replies
27/67KVM: x86/mmu: Dont rebuild page when the page is synced and no tlb flushing is requiredarch/x86/kvm/mmu/mmu.c+9 -90 replies
28/67KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leakarch/x86/kvm/svm/sev.c+6 -60 replies
29/67crypto: caam - fix i.MX6SX entropy delay valuedrivers/crypto/caam/ctrl.c+18 -00 replies
30/67crypto: ecrdsa - Fix incorrect use of vli_cmpcrypto/ecrdsa.c+4 -40 replies
31/67crypto: qat - rework the VF2PF interrupt handling logicdrivers/crypto/qat/qat_common/adf_accel_devices.h drivers/crypto/qat/qat_common/adf_gen2_pfvf.c drivers/crypto/qat/qat_common/adf_gen4_pfvf.c +2 more+132 -650 replies
32/67zsmalloc: fix races between asynchronous zspage free and page migrationmm/zsmalloc.c+33 -40 replies
33/67tools/memory-model/README: Update klitmus7 compat tabletools/memory-model/README+2 -10 replies
34/67ALSA: usb-audio: Workaround for clock setup on TEAC devicessound/usb/clock.c+7 -00 replies
35/67ALSA: usb-audio: Add missing ep_idx in fixed EP quirkssound/usb/quirks-table.h+3 -00 replies
36/67ALSA: usb-audio: Configure sync endpoints before datasound/usb/pcm.c+11 -60 replies
37/67Bluetooth: hci_qca: Use del_timer_sync() before freeingdrivers/bluetooth/hci_qca.c+2 -20 replies
38/67ARM: dts: s5pv210: Correct interrupt name for bluetooth in Ariesarch/arm/boot/dts/s5pv210-aries.dtsi+1 -10 replies
39/67dm integrity: fix error code in dm_integrity_ctr()drivers/md/dm-integrity.c+0 -20 replies
40/67dm crypt: make printing of the key constant-timedrivers/md/dm-crypt.c+11 -30 replies
41/67dm stats: add cond_resched when looping over entriesdrivers/md/dm-stats.c+8 -00 replies
42/67dm verity: set DM_TARGET_IMMUTABLE feature flagdrivers/md/dm-verity-target.c+1 -00 replies
43/67raid5: introduce MD_BROKENdrivers/md/raid5.c+22 -250 replies
44/67fs/ntfs3: validate BOOT sectors_per_clustersfs/ntfs3/super.c+7 -30 replies
45/67HID: multitouch: Add support for Google Whiskers Touchpaddrivers/hid/hid-multitouch.c+3 -00 replies
46/67HID: multitouch: add quirks to enable Lenovo X12 trackpointdrivers/hid/hid-ids.h drivers/hid/hid-multitouch.c+7 -00 replies
47/67x86/sgx: Disconnect backing page references from dirty statusarch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/main.c+7 -110 replies
48/67x86/sgx: Mark PCMD page as dirty when modifying contentsarch/x86/kernel/cpu/sgx/encl.c+1 -00 replies
49/67x86/sgx: Obtain backing storage page with enclave mutex heldarch/x86/kernel/cpu/sgx/main.c+6 -30 replies
50/67x86/sgx: Fix race between reclaimer and page fault handlerarch/x86/kernel/cpu/sgx/encl.c+93 -10 replies
51/67x86/sgx: Ensure no data in PCMD page after truncatearch/x86/kernel/cpu/sgx/encl.c+9 -10 replies
52/67media: i2c: imx412: Fix reset GPIO polaritydrivers/media/i2c/imx412.c+3 -30 replies
53/67media: i2c: imx412: Fix power_off orderingdrivers/media/i2c/imx412.c+2 -20 replies
54/67tpm: Fix buffer access in tpm2_get_tpm_pt()drivers/char/tpm/tpm2-cmd.c+10 -10 replies
55/67tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()drivers/char/tpm/tpm_ibmvtpm.c+1 -00 replies
56/67docs: submitting-patches: Fix crossref to The canonical patch formatDocumentation/process/submitting-patches.rst+1 -10 replies
57/67NFS: Memory allocation failures are not server fatal errorsfs/nfs/internal.h+1 -00 replies
58/67NFSD: Fix possible sleep during nfsd4_release_lockowner()fs/nfsd/nfs4state.c+4 -80 replies
59/67bpf: Fill new bpf_prog_pack with illegal instructionskernel/bpf/core.c+6 -40 replies
60/67bpf: Fix potential array overflow in bpf_trampoline_get_progs()kernel/bpf/trampoline.c+12 -60 replies
61/67bpf: Fix combination of jit blinding and pointers to bpf subprogs.kernel/bpf/core.c+10 -00 replies
62/67bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytesnet/core/filter.c+2 -20 replies
63/67bpf: Fix usage of trace RCU in local storage.include/linux/bpf_local_storage.h kernel/bpf/bpf_inode_storage.c kernel/bpf/bpf_local_storage.c +2 more+28 -190 replies
64/67bpf: Fix excessive memory allocation in stack_map_alloc()kernel/bpf/stackmap.c+0 -10 replies
65/67bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_accesskernel/bpf/verifier.c+5 -00 replies
66/67bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_accesskernel/bpf/verifier.c+11 -10 replies
67/67bpf: Do write access check for kfunc and global funckernel/bpf/verifier.c+29 -150 replies

Reviews trailers per patch

28 of 67 patches have a Reviewed-by or Acked-by.

PatchZdenek KasparTadeusz StrukStefano BrivioSean ChristophersonVitaly KuznetsovJarkko SakkinenZheyu MaMika WesterbergLai JiangshanHaitao HuangPeter GondaStefan BergerAaron AdamsMinchan KimJacopo MondiDaniele AlessandrelliHao LuoMaris AbeleAndy WuAoyama WataruDaniel PalmerSungjong SeoXiao NiJaroslav KyselaHoria GeantăVabhav SharmaGaurav JainNamjae JeonKees CookMartin KaFai LauMilan BrozBenjamin TissoiresMikulas PatockaSong LiuAndrii NakryikoJustin M. ForbesRon EconomosLinux Kernel Functional TestingGuenter RoeckRudi HeitbaumBagas Sanjaya
SeriesT-b T-b T-b T-b T-b T-b
1/67Reported-and-tested-by
2/67Reported-and-tested-by R-b
3/67R-b
4/67
5/67
6/67
7/67
8/67R-b
9/67R-b R-b R-b R-b
10/67
11/67R-b
12/67
13/67
14/67
15/67
16/67T-b
17/67
18/67
19/67
20/67Debugged-by T-b
21/67
22/67R-b R-b
23/67
24/67
25/67
26/67
27/67A-b
28/67R-b
29/67R-b R-b R-b
30/67
31/67
32/67A-b
33/67
34/67Reported-and-tested-by
35/67
36/67R-b
37/67
38/67
39/67R-b
40/67T-b
41/67
42/67R-b
43/67Reviewd-by
44/67R-b
45/67A-b
46/67
47/67R-b T-b
48/67R-b T-b
49/67R-b T-b T-b
50/67R-b T-b
51/67R-b T-b
52/67R-b R-b
53/67R-b R-b
54/67R-b
55/67A-b R-b
56/67
57/67
58/67
59/67
60/67
61/67A-b A-b
62/67A-b
63/67A-b
64/67
65/67
66/67R-b
67/67

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

Read the v1 thread

Cover letter [PATCH 5.18 00/67] 5.18.2-rc1 review

This is the start of the stable review cycle for the 5.18.2 release. There are 67 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 Sun, 05 Jun 2022 17:38:05 +0000. 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/v5.x/stable-review/patch-5.18.2-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-5.18.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 5.18.2-rc1

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Do write access check for kfunc and global func

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_access

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_access

Yuntao Wang <[email protected]>
bpf: Fix excessive memory allocation in stack_map_alloc()

KP Singh <[email protected]>
bpf: Fix usage of trace RCU in local storage.

Liu Jian <[email protected]>
bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes

Alexei Starovoitov <[email protected]>
bpf: Fix combination of jit blinding and pointers to bpf subprogs.

Yuntao Wang <[email protected]>
bpf: Fix potential array overflow in bpf_trampoline_get_progs()

Song Liu <[email protected]>
bpf: Fill new bpf_prog_pack with illegal instructions

Chuck Lever <[email protected]>
NFSD: Fix possible sleep during nfsd4_release_lockowner()

Trond Myklebust <[email protected]>
NFS: Memory allocation failures are not server fatal errors

Akira Yokosawa <[email protected]>
docs: submitting-patches: Fix crossref to 'The canonical patch format'

Xiu Jianfeng <[email protected]>
tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()

Stefan Mahnke-Hartmann <[email protected]>
tpm: Fix buffer access in tpm2_get_tpm_pt()

Bryan O'Donoghue <[email protected]>
media: i2c: imx412: Fix power_off ordering

Bryan O'Donoghue <[email protected]>
media: i2c: imx412: Fix reset GPIO polarity

Reinette Chatre <[email protected]>
x86/sgx: Ensure no data in PCMD page after truncate

Reinette Chatre <[email protected]>
x86/sgx: Fix race between reclaimer and page fault handler

Reinette Chatre <[email protected]>
x86/sgx: Obtain backing storage page with enclave mutex held

Reinette Chatre <[email protected]>
x86/sgx: Mark PCMD page as dirty when modifying contents

Reinette Chatre <[email protected]>
x86/sgx: Disconnect backing page references from dirty status

Tao Jin <[email protected]>
HID: multitouch: add quirks to enable Lenovo X12 trackpoint

Marek Maślanka <[email protected]>
HID: multitouch: Add support for Google Whiskers Touchpad

Randy Dunlap <[email protected]>
fs/ntfs3: validate BOOT sectors_per_clusters

Mariusz Tkaczyk <[email protected]>
raid5: introduce MD_BROKEN

Sarthak Kukreti <[email protected]>
dm verity: set DM_TARGET_IMMUTABLE feature flag

Mikulas Patocka <[email protected]>
dm stats: add cond_resched when looping over entries

Mikulas Patocka <[email protected]>
dm crypt: make printing of the key constant-time

Dan Carpenter <[email protected]>
dm integrity: fix error code in dm_integrity_ctr()

Jonathan Bakker <[email protected]>
ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries

Steven Rostedt <[email protected]>
Bluetooth: hci_qca: Use del_timer_sync() before freeing

Craig McLure <[email protected]>
ALSA: usb-audio: Configure sync endpoints before data

Takashi Iwai <[email protected]>
ALSA: usb-audio: Add missing ep_idx in fixed EP quirks

Takashi Iwai <[email protected]>
ALSA: usb-audio: Workaround for clock setup on TEAC devices

Akira Yokosawa <[email protected]>
tools/memory-model/README: Update klitmus7 compat table

Sultan Alsawaf <[email protected]>
zsmalloc: fix races between asynchronous zspage free and page migration

Marco Chiappero <[email protected]>
crypto: qat - rework the VF2PF interrupt handling logic

Vitaly Chikunov <[email protected]>
crypto: ecrdsa - Fix incorrect use of vli_cmp

Fabio Estevam <[email protected]>
crypto: caam - fix i.MX6SX entropy delay value

Ashish Kalra <[email protected]>
KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak

Hou Wenlong <[email protected]>
KVM: x86/mmu: Don't rebuild page when the page is synced and no tlb flushing is required

Sean Christopherson <[email protected]>
KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2

Yanfei Xu <[email protected]>
KVM: x86: Fix the intel_pt PMI handling wrongly considered from guest

Maxim Levitsky <[email protected]>
KVM: x86: avoid loading a vCPU after .vm_destroy was called

Sean Christopherson <[email protected]>
KVM: x86: avoid calling x86 emulator without a decoded instruction

Maxim Levitsky <[email protected]>
KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness

Sean Christopherson <[email protected]>
KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses

Sean Christopherson <[email protected]>
KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits

Peter Zijlstra <[email protected]>
x86/uaccess: Implement macros for CMPXCHG on user addresses

Paolo Bonzini <[email protected]>
x86, kvm: use correct GFP flags for preemption disabled

Sean Christopherson <[email protected]>
x86/kvm: Alloc dummy async #PF token outside of raw spinlock

Sean Christopherson <[email protected]>
x86/fpu: KVM: Set the base guest FPU uABI size to sizeof(struct kvm_xsave)

Xiaomeng Tong <[email protected]>
KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator

Florian Westphal <[email protected]>
netfilter: conntrack: re-fetch conntrack after insertion

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: double hook unregistration in netns path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: hold mutex on netns pre_exit path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: sanitize nft_set_desc_concat_parse()

Phil Sutter <[email protected]>
netfilter: nft_limit: Clone packet limits' cost value

Yuezhang Mo <[email protected]>
exfat: fix referencing wrong parent directory information after renaming

Tadeusz Struk <[email protected]>
exfat: check if cluster num is valid

Gustavo A. R. Silva <[email protected]>
drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()

Alex Elder <[email protected]>
net: ipa: compute proper aggregation limit

David Howells <[email protected]>
pipe: Fix missing lock in pipe_resize_ring()

Kuniyuki Iwashima <[email protected]>
pipe: make poll_usage boolean and annotate its access

Stephen Brennan <[email protected]>
assoc_array: Fix BUG_ON during garbage collect

Dan Carpenter <[email protected]>
i2c: ismt: prevent memory corruption in ismt_access()

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: disallow non-stateful expression in sets earlier

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

Diffstat:

 Documentation/process/submitting-patches.rst       |   2 +-
 Makefile                                           |   4 +-
 arch/arm/boot/dts/s5pv210-aries.dtsi               |   2 +-
 arch/powerpc/kvm/book3s_hv_uvmem.c                 |   8 +-
 arch/x86/include/asm/uaccess.h                     | 142 +++++++++++++++++++++
 arch/x86/kernel/cpu/sgx/encl.c                     | 113 ++++++++++++++--
 arch/x86/kernel/cpu/sgx/encl.h                     |   2 +-
 arch/x86/kernel/cpu/sgx/main.c                     |  13 +-
 arch/x86/kernel/fpu/core.c                         |  17 ++-
 arch/x86/kernel/kvm.c                              |  41 ++++--
 arch/x86/kvm/mmu/mmu.c                             |  18 +--
 arch/x86/kvm/mmu/paging_tmpl.h                     |  38 +-----
 arch/x86/kvm/svm/nested.c                          |   3 -
 arch/x86/kvm/svm/sev.c                             |  12 +-
 arch/x86/kvm/vmx/nested.c                          |   3 -
 arch/x86/kvm/vmx/vmx.c                             |   2 +-
 arch/x86/kvm/x86.c                                 |  76 ++++++-----
 crypto/ecrdsa.c                                    |   8 +-
 drivers/bluetooth/hci_qca.c                        |   4 +-
 drivers/char/tpm/tpm2-cmd.c                        |  11 +-
 drivers/char/tpm/tpm_ibmvtpm.c                     |   1 +
 drivers/crypto/caam/ctrl.c                         |  18 +++
 drivers/crypto/qat/qat_common/adf_accel_devices.h  |   2 +-
 drivers/crypto/qat/qat_common/adf_gen2_pfvf.c      |  58 ++++++---
 drivers/crypto/qat/qat_common/adf_gen4_pfvf.c      |  44 +++++--
 drivers/crypto/qat/qat_common/adf_isr.c            |  17 +--
 .../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c |  76 +++++++----
 drivers/gpu/drm/i915/intel_pm.c                    |   2 +-
 drivers/hid/hid-ids.h                              |   1 +
 drivers/hid/hid-multitouch.c                       |   9 ++
 drivers/i2c/busses/i2c-ismt.c                      |   3 +
 drivers/md/dm-crypt.c                              |  14 +-
 drivers/md/dm-integrity.c                          |   2 -
 drivers/md/dm-stats.c                              |   8 ++
 drivers/md/dm-verity-target.c                      |   1 +
 drivers/md/raid5.c                                 |  47 ++++---
 drivers/media/i2c/imx412.c                         |   8 +-
 drivers/net/ipa/ipa_endpoint.c                     |   9 +-
 fs/exfat/balloc.c                                  |   8 +-
 fs/exfat/exfat_fs.h                                |   6 +
 fs/exfat/fatent.c                                  |   6 -
 fs/exfat/namei.c                                   |  27 +---
 fs/nfs/internal.h                                  |   1 +
 fs/nfsd/nfs4state.c                                |  12 +-
 fs/ntfs3/super.c                                   |  10 +-
 fs/pipe.c                                          |  33 +++--
 include/linux/bpf_local_storage.h                  |   4 +-
 include/linux/pipe_fs_i.h                          |   2 +-
 include/net/netfilter/nf_conntrack_core.h          |   7 +-
 kernel/bpf/bpf_inode_storage.c                     |   4 +-
 kernel/bpf/bpf_local_storage.c                     |  29 +++--
 kernel/bpf/bpf_task_storage.c                      |   4 +-
 kernel/bpf/core.c                                  |  20 ++-
 kernel/bpf/stackmap.c                              |   1 -
 kernel/bpf/trampoline.c                            |  18 ++-
 kernel/bpf/verifier.c                              |  61 ++++++---
 lib/assoc_array.c                                  |   8 ++
 mm/zsmalloc.c                                      |  37 +++++-
 net/core/bpf_sk_storage.c                          |   6 +-
 net/core/filter.c                                  |   4 +-
 net/netfilter/nf_tables_api.c                      |  94 ++++++++++----
 net/netfilter/nft_limit.c                          |   2 +
 sound/usb/clock.c                                  |   7 +
 sound/usb/pcm.c                                    |  17 ++-
 sound/usb/quirks-table.h                           |   3 +
 tools/memory-model/README                          |   3 +-
 66 files changed, 882 insertions(+), 391 deletions(-)