# git rev-parse -q --verify 81429eb8d9ca40b0c65bb739d29fa856c5d5e958^{commit} 81429eb8d9ca40b0c65bb739d29fa856c5d5e958 already have revision, skipping fetch # git checkout -q -f -B kisskb 81429eb8d9ca40b0c65bb739d29fa856c5d5e958 # git clean -qxdf # < git log -1 # commit 81429eb8d9ca40b0c65bb739d29fa856c5d5e958 # Merge: be5fa3aac23f e50be648aaa3 # Author: Linus Torvalds # Date: Thu Nov 21 12:15:24 2019 -0800 # # Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux # # Pull arm64 fix from Will Deacon: # "Ensure PAN is re-enabled following user fault in uaccess routines. # # After I thought we were done for 5.4, we had a report this week of a # nasty issue that has been shown to leak data between different user # address spaces thanks to corruption of entries in the TLB. In # hindsight, we should have spotted this in review when the PAN code was # merged back in v4.3, but hindsight is 20/20 and I'm trying not to beat # myself up too much about it despite being fairly miserable. # # Anyway, the fix is "obvious" but the actual failure is more more # subtle, and is described in the commit message. I've included a fairly # mechanical follow-up patch here as well, which moves this checking out # into the C wrappers which is what we do for {get,put}_user() already # and allows us to remove these bloody assembly macros entirely. The # patches have passed kernelci [1] [2] [3] and CKI [4] tests over night, # as well as some targetted testing [5] for this particular issue. # # The first patch is tagged for stable and should be applied to 4.14, # 4.19 and 5.3. I have separate backports for 4.4 and 4.9, which I'll # send out once this has landed in your tree (although the original # patch applies cleanly, it won't build for those two trees). # # Thanks to Pavel Tatashin for reporting this and Mark Rutland for # helping to diagnose the issue and review/test the solution" # # * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: # arm64: uaccess: Remove uaccess_*_not_uao asm macros # arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 81429eb8d9ca40b0c65bb739d29fa856c5d5e958 # < make -s -j 120 ARCH=arm O=/kisskb/build/linus_lpc32xx_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- lpc32xx_defconfig # make -s -j 120 ARCH=arm O=/kisskb/build/linus_lpc32xx_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:121:34: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/ipc/shm.c: In function 'ksys_shmdt': /kisskb/src/ipc/shm.c:1712:59: warning: 'file' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/gen_stats.c: In function '__gnet_stats_copy_basic': /kisskb/src/net/core/gen_stats.c:157:19: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c: In function 'rht_deferred_worker': /kisskb/src/include/linux/rhashtable.h:110:10: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:222:28: note: 'next' was declared here /kisskb/src/drivers/gpio/gpiolib-of.c: In function 'of_gpiochip_add': /kisskb/src/drivers/gpio/gpiolib-of.c:626:8: warning: 'dflags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpio/gpiolib-of.c:612:19: note: 'dflags' was declared here /kisskb/src/drivers/gpio/gpiolib-of.c:626:8: warning: 'lflags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpio/gpiolib-of.c:611:16: note: 'lflags' was declared here /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_sideband_msg_build': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:429:23: warning: 'hdrlen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/dev.c: In function 'validate_xmit_skb_list': /kisskb/src/net/core/dev.c:3326:15: warning: 'tail' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/mtd/ubi/eba.c: In function 'try_write_vid_and_data': /kisskb/src/drivers/mtd/ubi/eba.c:988:7: warning: 'opnum' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/drm_atomic.c: In function 'drm_atomic_check_only': /kisskb/src/drivers/gpu/drm/drm_atomic.c:426:38: warning: 'crtc_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/drm_atomic.c:405:25: note: 'crtc_state' was declared here WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL Completed OK # rm -rf /kisskb/build/linus_lpc32xx_defconfig_arm # Build took: 0:00:42.510728