Bug 2114937 (CVE-2022-20141) - CVE-2022-20141 kernel: igmp: use-after-free in ip_check_mc_rcu when opening and closing inet sockets
Summary: CVE-2022-20141 kernel: igmp: use-after-free in ip_check_mc_rcu when opening a...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-20141
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:
: 2122087 (view as bug list)
Depends On: 2114946 2114948 2114950 2114952 2122608
Blocks: 2114933
TreeView+ depends on / blocked
 
Reported: 2022-08-03 14:40 UTC by Alex
Modified: 2024-02-13 01:11 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel’s IGMP protocol in how a user triggers a race condition in the ip_check_mc_rcu function. This flaw allows a local user to crash or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed: 2023-05-16 19:12:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2148 0 None None None 2023-05-09 07:11:31 UTC
Red Hat Product Errata RHSA-2023:2458 0 None None None 2023-05-09 07:50:36 UTC
Red Hat Product Errata RHSA-2023:2736 0 None None None 2023-05-16 08:04:50 UTC
Red Hat Product Errata RHSA-2023:2951 0 None None None 2023-05-16 08:33:45 UTC
Red Hat Product Errata RHSA-2024:0412 0 None None None 2024-01-24 16:42:34 UTC

Description Alex 2022-08-03 14:40:19 UTC
A flaw in the Linux Kernel found in the net/ipv4/igmp.c.
When local user opening and closing inet sockets with IGMP protocol, the race condition could happen that leads to use after free due to improper locking in function ip_check_mc_rcu.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/ipv4/igmp.c?h=v5.19&id=23d2b94043ca8835bd1e67749020e839f396a1c2

Comment 5 Wade Mealing 2022-08-29 04:26:00 UTC
*** Bug 2122087 has been marked as a duplicate of this bug. ***

Comment 6 Alex 2022-08-30 12:01:21 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2122608]

Comment 7 Justin M. Forbes 2022-08-31 16:23:33 UTC
This was fixed for Fedora with the 5.13.16 stable kernel updates.

Comment 11 errata-xmlrpc 2023-05-09 07:11:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 12 errata-xmlrpc 2023-05-09 07:50:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 13 errata-xmlrpc 2023-05-16 08:04:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 14 errata-xmlrpc 2023-05-16 08:33:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 15 Product Security DevOps Team 2023-05-16 19:12:26 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-20141

Comment 18 errata-xmlrpc 2024-01-24 16:42:30 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.