Bug 1830174

Summary: [abrt] nftables: scanner_destroy(): nft killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Gunnar Guðvarðarson <gunnar>
Component: nftablesAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: gunnar, kevin, psutter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/520a8646d7749b785ed4787593db0da124a57502
Whiteboard: abrt_hash:81d72c246cbad3b52cec4d1d8ae0aa5ea331daf7;VARIANT_ID=server;
Fixed In Version: nftables-0.9.3-4.fc32 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-13 01:17:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Gunnar Guðvarðarson 2020-05-01 01:06:24 UTC
Description of problem:
I was trying to reproduce https://bugzilla.redhat.com/show_bug.cgi?id=1729197 on Fedora 32.

$ cat /etc/sysconfig/nftables.conf
table inet filter {
        include "/etc/nftables/customer/*"
}
$ mkdir -p /etc/nftables/customer
$ touch /etc/nftables/customer/f{00,01,02,03,04,05,06,07,08,09,10,11,12,13,14}
$ cat /etc/nftables/customer/f01
set s1 {
    type ipv4_addr
    flags constant,interval
}

set s2 {
    type ipv4_addr
    flags constant,interval
    elements = {
    1.1.1.1
    }
}
$ systemctl reload nftables

Version-Release number of selected component:
1:nftables-0.9.3-2.fc32

Additional info:
reporter:       libreport-2.12.0
backtrace_rating: 4
cgroup:         0::/system.slice/nftables.service
cmdline:        /sbin/nft flush ruleset; include "/etc/sysconfig/nftables.conf";
crash_function: scanner_destroy
executable:     /usr/sbin/nft
journald_cursor: s=28b09b4b69d44de48d5feae824fe6ed1;i=623;b=f41923afbe644ef1832404701bc92893;m=15a5be1b;t=5a48baa8f6ed2;x=2f930f22aa8edccb
kernel:         5.6.7-300.fc32.x86_64
rootdir:        /
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (2 frames)
 #1 scanner_destroy at scanner.l:944
 #2 nft_run_cmd_from_buffer at libnftables.c:468

Comment 1 Gunnar Guðvarðarson 2020-05-01 01:06:27 UTC
Created attachment 1683519 [details]
File: backtrace

Comment 2 Gunnar Guðvarðarson 2020-05-01 01:06:28 UTC
Created attachment 1683520 [details]
File: core_backtrace

Comment 3 Gunnar Guðvarðarson 2020-05-01 01:06:30 UTC
Created attachment 1683521 [details]
File: cpuinfo

Comment 4 Gunnar Guðvarðarson 2020-05-01 01:06:31 UTC
Created attachment 1683522 [details]
File: dso_list

Comment 5 Gunnar Guðvarðarson 2020-05-01 01:06:32 UTC
Created attachment 1683523 [details]
File: environ

Comment 6 Gunnar Guðvarðarson 2020-05-01 01:06:34 UTC
Created attachment 1683524 [details]
File: exploitable

Comment 7 Gunnar Guðvarðarson 2020-05-01 01:06:35 UTC
Created attachment 1683525 [details]
File: limits

Comment 8 Gunnar Guðvarðarson 2020-05-01 01:06:36 UTC
Created attachment 1683526 [details]
File: maps

Comment 9 Gunnar Guðvarðarson 2020-05-01 01:06:38 UTC
Created attachment 1683527 [details]
File: mountinfo

Comment 10 Gunnar Guðvarðarson 2020-05-01 01:06:39 UTC
Created attachment 1683528 [details]
File: open_fds

Comment 11 Gunnar Guðvarðarson 2020-05-01 01:06:41 UTC
Created attachment 1683529 [details]
File: proc_pid_status

Comment 12 Gunnar Guðvarðarson 2020-05-01 01:06:42 UTC
Created attachment 1683530 [details]
File: var_log_messages

Comment 13 Fedora Update System 2021-01-28 13:29:02 UTC
FEDORA-2021-4cf06fd9c1 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4cf06fd9c1

Comment 14 Fedora Update System 2021-01-29 02:52:46 UTC
FEDORA-2021-4cf06fd9c1 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4cf06fd9c1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4cf06fd9c1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-02-13 01:17:52 UTC
FEDORA-2021-4cf06fd9c1 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.