Skip to content

mm: fix double page fault on arm64 if PTE_AF is cleared

Sasha Levin alsa-devel ath10k ceph-devel cluster-devel dmaengine dri-devel intel-wired-lan kernel-janitors kvm linux-acpi linux-api linux-arm-kernel linux-audit linux-bcache linux-bluetooth linux-btrfs linux-cifs linux-clk linux-devicetree linux-efi linux-ext4 linux-fsdevel linux-ide linux-m68k linux-media linux-mm linux-mmc linux-mtd linux-nfs linux-omap linux-pm linux-raid linux-rdma linux-scsi linux-security-module linux-serial linux-tegra linux-usb linux-wireless linuxppc-dev lkml netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest127 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/127mm: fix double page fault on arm64 if PTE_AF is clearedmm/memory.c+89 -150 replies
2/127scsi: aacraid: fix illegal IO beyond last LBAdrivers/scsi/aacraid/aachba.c+4 -40 replies
3/127m68k: q40: Fix info-leak in rtc_ioctlarch/m68k/q40/config.c+1 -00 replies
4/127gma/gma500: fix a memory disclosure bug due to uninitialized bytesdrivers/gpu/drm/gma500/cdv_intel_display.c+2 -00 replies
5/127ASoC: kirkwood: fix IRQ error handlingsound/soc/kirkwood/kirkwood-dma.c+1 -10 replies
6/127media: smiapp: Fix error handling at NVM readingdrivers/media/i2c/smiapp/smiapp-core.c+2 -10 replies
7/127ata: sata_mv, avoid trigerrable BUG_ONdrivers/ata/sata_mv.c+3 -50 replies
8/127PM / devfreq: tegra30: Fix integer overflow on CPU's freq max outdrivers/devfreq/tegra-devfreq.c+3 -10 replies
9/127scsi: fnic: fix use after freedrivers/scsi/fnic/fnic_scsi.c+2 -10 replies
10/127clk/ti/adpll: allocate room for terminating nulldrivers/clk/ti/adpll.c+2 -90 replies
11/127mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup()drivers/mtd/chips/cfi_cmdset_0002.c+0 -10 replies
12/127mfd: mfd-core: Protect against NULL call-back function pointerdrivers/mfd/mfd-core.c+10 -00 replies
13/127USB: serial: mos7840: fix probe error handlingdrivers/usb/serial/mos7840.c+28 -200 replies
14/127tracing: Adding NULL checks for trace_array descriptor pointerkernel/trace/trace.c kernel/trace/trace_events.c+5 -00 replies
15/127bcache: fix a lost wake-up problem caused by mca_cannibalize_lockdrivers/md/bcache/bcache.h drivers/md/bcache/btree.c drivers/md/bcache/super.c+10 -40 replies
16/127RDMA/i40iw: Fix potential use after freedrivers/infiniband/hw/i40iw/i40iw_cm.c+1 -10 replies
17/127xfs: fix attr leaf header freemap.size underflowfs/xfs/libxfs/xfs_attr_leaf.c+3 -10 replies
18/127RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()'drivers/infiniband/hw/cxgb4/cm.c+2 -20 replies
19/127mmc: core: Fix size overflow for mmc partitionsdrivers/mmc/core/mmc.c include/linux/mmc/card.h+5 -60 replies
20/127gfs2: clean up iopen glock mess in gfs2_create_inodefs/gfs2/inode.c+7 -60 replies
21/127debugfs: Fix !DEBUG_FS debugfs_create_automountinclude/linux/debugfs.h+3 -20 replies
22/127CIFS: Properly process SMB3 lease breaksfs/cifs/cifsglob.h fs/cifs/file.c fs/cifs/misc.c +4 more+57 -650 replies
23/127kernel/sys.c: avoid copying possible padding bytes in copy_to_userkernel/sys.c+3 -10 replies
24/127neigh_stat_seq_next() should increase position indexnet/core/neighbour.c+1 -00 replies
25/127rt_cpu_seq_next should increase position indexnet/ipv4/route.c+1 -00 replies
26/127seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrierinclude/linux/seqlock.h+9 -20 replies
27/127media: ti-vpe: cal: Restrict DMA to avoid memory corruptiondrivers/media/platform/ti-vpe/cal.c+4 -20 replies
28/127ACPI: EC: Reference count query handlers under lockdrivers/acpi/ec.c+4 -120 replies
29/127efi/arm: Defer probe of PCIe backed efifb on DT systemsdrivers/firmware/efi/arm-init.c+103 -40 replies
30/127dmaengine: zynqmp_dma: fix burst length configurationdrivers/dma/xilinx/zynqmp_dma.c+15 -90 replies
31/127powerpc/eeh: Only dump stack once if an MMIO loop is detectedarch/powerpc/kernel/eeh.c+1 -10 replies
32/127tracing: Set kernel_stack's caller size properlykernel/trace/trace_entries.h+1 -10 replies
33/127ext4: make dioread_nolock the defaultfs/ext4/super.c+4 -30 replies
34/127ar5523: Add USB ID of SMCWUSBT-G2 wireless adapterdrivers/net/wireless/ath/ar5523/ar5523.c+2 -00 replies
35/127selftests/ftrace: fix glob selftesttools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc+1 -10 replies
36/127tools/power/x86/intel_pstate_tracer: changes for python 3 compatibilitytools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py+11 -110 replies
37/127Bluetooth: Fix refcount use-after-free issuenet/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+28 -140 replies
38/127mm: pagewalk: fix termination condition in walk_pte_range()mm/pagewalk.c+2 -20 replies
39/127Bluetooth: prefetch channel before killing socknet/bluetooth/l2cap_sock.c+6 -40 replies
40/127KVM: fix overflow of zero page refcount with ksm runningvirt/kvm/kvm_main.c+1 -00 replies
41/127ALSA: hda: Clear RIRB status before reading WPsound/pci/hda/hda_controller.c+9 -20 replies
42/127skbuff: fix a data race in skb_queue_len()include/linux/skbuff.h net/unix/af_unix.c+22 -30 replies
43/127audit: CONFIG_CHANGE don't log internal bookkeeping as an eventkernel/audit_watch.c+0 -20 replies
44/127selinux: sel_avc_get_stat_idx should increase position indexsecurity/selinux/selinuxfs.c+1 -00 replies
45/127scsi: lpfc: Fix RQ buffer leakage when no IOCBs availabledrivers/scsi/lpfc/lpfc_sli.c+4 -00 replies
46/127scsi: lpfc: Fix coverity errors in fmdi attribute handlingdrivers/scsi/lpfc/lpfc_ct.c drivers/scsi/lpfc/lpfc_hw.h+85 -880 replies
47/127drm/omap: fix possible object reference leakdrivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c+3 -10 replies
48/127perf test: Fix test trace+probe_vfs_getname.sh on s390tools/perf/tests/shell/lib/probe_vfs_getname.sh+1 -10 replies
49/127RDMA/rxe: Fix configuration of atomic queue pair attributesdrivers/infiniband/sw/rxe/rxe_qp.c+4 -30 replies
50/127KVM: x86: fix incorrect comparison in trace eventarch/x86/kvm/mmutrace.h+1 -10 replies
51/127media: staging/imx: Missing assignment in imx_media_capture_device_register()drivers/staging/media/imx/imx-media-capture.c+1 -10 replies
52/127x86/pkeys: Add check for pkey "overflow"arch/x86/include/asm/pkeys.h arch/x86/kernel/fpu/xstate.c+12 -20 replies
53/127bpf: Remove recursion prevention from rcu free callbackkernel/bpf/hashtab.c+0 -80 replies
54/127dmaengine: tegra-apb: Prevent race conditions on channel's freeingdrivers/dma/tegra20-apb-dma.c+1 -20 replies
55/127media: go7007: Fix URB type for interrupt handlingdrivers/media/usb/go7007/go7007-usb.c+3 -10 replies
56/127Bluetooth: guard against controllers sending zero'd eventsnet/bluetooth/hci_event.c+6 -00 replies
57/127timekeeping: Prevent 32bit truncation in scale64_check_overflow()kernel/time/timekeeping.c+1 -20 replies
58/127ext4: fix a data race at inode->i_disksizefs/ext4/inode.c+1 -10 replies
59/127mm: avoid data corruption on CoW fault into PFN-mapped VMAmm/memory.c+27 -80 replies
60/127drm/amdgpu: increase atombios cmd timeoutdrivers/gpu/drm/amd/amdgpu/atom.c+2 -20 replies
61/127ath10k: use kzalloc to read for ath10k_sdio_hif_diag_readdrivers/net/wireless/ath/ath10k/sdio.c+14 -40 replies
62/127scsi: aacraid: Disabling TM path and only processing IOP resetdrivers/scsi/aacraid/commsup.c drivers/scsi/aacraid/linit.c+26 -100 replies
63/127Bluetooth: L2CAP: handle l2cap config request during open statenet/bluetooth/l2cap_core.c+2 -10 replies
64/127media: tda10071: fix unsigned sign extension overflowdrivers/media/dvb-frontends/tda10071.c+5 -40 replies
65/127xfs: don't ever return a stale pointer from __xfs_dir3_free_readfs/xfs/libxfs/xfs_dir2_node.c+1 -00 replies
66/127tpm: ibmvtpm: Wait for buffer to be set before proceedingdrivers/char/tpm/tpm_ibmvtpm.c drivers/char/tpm/tpm_ibmvtpm.h+10 -00 replies
67/127rtc: ds1374: fix possible race conditiondrivers/rtc/rtc-ds1374.c+9 -60 replies
68/127tracing: Use address-of operator on section symbolskernel/trace/trace.c+1 -10 replies
69/127serial: 8250_port: Don't service RX FIFO if throttleddrivers/tty/serial/8250/8250_port.c+15 -10 replies
70/127serial: 8250_omap: Fix sleeping function called from invalid context during probedrivers/tty/serial/8250/8250_omap.c+1 -10 replies
71/127serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeoutdrivers/tty/serial/8250/8250_omap.c+4 -20 replies
72/127perf cpumap: Fix snprintf overflow checktools/perf/util/cpumap.c+5 -50 replies
73/127cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fndrivers/cpufreq/powernv-cpufreq.c+8 -50 replies
74/127tools: gpio-hammer: Avoid potential overflow in maintools/gpio/gpio-hammer.c+16 -10 replies
75/127RDMA/rxe: Set sys_image_guid to be aligned with HW IB devicesdrivers/infiniband/sw/rxe/rxe.c+2 -00 replies
76/127SUNRPC: Fix a potential buffer overflow in 'svc_print_xprts()'net/sunrpc/svc_xprt.c+14 -50 replies
77/127svcrdma: Fix leak of transport addressesnet/sunrpc/xprtrdma/svc_rdma_backchannel.c+1 -00 replies
78/127ubifs: Fix out-of-bounds memory access caused by abnormal value of node_lenfs/ubifs/io.c+14 -20 replies
79/127ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptorsound/usb/midi.c+24 -50 replies
80/127NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()fs/nfs/pagelist.c fs/nfs/write.c include/linux/nfs_page.h+55 -240 replies
81/127mm/kmemleak.c: use address-of operator on section symbolsmm/kmemleak.c+1 -10 replies
82/127mm/filemap.c: clear page error before actual readmm/filemap.c+8 -00 replies
83/127mm/vmscan.c: fix data races using kswapd_classzone_idxmm/vmscan.c+26 -190 replies
84/127mm/mmap.c: initialize align_offset explicitly for vm_unmapped_areamm/mmap.c+2 -00 replies
85/127scsi: qedi: Fix termination timeouts in session logoutdrivers/scsi/qedi/qedi_iscsi.c+3 -00 replies
86/127serial: uartps: Wait for tx_empty in console setupdrivers/tty/serial/xilinx_uartps.c+8 -00 replies
87/127KVM: Remove CREATE_IRQCHIP/SET_PIT2 racearch/x86/kvm/x86.c+8 -20 replies
88/127bdev: Reduce time holding bd_mutex in sync in blkdev_close()fs/block_dev.c+10 -00 replies
89/127drivers: char: tlclk.c: Avoid data race between init and interrupt handlerdrivers/char/tlclk.c+10 -70 replies
90/127staging:r8188eu: avoid skb_clone for amsdu to msdu conversiondrivers/staging/rtl8188eu/core/rtw_recv.c+6 -130 replies
91/127sparc64: vcc: Fix error return code in vcc_probe()drivers/tty/vcc.c+1 -00 replies
92/127arm64: cpufeature: Relax checks for AArch32 support at EL[0-2]arch/arm64/kernel/cpufeature.c+3 -70 replies
93/127dt-bindings: sound: wm8994: Correct required supplies based on actual implementaionDocumentation/devicetree/bindings/sound/wm8994.txt+12 -60 replies
94/127atm: fix a memory leak of vcc->user_backnet/atm/lec.c+6 -00 replies
95/127perf parse-events: Fix memory leaks found on parse_eventstools/perf/util/parse-events.c+1 -00 replies
96/127power: supply: max17040: Correct voltage readingdrivers/power/supply/max17040_battery.c+1 -10 replies
97/127phy: samsung: s5pv210-usb2: Add delay after resetdrivers/phy/samsung/phy-s5pv210-usb2.c+4 -00 replies
98/127Bluetooth: Handle Inquiry Cancel error after Inquiry Completenet/bluetooth/hci_event.c+17 -20 replies
99/127USB: EHCI: ehci-mv: fix error handling in mv_ehci_probe()drivers/usb/host/ehci-mv.c+2 -30 replies
100/127tty: serial: samsung: Correct clock selection logicdrivers/tty/serial/samsung.c+4 -40 replies
101/127ALSA: hda: Fix potential race in unsol event handlersound/hda/hdac_bus.c+4 -00 replies
102/127powerpc/traps: Make unrecoverable NMIs die instead of panicarch/powerpc/kernel/traps.c+3 -30 replies
103/127fuse: don't check refcount after stealing pagefs/fuse/dev.c+0 -10 replies
104/127USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned intdrivers/usb/host/ehci-mv.c+3 -40 replies
105/127arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 registerarch/arm64/kernel/cpufeature.c+1 -10 replies
106/127e1000: Do not perform reset in reset_task if we are already downdrivers/net/ethernet/intel/e1000/e1000_main.c+14 -40 replies
107/127drm/nouveau/debugfs: fix runtime pm imbalance on errordrivers/gpu/drm/nouveau/nouveau_debugfs.c+4 -10 replies
108/127printk: handle blank console arguments passed in.kernel/printk/printk.c+3 -00 replies
109/127usb: dwc3: Increase timeout for CmdAct cleared by device controllerdrivers/usb/dwc3/gadget.c+1 -10 replies
110/127btrfs: don't force read-only after error in drop snapshotfs/btrfs/extent-tree.c+0 -20 replies
111/127vfio/pci: fix memory leaks of eventfd ctxdrivers/vfio/pci/vfio_pci.c+4 -00 replies
112/127perf parse-events: Fix incorrect conversion of 'if () free()' to 'zfree()'tools/perf/util/parse-events.c+2 -12 replies
113/127perf util: Fix memory leak of prefix_if_not_intools/perf/util/sort.c+1 -10 replies
114/127perf kcore_copy: Fix module map when there are no modules loadedtools/perf/util/symbol-elf.c+7 -00 replies
115/127mtd: rawnand: omap_elm: Fix runtime PM imbalance on errordrivers/mtd/nand/omap_elm.c+1 -00 replies
116/127ceph: fix potential race in ceph_check_capsfs/ceph/caps.c+13 -10 replies
117/127mm/swap_state: fix a data race in swapin_nr_pagesmm/swap_state.c+3 -20 replies
118/127rapidio: avoid data race between file operation callbacks and mport_cdev_add().drivers/rapidio/devices/rio_mport_cdev.c+7 -70 replies
119/127mtd: parser: cmdline: Support MTD names containing one or more colonsdrivers/mtd/cmdlinepart.c+20 -30 replies
120/127x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inlinearch/x86/include/asm/nospec-branch.h+2 -20 replies
121/127vfio/pci: Clear error and request eventfd ctx after releasingdrivers/vfio/pci/vfio_pci.c+6 -20 replies
122/127cifs: Fix double add page to memcg when cifs_readpagesfs/cifs/file.c+7 -40 replies
123/127scsi: libfc: Handling of extra krefdrivers/scsi/libfc/fc_rport.c+3 -10 replies
124/127scsi: libfc: Skip additional kref updating work eventdrivers/scsi/libfc/fc_rport.c+5 -40 replies
125/127selftests/x86/syscall_nt: Clear weird flags after each testtools/testing/selftests/x86/syscall_nt.c+1 -00 replies
126/127vfio/pci: fix racy on error and request eventfd ctxdrivers/vfio/pci/vfio_pci.c+5 -00 replies
127/127btrfs: qgroup: fix data leak caused by race between writeback and truncatefs/btrfs/inode.c+10 -130 replies

Reviews trailers per patch

44 of 127 patches have a Reviewed-by or Acked-by.

PatchMaxim ZhukovCatalin MarinasKirill A. ShutemovTony LindgrenJason GunthorpeSam BobroffStephen SmalleyLaurent PinchartMukesh OjhaSteve LongerbeamJon HunterJeff MoyerJosef MöllersHawking ZhangMatthew Wilcox (Oracle)Andrew MortonJim MattsonShubhrajyoti DattaJiri OlsaAlexandre ChartrePeter ZijlstraRon MinnichGirish BasrurSaurav KashyapShyam SundarJosef BacikCornelia HuckDaniel WagnerRonnie SahlbergAlexandre BounineSergey SenozhatskySuzuki K PouloseKrzysztof KozlowskiChristophe LeroySai Prakash RanjanGuenter RoeckChristoph HellwigRichard WeinbergerLee DuncanDaniel AxtensNayna JainJarkko SakkinenDave ChinnerSagar BiradarLeon RomanovskyMasami HiramatsuArnaldo Carvalho de MeloSteven Rostedt (VMware)Paul E. McKenneyDarrick J. WongGreg Kroah-HartmanDaniel ThompsonMark BrownSatish KharatChanwoo ChoiPeter Geis
1/127R-b A-b
2/127
3/127
4/127
5/127
6/127
7/127
8/127R-b T-b
9/127R-b
10/127A-b
11/127R-b
12/127R-b R-b
13/127R-b
14/127
15/127
16/127R-b
17/127R-b
18/127
19/127
20/127
21/127
22/127
23/127
24/127
25/127
26/127A-b
27/127
28/127
29/127
30/127
31/127R-b T-b
32/127
33/127
34/127
35/127R-b
36/127
37/127
38/127
39/127
40/127
41/127
42/127
43/127
44/127A-b
45/127
46/127
47/127R-b R-b
48/127A-b T-b
49/127R-b
50/127
51/127R-b
52/127
53/127
54/127A-b
55/127Reported-and-tested-by
56/127
57/127
58/127
59/127T-b
60/127R-b
61/127
62/127R-b
63/127
64/127
65/127R-b
66/127A-b T-b R-b
67/127
68/127
69/127
70/127
71/127
72/127
73/127R-b
74/127
75/127
76/127
77/127
78/127
79/127
80/127
81/127A-b
82/127R-b
83/127R-b
84/127R-b
85/127R-b
86/127R-b
87/127R-b
88/127R-b R-b
89/127
90/127
91/127
92/127R-b T-b
93/127
94/127
95/127A-b
96/127
97/127
98/127
99/127
100/127R-b
101/127
102/127R-b
103/127
104/127
105/127R-b
106/127T-b
107/127
108/127A-b
109/127
110/127
111/127
112/127
113/127
114/127
115/127
116/127
117/127
118/127A-b
119/127T-b
120/127R-b A-b
121/127R-b T-b
122/127A-b
123/127R-b R-b R-b
124/127R-b R-b R-b
125/127
126/127
127/127R-b

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

Read the v1 thread