netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org,
	syzbot+92968395eedbdbd3617d@syzkaller.appspotmail.com
Subject: Re: [PATCH nf-next] netfilter: cttimeout: fix slab-out-of-bounds read in cttimeout_net_exit
Date: Thu, 19 May 2022 22:40:07 +0200	[thread overview]
Message-ID: <YoarJyKPuoiP9F/K@salvia> (raw)
In-Reply-To: <20220517205036.25883-1-fw@strlen.de>

On Tue, May 17, 2022 at 10:50:36PM +0200, Florian Westphal wrote:
> syzbot reports:
> BUG: KASAN: slab-out-of-bounds in __list_del_entry_valid+0xcc/0xf0 lib/list_debug.c:42
> [..]
>  list_del include/linux/list.h:148 [inline]
>  cttimeout_net_exit+0x211/0x540 net/netfilter/nfnetlink_cttimeout.c:617
> 
> No reproducer so far. Looking at recent changes in this area
> its clear that the free_head must not be at the end of the
> structure because nf_ct_timeout structure has variable size.

Applied, thanks

  reply	other threads:[~2022-05-19 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 20:27 [syzbot] KASAN: slab-out-of-bounds Read in cttimeout_net_exit syzbot
2022-05-17 20:50 ` [PATCH nf-next] netfilter: cttimeout: fix slab-out-of-bounds read " Florian Westphal
2022-05-19 20:40   ` Pablo Neira Ayuso [this message]
2022-06-15 12:06 ` [syzbot] KASAN: slab-out-of-bounds Read " syzbot
2022-06-15 13:40   ` [PATCH nf] netfilter: cttimeout: fix slab-out-of-bounds read typo " Florian Westphal

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=YoarJyKPuoiP9F/K@salvia \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=syzbot+92968395eedbdbd3617d@syzkaller.appspotmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).