lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <15a6ed05-8f11-4118-ae32-4cb7622ce19b@oracle.com> Date: Thu, 5 Sep 2024 12:06:53 -0700 From: Shoaib Rao <rao.shoaib@...cle.com> To: Eric Dumazet <edumazet@...gle.com> Cc: syzbot <syzbot+8811381d455e3e9ec788@...kaller.appspotmail.com>, davem@...emloft.net, kuba@...nel.org, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, pabeni@...hat.com, syzkaller-bugs@...glegroups.com Subject: Re: [syzbot] [net?] KASAN: slab-use-after-free Read in unix_stream_read_actor (2) On 9/5/2024 1:04 AM, Eric Dumazet wrote: > On Thu, Sep 5, 2024 at 9:35 AM Shoaib Rao <rao.shoaib@...cle.com> wrote: >> Hi All, >> >> I am not able to reproduce the issue. I have run the C program at least >> 100 times in a loop. In the I do get an EFAULT, not sure if that is >> intentional or not but no panic. Should I be doing something >> differently? The kernel version I am using is >> v6.11-rc6-70-gc763c4339688. Later I can try with the exact version. > > Have you selected ASAN in your kernel build ? > > CONFIG_KASAN=y > CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y > CONFIG_KASAN_GENERIC=y > CONFIG_KASAN_INLINE=y > CONFIG_KASAN_STACK=y > CONFIG_KASAN_VMALLOC=y > >> [rshoaib@...bo-2 debug_pnic]$ gcc cause_panic.c -o panic_sys >> [rshoaib@...bo-2 debug_pnic]$ strace -f ./panic_sys >> execve("./panic_sys", ["./panic_sys"], 0x7ffe7d271d38 /* 63 vars */) = 0 >> brk(NULL) = 0x18104000 Hi Eric, Yes. The config is [rshoaib@...bo-2 ~]$ grep KASAN /boot/config-`uname -r` ++ uname -r + grep --color=auto KASAN /boot/config-6.11.0-rao-rc6-gc763c4339688-dirty CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000 CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y CONFIG_KASAN=y CONFIG_KASAN_GENERIC=y # CONFIG_KASAN_OUTLINE is not set CONFIG_KASAN_INLINE=y CONFIG_KASAN_STACK=y CONFIG_KASAN_VMALLOC=y The only config missing is CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX I do not have that option. Shoaib
Powered by blists - more mailing lists