<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iptables-nft-restore --test can segfault"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1391">1391</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iptables-nft-restore --test can segfault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Gentoo
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables over nftable
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kfm@plushkava.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Upon first ever using iptables-nft-restore to test a long-standing production
ruleset, I encountered a segmentation fault. I have been able to reduce it to
this test case:

# printf '%s\nCOMMIT\n' '*nat' '*raw' '*filter' | iptables-nft-restore --test

Omitting the --test option prevents the segfault from occurring.

Currently, I am testing with a Gentoo Linux system that uses the following
components:

Linux 5.4.5
glibc-2.29
iptables-1.8.4
libmnl-1.0.4
libnfnetlink-1.0.1
libnftnl-1.1.5

Some additional details have been shared with Pablo via private correspondence.
I shall post them here, if requested.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>