Bug 2066614 (CVE-2022-1016) - CVE-2022-1016 kernel: uninitialized registers on stack in nft_do_chain can cause kernel pointer leakage to UM
Summary: CVE-2022-1016 kernel: uninitialized registers on stack in nft_do_chain can ca...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-1016
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: 2067964 2067965 2067966 2067967 2069488 2069490 2070067 2214853 2215061
Blocks: 2065293
TreeView+ depends on / blocked
 
Reported: 2022-03-22 07:46 UTC by Marian Rehak
Modified: 2024-02-13 01:11 UTC (History)
53 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel in net/netfilter/nf_tables_core.c:nft_do_chain, which can cause a use-after-free. This issue needs to handle 'return' with proper preconditions, as it can lead to a kernel information leak problem caused by a local, unprivileged attacker.
Clone Of:
Environment:
Last Closed: 2022-12-05 13: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:09:49 UTC
Red Hat Product Errata RHSA-2022:7683 0 None None None 2022-11-08 10:09:06 UTC
Red Hat Product Errata RHSA-2022:7933 0 None None None 2022-11-15 09:44:42 UTC
Red Hat Product Errata RHSA-2022:8267 0 None None None 2022-11-15 10:47:24 UTC
Red Hat Product Errata RHSA-2023:4137 0 None None None 2023-07-18 08:28:37 UTC
Red Hat Product Errata RHSA-2023:4138 0 None None None 2023-07-18 08:28:46 UTC
Red Hat Product Errata RHSA-2024:0412 0 None None None 2024-01-24 16:42:23 UTC

Description Marian Rehak 2022-03-22 07:46:50 UTC
Uninitialized registers on stack in nft_do_chain can cause kernel pointer leakage to uninitialized memory.

Comment 7 Rohit Keshri 2022-03-29 03:18:43 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2069488]

Comment 9 Florian Westphal 2022-03-29 13:14:41 UTC
Fixed by:
4c905f6740a365464e91467aa50916555b28213d
netfilter: nf_tables: initialize registers in nft_do_chain()

Comment 10 Phil Sutter 2022-03-31 17:18:02 UTC
So, are we z-streaming this fix the usual way into RHEL9.0.0 and older RHEL8? The latter probably until RHEL8.4 since that is what OCP uses?

Comment 11 Justin M. Forbes 2022-03-31 21:27:55 UTC
This was fixed for Fedora with the 5.16.18 stable kernel updates.

Comment 15 Martin Hecht 2022-09-28 09:28:37 UTC
will this be addressed in RHEL 8 at some time?

Comment 16 errata-xmlrpc 2022-11-08 09:09:45 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 17 errata-xmlrpc 2022-11-08 10:09:02 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 18 errata-xmlrpc 2022-11-15 09:44:39 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 19 errata-xmlrpc 2022-11-15 10:47:21 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 20 Product Security DevOps Team 2022-12-05 13:33:20 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-1016

Comment 24 errata-xmlrpc 2023-07-18 08:28:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:4137 https://access.redhat.com/errata/RHSA-2023:4137

Comment 25 errata-xmlrpc 2023-07-18 08:28:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:4138 https://access.redhat.com/errata/RHSA-2023:4138

Comment 28 errata-xmlrpc 2024-01-24 16:42:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

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


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