Bug 2187931 (CVE-2023-2176) - CVE-2023-2176 kernel: Slab-out-of-bound read in compare_netdev_and_ip
Summary: CVE-2023-2176 kernel: Slab-out-of-bound read in compare_netdev_and_ip
Keywords:
Status: NEW
Alias: CVE-2023-2176
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2187935 2187936 2187937 2187938 2187939
Blocks: 2158739
TreeView+ depends on / blocked
 
Reported: 2023-04-19 07:00 UTC by Rohit Keshri
Modified: 2024-04-25 14:55 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in compare_netdev_and_ip in drivers/infiniband/core/cma.c in RDMA in the Linux kernel. An improper cleanup results in an out-of-boundary read. This flaw allows a local user to crash or escalate privileges on the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:0610 0 None None None 2024-01-30 14:48:35 UTC
Red Hat Product Errata RHBA-2024:0611 0 None None None 2024-01-30 14:53:03 UTC
Red Hat Product Errata RHBA-2024:0688 0 None None None 2024-02-05 17:04:24 UTC
Red Hat Product Errata RHBA-2024:1796 0 None None None 2024-04-11 21:12:03 UTC
Red Hat Product Errata RHBA-2024:2065 0 None None None 2024-04-25 14:55:12 UTC
Red Hat Product Errata RHSA-2024:0439 0 None None None 2024-01-24 16:35:49 UTC
Red Hat Product Errata RHSA-2024:0448 0 None None None 2024-01-24 16:37:41 UTC
Red Hat Product Errata RHSA-2024:0461 0 None None None 2024-01-24 16:28:44 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:30:11 UTC
Red Hat Product Errata RHSA-2024:0881 0 None None None 2024-02-20 12:28:25 UTC
Red Hat Product Errata RHSA-2024:0897 0 None None None 2024-02-20 12:33:14 UTC
Red Hat Product Errata RHSA-2024:1250 0 None None None 2024-03-12 00:43:24 UTC
Red Hat Product Errata RHSA-2024:1306 0 None None None 2024-03-13 09:08:42 UTC
Red Hat Product Errata RHSA-2024:1367 0 None None None 2024-03-19 00:22:22 UTC
Red Hat Product Errata RHSA-2024:1382 0 None None None 2024-03-19 15:07:40 UTC
Red Hat Product Errata RHSA-2024:1404 0 None None None 2024-03-19 17:27:16 UTC

Description Rohit Keshri 2023-04-19 07:00:27 UTC
The improper cleanup of resolve_prepare_src leads to a key mismatch or duplicate key in the cma id tree, which results in out-of-boundary in compare_netdev_and_ip. The issue was found in drivers/infiniband/core/cma.c in Linux in 6.1. A local user can utilize this bug to crash the system or escalation of privilege.

Affected component: rdma driver

References:
https://lkml.org/lkml/2022/12/9/178
https://www.spinics.net/lists/linux-rdma/msg114749.html
https://patchwork.kernel.org/project/linux-rdma/patch/3d0e9a2fd62bc10ba02fed1c7c48a48638952320.1672819273.git.leonro@nvidia.com/

Comment 2 Rohit Keshri 2023-04-19 07:15:56 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2187935]

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

  Red Hat Enterprise Linux 9

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

Comment 12 errata-xmlrpc 2024-01-24 16:35:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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

Comment 13 errata-xmlrpc 2024-01-24 16:37:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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

Comment 15 errata-xmlrpc 2024-02-07 16:30:08 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

Comment 17 errata-xmlrpc 2024-02-20 12:28:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 18 errata-xmlrpc 2024-02-20 12:33:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 19 errata-xmlrpc 2024-03-12 00:43:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

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

Comment 20 errata-xmlrpc 2024-03-13 09:08:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

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

Comment 21 errata-xmlrpc 2024-03-19 00:22:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

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

Comment 22 errata-xmlrpc 2024-03-19 15:07:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions

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

Comment 23 errata-xmlrpc 2024-03-19 17:27:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

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


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