Skip to contentSkip to conversation

New: Kernel crash while deleting a nftables "table"

Bug 94501 Stephen Hemminger 1 participant 1 message Mar 8, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Sun, 8 Mar 2015 12:45:39 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
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: [email protected]
          Reporter: [email protected]
        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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.