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>] [day] [month] [year] [list]
Message-ID: <20150308093040.0c3f7c41@urahara>
Date:	Sun, 8 Mar 2015 09:30:40 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	Pablo Neira Ayuso <pablo@...filter.org>
Cc:	netdev@...r.kernel.org
Subject: Fw: [Bug 94501] New: Kernel crash while deleting a nftables "table"



Begin forwarded message:

Date: Sun, 8 Mar 2015 12:45:39 +0000
From: "bugzilla-daemon@...zilla.kernel.org" <bugzilla-daemon@...zilla.kernel.org>
To: "shemminger@...ux-foundation.org" <shemminger@...ux-foundation.org>
Subject: [Bug 94501] New: Kernel crash while deleting a nftables "table"


https://bugzilla.kernel.org/show_bug.cgi?id=94501

            Bug ID: 94501
           Summary: Kernel crash while deleting a nftables "table"
           Product: Networking
           Version: 2.5
    Kernel Version: 4.0.0-rc2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
          Assignee: shemminger@...ux-foundation.org
          Reporter: jp.pozzi@...op.net
        Regression: No

Created attachment 169681
  --> https://bugzilla.kernel.org/attachment.cgi?id=169681&action=edit
Table after execution script

Hello,

I am testing "nftables" and get a kernel crash while deleting a table.
The first problem arose when I try to "flush" a table before executing a script
file :
ENTREE.dat:5:1-2: Error: Could not process rule: File exists
table ip NIV_UN {
^^
ENTREE.dat:5:1-2: Error: Could not process rule: File exists
table ip NIV_UN {
^^
The script begins with :
flush table NIV_UN;

table ip NIV_UN {
set PORT_TCP_IN { 
        type inet_service
include "xxxxx.set"
    }
............

If I "manually" flush the table with "nft flush table NIV_UN" all is good and
the content of the table is flushed, but remains in a state where no modify is
possible.
The command "nft flush table NIV_UN" works and the result seems OK (cf FILE 1),
but if I try to re-execute the script I get the same error.
If I try to delete the table with "nft delete table NIV_UN" I get a kernel
crash which is not visible in the logs, the only way I found is to take a photo
of the screen ...

Files attached : NFTLIST.txt : right after execution
                 NFTLIST_FLUSH.txt : after execution a "flush"
                 screen_img.jpg

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ