public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: [email protected], Pavel Begunkov <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 1/1] io_uring: sqpoll: zero sqd->thread on tctx errors
Date: Fri, 10 Jan 2025 07:34:21 -0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <efc7ec7010784463b2e7466d7b5c02c2cb381635.1736519461.git.asml.silence@gmail.com>


On Fri, 10 Jan 2025 14:31:23 +0000, Pavel Begunkov wrote:
> Syzkeller reports:
> 
> BUG: KASAN: slab-use-after-free in thread_group_cputime+0x409/0x700 kernel/sched/cputime.c:341
> Read of size 8 at addr ffff88803578c510 by task syz.2.3223/27552
>  Call Trace:
>   <TASK>
>   ...
>   kasan_report+0x143/0x180 mm/kasan/report.c:602
>   thread_group_cputime+0x409/0x700 kernel/sched/cputime.c:341
>   thread_group_cputime_adjusted+0xa6/0x340 kernel/sched/cputime.c:639
>   getrusage+0x1000/0x1340 kernel/sys.c:1863
>   io_uring_show_fdinfo+0xdfe/0x1770 io_uring/fdinfo.c:197
>   seq_show+0x608/0x770 fs/proc/fd.c:68
>   ...
> 
> [...]

Applied, thanks!

[1/1] io_uring: sqpoll: zero sqd->thread on tctx errors
      commit: 1593ed0d510769514b648e09f8b7b71cc7fc18ec

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2025-01-10 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-10 14:31 [PATCH 1/1] io_uring: sqpoll: zero sqd->thread on tctx errors Pavel Begunkov
2025-01-10 14:34 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=173651966180.759272.470785840955056894.b4-ty@kernel.dk \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox