# git rev-parse -q --verify 6e693b3ffecb0b478c7050b44a4842854154f715^{commit} 6e693b3ffecb0b478c7050b44a4842854154f715 already have revision, skipping fetch # git checkout -q -f -B kisskb 6e693b3ffecb0b478c7050b44a4842854154f715 # git clean -qxdf # < git log -1 # commit 6e693b3ffecb0b478c7050b44a4842854154f715 # Author: Will Deacon # Date: Sat Jan 19 21:56:05 2019 +0000 # # x86: uaccess: Inhibit speculation past access_ok() in user_access_begin() # # Commit 594cc251fdd0 ("make 'user_access_begin()' do 'access_ok()'") # makes the access_ok() check part of the user_access_begin() preceding a # series of 'unsafe' accesses. This has the desirable effect of ensuring # that all 'unsafe' accesses have been range-checked, without having to # pick through all of the callsites to verify whether the appropriate # checking has been made. # # However, the consolidated range check does not inhibit speculation, so # it is still up to the caller to ensure that they are not susceptible to # any speculative side-channel attacks for user addresses that ultimately # fail the access_ok() check. # # This is an oversight, so use __uaccess_begin_nospec() to ensure that # speculation is inhibited until the access_ok() check has passed. # # Reported-by: Julien Thierry # Signed-off-by: Will Deacon # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 6e693b3ffecb0b478c7050b44a4842854154f715 # < make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" FIT description: Linux 5.0.0-rc2-g6e693b3ffecb Created: Sun Jan 20 16:18:34 2019 Image 0 (kernel@0) Description: Linux 5.0.0-rc2-g6e693b3ffecb Created: Sun Jan 20 16:18:34 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4501986 Bytes = 4396.47 KiB = 4.29 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80854d10 Hash algo: sha1 Hash value: 77c8fc5d86abed4846860c8b53c17a0fe81e3395 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Sun Jan 20 16:18:34 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Sun Jan 20 16:18:34 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Sun Jan 20 16:18:34 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 509ce58e44c561d54539e64e9d4b47054e696fc6 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-defconfig_mipsel # Build took: 0:01:00.045539