Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #929442

Bug#914429: nftables: Delete and Flush lead to device or resource busy with segmentation fault

From Eike Lohmann <e.lohmann@ic3s.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#914429: nftables: Delete and Flush lead to device or resource busy with segmentation fault
Date 2018-11-23 13:20 +0100
Message-ID <wXiBb-FU-1@gated-at.bofh.it> (permalink)
References <wXhc5-85R-5@gated-at.bofh.it> <wXhvr-8sd-15@gated-at.bofh.it> <wXhc5-85R-5@gated-at.bofh.it> <wXhvr-8sd-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Arturo,

thanks for your quick reply.

Like described in my example, there is no reference to C_TestChain.


# nft delete chain filter C_TestChain
Error: Could not process rule: Device or resource busy
delete chain filter C_TestChain

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

what is left and can we delete it via an complete flush?

# nft list table filter -na
table ip filter { # handle 2
    chain FORWARD { # handle 1
        type filter hook forward priority 0; policy accept;
    }

    chain vpn_master { # handle 2
    }

    chain C_TestChain { # handle 5
    }
}

# nft flush ruleset
Segmentation fault

Regards, Eike


Am 23.11.18 um 11:59 schrieb Arturo Borrero Gonzalez:
> Control: severity -1 normal
> Control: reassign -1 linux
> Control: fixed -1 4.18.20-1
>
> On 11/23/18 11:32 AM, Eike Lohmann wrote:
>> # nft delete chain filter C_TestChain
>> Error: Could not process rule: Device or resource busy
>> delete chain filter C_TestChain
>>
> This is not a bug. This means that the C_TestChain chain is referenced
> by other objects within the ruleset, thus you can't delete it.
>
> Please, check your ruleset.
>
>> # nft flush ruleset
>> Segmentation fault
>>
> This is a kernel error which leads the userspace application to crash.
>
> Is fixed by this linux kernel patch:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7acfda539c0b9636a58bfee56abfb3aeee806d96
>
> This should be included in linux 4.18.20-1.
>
> Thanks for reporting!

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#914429: nftables: Delete and Flush lead to device or resource busy with segmentation fault Eike Lohmann <e.lohmann@ic3s.de> - 2018-11-23 11:50 +0100
  Bug#914429: nftables: Delete and Flush lead to device or resource busy with segmentation fault Eike Lohmann <e.lohmann@ic3s.de> - 2018-11-23 13:20 +0100
  Bug#914429: nftables: Delete and Flush lead to device or resource busy with segmentation fault Eike Lohmann <e.lohmann@ic3s.de> - 2018-11-23 14:40 +0100

csiph-web