netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>,
	806130@bugs.debian.org, netfilter-devel@vger.kernel.org
Subject: Re: Bug#806130: linux: netlink_sock_destruct() crash in netns
Date: Sat, 28 Nov 2015 23:47:20 +0100	[thread overview]
Message-ID: <20151128224720.GA2296@salvia> (raw)
In-Reply-To: <1448576098.27159.62.camel@decadent.org.uk>

On Thu, Nov 26, 2015 at 10:14:58PM +0000, Ben Hutchings wrote:
> On Tue, 2015-11-24 at 16:49 +0100, Arturo Borrero Gonzalez wrote:
> > Source: linux
> > Version: 4.2.6-1
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > thanks for your work in the linux kernel.
> > 
> > I'm experimenting reports like this:
> > 
> > [mar nov 24 16:38:16 2015] ------------[ cut here ]------------
> > [mar nov 24 16:38:16 2015] WARNING: CPU: 1 PID: 22224 at /build/linux-CrHvZ_/linux-4.2.6/net/netlink/af_netlink.c:946 netlink_sock_destruct+0x103/0x140()
> > [mar nov 24 16:38:16 2015] Modules linked in: nft_nat nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nft_log fuse uas usb_storage nft_counter nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nft_ct nf_conntrack nft_meta nft_hash nft_rbtree nfnetlink_log nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 nf_tables nfnetlink nouveau snd_hda_codec_idt snd_hda_codec_generic mxm_wmi wmi video ttm drm_kms_helper drm iTCO_wdt i2c_algo_bit iTCO_vendor_support coretemp kvm_intel lpc_ich kvm snd_hda_intel mfd_core i2c_i801 snd_hda_codec evdev snd_hda_core pcspkr psmouse serio_raw snd_hwdep snd_pcm sg rng_core tpm_tis tpm 8250_fintek shpchp button snd_timer snd soundcore acpi_cpufreq processor thermal_sys parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 dm_mod sr_mod cdrom sd_mod ata_generic floppy ata_piix e100
> > [mar nov 24 16:38:16 2015]  mii libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common
> > [mar nov 24 16:38:16 2015] CPU: 1 PID: 22224 Comm: bash Tainted: G        W       4.2.0-1-amd64 #1 Debian 4.2.6-1
> [...]
> > I can reproduce the issue:
> > 
> >  % sudo ip netns add test
> >  % sudo ip netns exec test nft -f test.nft
> >  % sudo ip netns del test
> > 
> > Find attached the test.nft file.

sk       Eth Pid    Groups   Rmem     Wmem     Dump     Locks
Drops     Inode
ffff8800cbb11000 0   0      00000000 0        0        0 2        0 19855   
ffff88011504f800 4   0      00000000 0        0        0 2        0 19877   
ffff8801153f7000 9   0      00000000 0        0        0 2        0 19876   
ffff880030c23000 10  0      00000000 0        0        0 2        0 19858   
ffff8800cbabb800 12  0      00000000 -4544    0        0 2        0 19890   

wmem is underflowing.

Could you check if this also happening in older kernel versions?

No need to test under netns, you can just run nft -f and check
/proc/net/netlink.

Let me know, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-11-28 22:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <144838019931.22302.9425487048881510008.reportbug@deathstar.cica.es>
2015-11-26 22:14 ` Bug#806130: linux: netlink_sock_destruct() crash in netns Ben Hutchings
2015-11-28 22:47   ` Pablo Neira Ayuso [this message]
2015-12-01 23:25     ` Ben Hutchings

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=20151128224720.GA2296@salvia \
    --to=pablo@netfilter.org \
    --cc=806130@bugs.debian.org \
    --cc=arturo.borrero.glez@gmail.com \
    --cc=ben@decadent.org.uk \
    --cc=netfilter-devel@vger.kernel.org \
    /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).