# git rev-parse -q --verify a45ea48e2bcd92c1f678b794f488ca0bda9835b8^{commit} a45ea48e2bcd92c1f678b794f488ca0bda9835b8 already have revision, skipping fetch # git checkout -q -f -B kisskb a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # git clean -qxdf # < git log -1 # commit a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # Author: David Howells # Date: Sun Jan 26 01:02:53 2020 +0000 # # afs: Fix characters allowed into cell names # # The afs filesystem needs to prohibit certain characters from cell names, # such as '/', as these are used to form filenames in procfs, leading to # the following warning being generated: # # WARNING: CPU: 0 PID: 3489 at fs/proc/generic.c:178 # # Fix afs_alloc_cell() to disallow nonprintable characters, '/', '@' and # names that begin with a dot. # # Remove the check for "@cell" as that is then redundant. # # This can be tested by running: # # echo add foo/.bar 1.2.3.4 >/proc/fs/afs/cells # # Note that we will also need to deal with: # # - Names ending in ".invalid" shouldn't be passed to the DNS. # # - Names that contain non-valid domainname chars shouldn't be passed to # the DNS. # # - DNS replies that say "your-dns-needs-immediate-attention." and # replies containing A records that say 127.0.53.53 should be # considered invalid. # [https://www.icann.org/en/system/files/files/name-collision-mitigation-01aug14-en.pdf] # # but these need to be dealt with by the kafs-client DNS program rather # than the kernel. # # Reported-by: syzbot+b904ba7c947a37b4b291@syzkaller.appspotmail.com # Cc: stable@kernel.org # Signed-off-by: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x9E21D2A0 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/fs/afs/dir.c: In function 'afs_dir_set_page_dirty': /kisskb/src/fs/afs/dir.c:50:1: warning: no return statement in function returning non-void [-Wreturn-type] /kisskb/src/fs/afs/dynroot.c: In function 'afs_lookup_atcell': /kisskb/src/fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/bcma/sprom.c: In function 'bcma_sprom_get': /kisskb/src/drivers/bcma/sprom.c:644:8: warning: 'sprom' may be used uninitialized in this function [-Wuninitialized] /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/drivers/cpufreq/cpufreq.c: In function 'store_scaling_governor': /kisskb/src/drivers/cpufreq/cpufreq.c:792:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/cpufreq/cpufreq.c: In function 'cpufreq_init_policy': /kisskb/src/drivers/cpufreq/cpufreq.c:1090:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/cpufreq/cpufreq.c: In function 'refresh_frequency_limits': /kisskb/src/drivers/cpufreq/cpufreq.c:1125:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/kernel/bpf/btf.c: In function '__btf_resolve_helper_id': /kisskb/src/kernel/bpf/btf.c:3911:20: warning: 't' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_reboot_notifier': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:896:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:928:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/lib/mpi/mpicoder.c: In function 'mpi_read_raw_from_sgl': /kisskb/src/lib/mpi/mpicoder.c:352:8: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/sched/core.c: In function 'try_to_wake_up': /kisskb/src/kernel/sched/core.c:2649:12: warning: 'cpu' 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:156:19: warning: 'seq' 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:3547:15: warning: 'tail' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c: In function 'rhashtable_rehash_one': /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/fs/cifs/smb2pdu.c: In function 'SMB2_ioctl_init': /kisskb/src/fs/cifs/smb2pdu.c:2811:19: warning: 'in_data_buf' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c: In function 'gfs2_iomap_get': /kisskb/src/fs/gfs2/bmap.c:956:18: warning: 'height' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c:951:7: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c:957:8: warning: 'lblock' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/scheduler/sched_main.c: In function 'drm_sched_resubmit_jobs': /kisskb/src/drivers/gpu/drm/scheduler/sched_main.c:495:20: warning: 'guilty_context' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/ksm.c: In function 'stable_node_dup': /kisskb/src/mm/ksm.c:1391:15: warning: 'found_rmap_hlist_len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_build_hdr': /kisskb/src/net/mac80211/tx.c:2551:27: warning: 'chanctx_conf' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/fs/f2fs/node.c:263:17: warning: 'head' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_handle_pwr_constr.isra.15': /kisskb/src/net/mac80211/mlme.c:1576:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c: In function 'sctp_packet_config': /kisskb/src/include/linux/compiler.h:199:2: warning: 'sk' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c:79:15: note: 'sk' was declared here /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/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_compat_sys_vmsplice': /kisskb/src/fs/splice.c:1416:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_sys_vmsplice': /kisskb/src/fs/splice.c:1390:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/imu/bmi160/bmi160_core.c: In function 'bmi160_config_pin.constprop.8': /kisskb/src/drivers/iio/imu/bmi160/bmi160_core.c:606:29: warning: 'int_map_mask' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/imu/bmi160/bmi160_core.c:599:29: warning: 'int_latch_mask' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/imu/bmi160/bmi160_core.c:577:47: warning: 'int_out_ctrl_shift' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ocfs2/alloc.c: In function 'ocfs2_trim_mainbm': /kisskb/src/fs/ocfs2/alloc.c:7608:17: warning: 'first_bit' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/md/raid10.c: In function 'read_balance': /kisskb/src/drivers/md/raid10.c:842:22: warning: 'best_pending_slot' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/drm_atomic.c: In function 'drm_atomic_connector_check': /kisskb/src/drivers/gpu/drm/drm_atomic.c:426:38: warning: 'crtc_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/string.c: In function 'strlcpy': /kisskb/src/lib/string.c:523:8: sorry, unimplemented: inlining failed in call to 'strlen': redefined extern inline functions are not considered for inlining /kisskb/src/lib/string.c:143:9: sorry, unimplemented: called from here make[2]: *** [/kisskb/src/scripts/Makefile.build:265: lib/string.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1693: lib] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/nvme/target/io-cmd-bdev.c: In function 'nvmet_bdev_execute_discard': /kisskb/src/drivers/nvme/target/io-cmd-bdev.c:277:21: warning: 'status' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/scsi/aacraid/src.c: In function 'aac_src_intr_message': /kisskb/src/drivers/scsi/aacraid/src.c:84:4: warning: 'bellbits' may be used uninitialized in this function [-Wuninitialized] In file included from /kisskb/src/drivers/rtc/rtc-da9052.c:16:0: /kisskb/src/include/linux/mfd/da9052/da9052.h: In function 'da9052_group_read': /kisskb/src/include/linux/mfd/da9052/da9052.h:143:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:600:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:578:10: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c:578:10: warning: 'ret_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:442:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-main.c: In function 'VXGE_COMPLETE_VPATH_TX': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:784:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:563:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/md/dm-zoned-metadata.c: In function 'dmz_load_mapping': /kisskb/src/drivers/md/dm-zoned-metadata.c:1341:14: warning: 'dmap' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/md/dm-writecache.c: In function 'persistent_memory_claim': /kisskb/src/drivers/md/dm-writecache.c:310:1: warning: no return statement in function returning non-void [-Wreturn-type] /kisskb/src/drivers/usb/core/config.c: In function 'usb_get_configuration': /kisskb/src/drivers/usb/core/config.c:861:6: warning: 'result' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/target/target_core_user.c: In function 'scatter_data_area': /kisskb/src/drivers/target/target_core_user.c:653:29: warning: 'dbi' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/target/target_core_user.c:667:9: note: 'dbi' was declared here /kisskb/src/drivers/net/ethernet/realtek/r8169_main.c: In function 'rtl_set_coalesce': /kisskb/src/drivers/net/ethernet/realtek/r8169_main.c:2050:13: warning: 'cp01' 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/usb/misc/appledisplay.c: In function 'appledisplay_bl_get_brightness': /kisskb/src/drivers/usb/misc/appledisplay.c:155:14: warning: 'brightness' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/usbip/stub_rx.c: In function 'stub_recv_cmd_submit': /kisskb/src/drivers/usb/usbip/stub_rx.c:587:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/scsi/am53c974.c: In function 'pci_esp_dma_drain': /kisskb/src/drivers/scsi/am53c974.c:174:5: warning: 'resid' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c: In function 'g94_i2c_aux_xfer': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c:160:31: warning: 'stat' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c: In function 'gm200_i2c_aux_xfer': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c:160:31: warning: 'stat' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c: In function 'gk104_top_oneinit': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:92:20: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:77:3: warning: 'type' may be used uninitialized in this function [-Wuninitialized] make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:03:32.002103