Bug 1830174 - [abrt] nftables: scanner_destroy(): nft killed by SIGSEGV
Summary: [abrt] nftables: scanner_destroy(): nft killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nftables
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:81d72c246cbad3b52cec4d1d8ae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-01 01:06 UTC by Gunnar Guðvarðarson
Modified: 2021-02-13 01:17 UTC (History)
3 users (show)

Fixed In Version: nftables-0.9.3-4.fc32
Clone Of:
Environment:
Last Closed: 2021-02-13 01:17:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (20.49 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: core_backtrace (1.29 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: cpuinfo (2.06 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: dso_list (1.07 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: environ (142 bytes, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: exploitable (82 bytes, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: limits (1.29 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: maps (7.53 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: mountinfo (3.19 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: open_fds (1.15 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: proc_pid_status (1.28 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details
File: var_log_messages (3.81 KB, text/plain)
2020-05-01 01:06 UTC, Gunnar Guðvarðarson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1729197 0 unspecified CLOSED [abrt] nftables: munmap_chunk(): nft killed by SIGABRT 2021-02-22 00:41:40 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.