Bug 2215502 (CVE-2023-3268) - CVE-2023-3268 kernel: out-of-bounds access in relay_file_read
Summary: CVE-2023-3268 kernel: out-of-bounds access in relay_file_read
Keywords:
Status: NEW
Alias: CVE-2023-3268
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: 2215508 2215509 2215510 2215511 2233503 2233504
Blocks: 2203740
TreeView+ depends on / blocked
 
Reported: 2023-06-16 09:07 UTC by Rohit Keshri
Modified: 2024-03-13 09:08 UTC (History)
48 users (show)

Fixed In Version: Kernel 6.4-rc1
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds (OOB) memory access flaw was found in the Linux kernel in relay_file_read_start_pos in kernel/relay.c in the relayfs. This flaw allows a local attacker to crash the system or leak kernel internal information.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:6835 0 None None None 2023-11-09 07:11:00 UTC
Red Hat Product Errata RHBA-2023:7268 0 None None None 2023-11-15 18:24:55 UTC
Red Hat Product Errata RHBA-2023:7328 0 None None None 2023-11-16 11:39:05 UTC
Red Hat Product Errata RHBA-2023:7338 0 None None None 2023-11-16 18:04:27 UTC
Red Hat Product Errata RHBA-2023:7343 0 None None None 2023-11-20 01:58:58 UTC
Red Hat Product Errata RHBA-2023:7346 0 None None None 2023-11-20 09:25:58 UTC
Red Hat Product Errata RHSA-2023:6583 0 None None None 2023-11-07 08:20:33 UTC
Red Hat Product Errata RHSA-2023:6901 0 None None None 2023-11-14 15:15:46 UTC
Red Hat Product Errata RHSA-2023:7077 0 None None None 2023-11-14 15:21:06 UTC
Red Hat Product Errata RHSA-2024:0412 0 None None None 2024-01-24 16:43:55 UTC
Red Hat Product Errata RHSA-2024:1250 0 None None None 2024-03-12 00:43:31 UTC
Red Hat Product Errata RHSA-2024:1306 0 None None None 2024-03-13 09:08:37 UTC

Description Rohit Keshri 2023-06-16 09:07:33 UTC
An out of bounds (OOB) memory access flaw was found in the Linux kernel in relay_file_read_start_pos in kernel/relay.c in the relayfs. This flaw could allow a local attacker to crash the system or leak kernel internal information.

The crash is in relay_file_read, as the var from point to the end of last subbuf.

The oops looks something like:

pc : __arch_copy_to_user+0x180/0x310
lr : relay_file_read+0x20c/0x2c8
Call trace:
__arch_copy_to_user+0x180/0x310
full_proxy_read+0x68/0x98
vfs_read+0xb0/0x1d0
ksys_read+0x6c/0xf0
__arm64_sys_read+0x20/0x28
el0_svc_common.constprop.3+0x84/0x108
do_el0_svc+0x74/0x90
el0_svc+0x1c/0x28
el0_sync_handler+0x88/0xb0
el0_sync+0x148/0x180

Refer:
https://lore.kernel.org/lkml/1682238502-1892-1-git-send-email-yangpc@wangsu.com/T/

Comment 13 errata-xmlrpc 2023-11-07 08:20:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 14 errata-xmlrpc 2023-11-14 15:15:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 15 errata-xmlrpc 2023-11-14 15:21:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 16 errata-xmlrpc 2024-01-24 16:43:50 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

Comment 18 errata-xmlrpc 2024-03-12 00:43:27 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 19 errata-xmlrpc 2024-03-13 09:08:33 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


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