[Bug 877] New: nftables - Set - define core dumps

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Nov 28 08:24:24 CET 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=877

           Summary: nftables - Set - define core dumps
           Product: nftables
           Version: unspecified
          Platform: x86_64
        OS/Version: Ubuntu
            Status: NEW
          Severity: major
          Priority: P5
         Component: nft
        AssignedTo: pablo at netfilter.org
        ReportedBy: anandrm at gmail.com
   Estimated Hours: 0.0


I m trying to define a set in file

define ip_set = {192.168.1.2, 192.168.2.3}
add rule filter output ip daddr $ip_set counter

nft -f files/set_anand
Segmentation fault (core dumped)

On looking into the core file , it appears to be a issue with symbol_bind()
where both &sym->list, &scope->symbols to list_add_tail seem to point
the same ..


Core was generated by `nft -f files/set_anand'.
Program terminated with signal 11, Segmentation fault.
#0  __list_add (next=0x7ffff97efda0, prev=0xfbc440, new=0xfbc440) at
include/list.h:49
49 prev->next = new;
(gdb) bt
#0  __list_add (next=0x7ffff97efda0, prev=0xfbc440, new=0xfbc440) at
include/list.h:49
#1  list_add_tail (head=0x7ffff97efda0, new=0xfbc440) at include/list.h:76
#2  symbol_bind (scope=<optimized out>, identifier=0xfbc3c0 "ip_set",
expr=0xfc0770) at src/rule.c:176
#3  0x000000000041904b in nft_parse (scanner=0xfbc280,
state=0x7ffff97ef800) at src/parser.y:489
#4  0x00000000004055f3 in nft_run (scanner=<optimized out>,
state=0x7ffff97ef800, msgs=0x7ffff97efde0) at src/main.c:205
#5  0x00000000004052b8 in main (argc=<optimized out>, argv=<optimized
out>) at src/main.c:321

I m on the latest git pull on all ... The kernel is nf-next (3.12.0)

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list