# git rev-parse -q --verify 2ef5971ff345d3c000873725db555085e0131961^{commit} 2ef5971ff345d3c000873725db555085e0131961 already have revision, skipping fetch # git checkout -q -f -B kisskb 2ef5971ff345d3c000873725db555085e0131961 # git clean -qxdf # < git log -1 # commit 2ef5971ff345d3c000873725db555085e0131961 # Merge: 83a7eefedc9b f5ceb1bbc98c # Author: Linus Torvalds # Date: Tue Jun 11 12:04:21 2024 -0700 # # Merge tag 'vfs-6.10-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs # # Pull vfs fixes from Christian Brauner: # "Misc: # - Restore debugfs behavior of ignoring unknown mount options # - Fix kernel doc for netfs_wait_for_oustanding_io() # - Fix struct statx comment after new addition for this cycle # - Fix a check in find_next_fd() # # iomap: # - Fix data zeroing behavior when an extent spans the block that # contains i_size # - Restore i_size increasing in iomap_write_end() for now to avoid # stale data exposure on xfs with a realtime device # # Cachefiles: # - Remove unneeded fdtable.h include # - Improve trace output for cachefiles_obj_{get,put}_ondemand_fd() # - Remove requests from the request list to prevent accessing already # freed requests # - Fix UAF when issuing restore command while the daemon is still # alive by adding an additional reference count to requests # - Fix UAF by grabbing a reference during xarray lookup with xa_lock() # held # - Simplify error handling in cachefiles_ondemand_daemon_read() # - Add consistency checks read and open requests to avoid crashes # - Add a spinlock to protect ondemand_id variable which is used to # determine whether an anonymous cachefiles fd has already been # closed # - Make on-demand reads killable allowing to handle broken cachefiles # daemon better # - Flush all requests after the kernel has been marked dead via # CACHEFILES_DEAD to avoid hung-tasks # - Ensure that closed requests are marked as such to avoid reusing # them with a reopen request # - Defer fd_install() until after copy_to_user() succeeded and thereby # get rid of having to use close_fd() # - Ensure that anonymous cachefiles on-demand fds are reused while # they are valid to avoid pinning already freed cookies" # # * tag 'vfs-6.10-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: # iomap: Fix iomap_adjust_read_range for plen calculation # iomap: keep on increasing i_size in iomap_write_end() # cachefiles: remove unneeded include of # fs/file: fix the check in find_next_fd() # cachefiles: make on-demand read killable # cachefiles: flush all requests after setting CACHEFILES_DEAD # cachefiles: Set object to close if ondemand_id < 0 in copen # cachefiles: defer exposing anon_fd until after copy_to_user() succeeds # cachefiles: never get a new anonymous fd if ondemand_id is valid # cachefiles: add spin_lock for cachefiles_ondemand_info # cachefiles: add consistency check for copen/cread # cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read() # cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read() # cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd() # cachefiles: remove requests from xarray during flushing requests # cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd # statx: Update offset commentary for struct statx # netfs: fix kernel doc for nets_wait_for_outstanding_io() # debugfs: continue to ignore unknown mount options # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 2ef5971ff345d3c000873725db555085e0131961 # make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig CONFIG_SPI_STM32_QSPI=n # < make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:14180:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:14184:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:14186:warning: override: reassigning to symbol UML_NET_SLIP .config:14191:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 In file included from /kisskb/src/include/linux/bpf_verifier.h:9, from /kisskb/src/kernel/bpf/verifier.c:13: /kisskb/src/kernel/bpf/verifier.c: In function ‘do_misc_fixups’: /kisskb/src/kernel/bpf/verifier.c:20325:85: error: ‘pcpu_hot’ undeclared (first use in this function) 20325 | insn_buf[0] = BPF_MOV32_IMM(BPF_REG_0, (u32)(unsigned long)&pcpu_hot.cpu_number); | ^~~~~~~~ /kisskb/src/include/linux/filter.h:219:26: note: in definition of macro ‘BPF_MOV32_IMM’ 219 | .imm = IMM }) | ^~~ /kisskb/src/kernel/bpf/verifier.c:20325:85: note: each undeclared identifier is reported only once for each function it appears in 20325 | insn_buf[0] = BPF_MOV32_IMM(BPF_REG_0, (u32)(unsigned long)&pcpu_hot.cpu_number); | ^~~~~~~~ /kisskb/src/include/linux/filter.h:219:26: note: in definition of macro ‘BPF_MOV32_IMM’ 219 | .imm = IMM }) | ^~~ make[5]: *** [/kisskb/src/scripts/Makefile.build:244: kernel/bpf/verifier.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/lib/iomap.c:156:5: error: no previous prototype for ‘ioread64_lo_hi’ [-Werror=missing-prototypes] 156 | u64 ioread64_lo_hi(const void __iomem *addr) | ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:163:5: error: no previous prototype for ‘ioread64_hi_lo’ [-Werror=missing-prototypes] 163 | u64 ioread64_hi_lo(const void __iomem *addr) | ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:170:5: error: no previous prototype for ‘ioread64be_lo_hi’ [-Werror=missing-prototypes] 170 | u64 ioread64be_lo_hi(const void __iomem *addr) | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:178:5: error: no previous prototype for ‘ioread64be_hi_lo’ [-Werror=missing-prototypes] 178 | u64 ioread64be_hi_lo(const void __iomem *addr) | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:264:6: error: no previous prototype for ‘iowrite64_lo_hi’ [-Werror=missing-prototypes] 264 | void iowrite64_lo_hi(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:272:6: error: no previous prototype for ‘iowrite64_hi_lo’ [-Werror=missing-prototypes] 272 | void iowrite64_hi_lo(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:280:6: error: no previous prototype for ‘iowrite64be_lo_hi’ [-Werror=missing-prototypes] 280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:288:6: error: no previous prototype for ‘iowrite64be_hi_lo’ [-Werror=missing-prototypes] 288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: lib/iomap.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: lib] Error 2 make[2]: *** [/kisskb/src/Makefile:1934: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_um-x86_64-gcc12 # Build took: 0:10:18.603325