# 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/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- randconfig KCONFIG_SEED=0x47B8D8C0 # Added to kconfig CONFIG_STANDALONE=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_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- /kisskb/src/tools/objtool /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_nr_conv_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:327:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_nr_conv, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_mbps_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:323:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(mbps, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_index_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:318:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(index, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_hw_queue_depth_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:317:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(hw_queue_depth, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_irqmode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:316:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(irqmode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocksize_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:315:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocksize, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_queue_mode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:314:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(queue_mode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_home_node_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:313:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(home_node, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:326:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_cache_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:324:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(cache_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_completion_nsec_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:311:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(completion_nsec, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:310:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zoned_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:325:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zoned, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_discard_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:322:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(discard, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_memory_backed_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:321:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(memory_backed, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_use_per_node_hctx_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:320:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(use_per_node_hctx, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocking_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:319:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocking, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_submit_queues_store': /kisskb/src/drivers/block/null_blk_main.c:307:48: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] return set->nr_hw_queues == submit_queues ? 0 : -ENOMEM; ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:312:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(submit_queues, uint, nullb_apply_submit_queues); ^ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 # Build took: 0:05:22.720940