Bug 2114878 (CVE-2022-2586) - CVE-2022-2586 kernel: nf_tables cross-table potential use-after-free may lead to local privilege escalation
Summary: CVE-2022-2586 kernel: nf_tables cross-table potential use-after-free may lead...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-2586
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2116354 2116355 2116356 2116357 2117015
Blocks: 2114879
TreeView+ depends on / blocked
 
Reported: 2022-08-03 12:38 UTC by Marian Rehak
Modified: 2024-08-06 04:00 UTC (History)
53 users (show)

Fixed In Version: kernel 6.0 rc1
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in nf_tables cross-table in the net/netfilter/nf_tables_api.c function in the Linux kernel. This flaw allows a local, privileged attacker to cause a use-after-free problem at the time of table deletion, possibly leading to local privilege escalation.
Clone Of:
Environment:
Last Closed: 2022-12-05 19:33:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7444 0 None None None 2022-11-08 09:10:27 UTC
Red Hat Product Errata RHSA-2022:7683 0 None None None 2022-11-08 10:10:10 UTC
Red Hat Product Errata RHSA-2022:7933 0 None None None 2022-11-15 09:45:39 UTC
Red Hat Product Errata RHSA-2022:8267 0 None None None 2022-11-15 10:48:48 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:29:09 UTC

Description Marian Rehak 2022-08-03 12:38:16 UTC
It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.

Comment 5 Rohit Keshri 2022-08-09 18:28:40 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2117015]

Comment 7 errata-xmlrpc 2022-11-08 09:10:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7444 https://access.redhat.com/errata/RHSA-2022:7444

Comment 8 errata-xmlrpc 2022-11-08 10:10:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7683 https://access.redhat.com/errata/RHSA-2022:7683

Comment 9 errata-xmlrpc 2022-11-15 09:45:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7933 https://access.redhat.com/errata/RHSA-2022:7933

Comment 10 errata-xmlrpc 2022-11-15 10:48:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8267 https://access.redhat.com/errata/RHSA-2022:8267

Comment 11 Product Security DevOps Team 2022-12-05 19:33:19 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2586

Comment 16 errata-xmlrpc 2024-02-07 16:29:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0724 https://access.redhat.com/errata/RHSA-2024:0724


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