Hi, I got the below trace after I enabled KASAN on kernel 4.19.195 Any idea why we got this unaligned problem with the sysfs buffers? Thx David Aug 1 17:25:54 c-node04 kernel: [ 362.068757] invalid sysfs_emit: buf:0000000044a7eadd Aug 1 17:25:54 c-node04 kernel: [ 362.068777] WARNING: CPU: 11 PID: 30435 at fs/sysfs/file.c:576 sysfs_emit+0xeb/0x100 Aug 1 17:25:54 c-node04 kernel: [ 362.068778] Modules linked in: be2iscsi iscsi_boot_sysfs bnx2i cnic uio cxgb4i cxgb4 cxgb3i libcxgbi cxgb3 mdio libcxgb ib_iser(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi drbd lru_cache loop 8021q mrp garp nfsd nfs_acl auth_rpcgss lockd sunrpc grace ipt_MASQUERADE xt_nat xt_state iptable_nat nf_nat_ipv4 xt_addrtype xt_conntrack nf _nat nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 libcrc32c br_netfilter bridge stp llc overlay dm_multipath rdma_ucm(OE) ib_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx 5_fpga_tools(OE) mlx5_ib(OE) ib_uverbs(OE) mlx4_en(OE) mlx4_ib(OE) ib_core(OE) mlx4_core(OE) fuse binfmt_misc mlx5_core(OE) mlx_compat(OE) devlink mlxfw(OE) pci_hyperv hv_utils ptp pps_core h v_balloon hv_netvsc pcspkr i2c_piix4 joydev sr_mod(E) cdrom(E) ext4(E) jbd2(E) Aug 1 17:25:54 c-node04 kernel: [ 362.068826] mbcache(E) hyperv_keyboard(E) hid_hyperv(E) hv_storvsc(E) scsi_transport_fc(E) floppy(E) hyperv_fb(E) hv_vmbus(E) [last unloaded: lru_cache] Aug 1 17:25:54 c-node04 kernel: [ 362.068835] CPU: 11 PID: 30435 Comm: iscsiadm Kdump: loaded Tainted: G OE 4.19.195-KM9 #1 Aug 1 17:25:54 c-node04 kernel: [ 362.068836] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090008 12/07/2018 Aug 1 17:25:54 c-node04 kernel: [ 362.068839] RIP: 0010:sysfs_emit+0xeb/0x100 Aug 1 17:25:54 c-node04 kernel: [ 362.068841] Code: 00 48 8b 4c 24 58 65 48 33 0c 25 28 00 00 00 75 1f 48 81 c4 90 00 00 00 5b 5d c3 48 89 fe 48 c7 c7 a0 c9 53 bb e8 25 cd 68 ff <0f> 0b 31 c0 eb bf e8 0a d1 68 ff 66 2e 0f 1f 84 00 00 00 00 00 0f Aug 1 17:25:54 c-node04 kernel: [ 362.068843] RSP: 0018:ffff88977dcff898 EFLAGS: 00010286 Aug 1 17:25:54 c-node04 kernel: [ 362.068845] RAX: 0000000000000000 RBX: 1ffff112efb9ff13 RCX: 0000000000000000 Aug 1 17:25:54 c-node04 kernel: [ 362.068846] RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffed12efb9fee1 Aug 1 17:25:54 c-node04 kernel: [ 362.068848] RBP: ffff88977dcff930 R08: ffffed13cbd3629f R09: ffffed13cbd3629e Aug 1 17:25:54 c-node04 kernel: [ 362.068849] R10: ffffed13cbd3629e R11: ffff889e5e9b14f7 R12: ffffffffc13c34f0 Aug 1 17:25:54 c-node04 kernel: [ 362.068850] R13: ffffffffba2ac690 R14: ffff88c00ccbf900 R15: ffff88977caad688 Aug 1 17:25:54 c-node04 kernel: [ 362.068852] FS: 00007feab717f700(0000) GS:ffff889e5e980000(0000) knlGS:0000000000000000 Aug 1 17:25:54 c-node04 kernel: [ 362.068853] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 1 17:25:54 c-node04 kernel: [ 362.068854] CR2: 00007feab6c2bab0 CR3: 00000017829cf002 CR4: 00000000003606e0 Aug 1 17:25:54 c-node04 kernel: [ 362.068858] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Aug 1 17:25:54 c-node04 kernel: [ 362.068859] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Aug 1 17:25:54 c-node04 kernel: [ 362.068860] Call Trace: Aug 1 17:25:54 c-node04 kernel: [ 362.068864] ? sysfs_remove_bin_file+0x80/0x80 Aug 1 17:25:54 c-node04 kernel: [ 362.068869] ? memcg_kmem_get_cache+0x202/0x810 Aug 1 17:25:54 c-node04 kernel: [ 362.068871] ? mem_cgroup_handle_over_high+0x130/0x130 Aug 1 17:25:54 c-node04 kernel: [ 362.068875] ? __free_insn_slot+0x4d0/0x4d0 Aug 1 17:25:54 c-node04 kernel: [ 362.068887] show_transport_caps+0x5f/0x80 [scsi_transport_iscsi] Aug 1 17:25:54 c-node04 kernel: [ 362.068892] dev_attr_show+0x40/0x80 Aug 1 17:25:54 c-node04 kernel: [ 362.068895] ? memset+0x1f/0x40 Aug 1 17:25:54 c-node04 kernel: [ 362.068897] sysfs_kf_seq_show+0x227/0x410 Aug 1 17:25:54 c-node04 kernel: [ 362.068900] kernfs_seq_show+0x1c0/0x260 Aug 1 17:25:54 c-node04 kernel: [ 362.068902] ? kernfs_vma_open+0x1b0/0x1b0 Aug 1 17:25:54 c-node04 kernel: [ 362.068905] seq_read+0x3db/0xfc0 Aug 1 17:25:54 c-node04 kernel: [ 362.068909] kernfs_fop_read+0x107/0x5c0 Aug 1 17:25:54 c-node04 kernel: [ 362.068911] ? __kasan_slab_free+0x125/0x170 Aug 1 17:25:54 c-node04 kernel: [ 362.068913] ? kernfs_vma_page_mkwrite+0x200/0x200 Aug 1 17:25:54 c-node04 kernel: [ 362.068916] ? __fsnotify_inode_delete+0x20/0x20 Aug 1 17:25:54 c-node04 kernel: [ 362.068919] __vfs_read+0xde/0x970 Aug 1 17:25:54 c-node04 kernel: [ 362.068921] ? __x64_sys_copy_file_range+0x5e0/0x5e0 Aug 1 17:25:54 c-node04 kernel: [ 362.068924] ? do_filp_open+0x24c/0x370 Aug 1 17:25:54 c-node04 kernel: [ 362.068926] ? cp_new_stat+0x71a/0x920 Aug 1 17:25:54 c-node04 kernel: [ 362.068928] ? may_open_dev+0xc0/0xc0 Aug 1 17:25:54 c-node04 kernel: [ 362.068930] ? __ia32_sys_fstat+0x70/0x70 Aug 1 17:25:54 c-node04 kernel: [ 362.068933] ? __fsnotify_update_child_dentry_flags.part.4+0x450/0x450 Aug 1 17:25:54 c-node04 kernel: [ 362.068936] ? simple_attr_release+0x50/0x50 Aug 1 17:25:54 c-node04 kernel: [ 362.068939] vfs_read+0xe9/0x2e0 Aug 1 17:25:54 c-node04 kernel: [ 362.068942] ksys_read+0xe7/0x270 Aug 1 17:25:54 c-node04 kernel: [ 362.068944] ? kernel_write+0x130/0x130 Aug 1 17:25:54 c-node04 kernel: [ 362.068948] do_syscall_64+0x149/0x4e0 Aug 1 17:25:54 c-node04 kernel: [ 362.068951] ? syscall_return_slowpath+0x330/0x330 Aug 1 17:25:54 c-node04 kernel: [ 362.068954] ? __do_page_fault+0xad0/0xad0 Aug 1 17:25:54 c-node04 kernel: [ 362.068957] ? prepare_exit_to_usermode+0x220/0x220 Aug 1 17:25:54 c-node04 kernel: [ 362.068959] ? enter_from_user_mode+0x40/0x40 Aug 1 17:25:54 c-node04 kernel: [ 362.068964] ? __put_user_4+0x1c/0x30 :