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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68e5138a.a00a0220.298cc0.047a.GAE@google.com>
Date: Tue, 07 Oct 2025 06:20:10 -0700
From: syzbot <syzbot+b9e83021d9c642a33d8c@...kaller.appspotmail.com>
To: axboe@...nel.dk
Cc: axboe@...nel.dk, io-uring@...r.kernel.org, linux-kernel@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [io-uring?] KASAN: slab-use-after-free Read in io_waitid_wait

> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git

want either no args or 2 args (repo, branch), got 5

>
> diff --git a/io_uring/waitid.c b/io_uring/waitid.c
> index 26c118f3918d..f25110fb1b12 100644
> --- a/io_uring/waitid.c
> +++ b/io_uring/waitid.c
> @@ -230,13 +230,14 @@ static int io_waitid_wait(struct wait_queue_entry *wait, unsigned mode,
>  	if (!pid_child_should_wake(wo, p))
>  		return 0;
>  
> +	list_del_init(&wait->entry);
> +
>  	/* cancel is in progress */
>  	if (atomic_fetch_inc(&iw->refs) & IO_WAITID_REF_MASK)
>  		return 1;
>  
>  	req->io_task_work.func = io_waitid_cb;
>  	io_req_task_work_add(req);
> -	list_del_init(&wait->entry);
>  	return 1;
>  }
>  
>
> -- 
> Jens Axboe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ