Bug 2115627

Summary: [[RHEL-9.1] NFT delete element rule return false value.
Product: Red Hat Enterprise Linux 9 Reporter: yiche <yiche>
Component: nftablesAssignee: Phil Sutter <psutter>
Status: CLOSED ERRATA QA Contact: Jiri Peska <jpeska>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.1CC: egarver, jiji, jpeska, todoleza
Target Milestone: rcKeywords: Regression, TestCaseProvided, Triaged, Upstream
Target Release: 9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nftables-1.0.4-8.el9_1 Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-28 08:19:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Phil Sutter 2022-08-09 17:42:46 UTC
Issue is fixed upstream by the following commit:

6d1ee9267e7e5 ("intervals: check for EXPR_F_REMOVE in case of element mismatch")

This is a fix of commit 3e8d934e4f72 ("intervals: support to partial deletion
with automerge") and there is another fix for that commit upstream:

5357cb7b5cb93 ("intervals: fix crash when trying to remove element in empty set")

I propose to backport both. Both have test cases attached, BTW.

Comment 2 Phil Sutter 2022-08-31 16:53:43 UTC
Missed RHEL9.1, proposing for RHEL9.2.

Comment 3 Phil Sutter 2023-01-11 14:35:33 UTC
Jiri, please ACK for RHEL9.1.z.

Comment 11 errata-xmlrpc 2023-02-28 08:19:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nftables bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:0950