Bug 2173440 (CVE-2023-1078) - CVE-2023-1078 kernel: Heap OOB Write in rds_rm_zerocopy_callback()
Summary: CVE-2023-1078 kernel: Heap OOB Write in rds_rm_zerocopy_callback()
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-1078
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2173441
Blocks: 2172923
TreeView+ depends on / blocked
 
Reported: 2023-02-26 17:47 UTC by Alex
Modified: 2024-04-17 15:51 UTC (History)
42 users (show)

Fixed In Version: kernel 6.1.12
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds memory access flaw was found in the Linux kernel's RDS (Reliable Datagram Sockets) protocol due to triggering rds_message_put(). This could allow a local user to crash the system or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed: 2023-02-26 23:15:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-02-26 17:47:15 UTC
A flaw found in the Linux Kernel in RDS (Reliable Datagram Sockets) protocol. The rds_rm_zerocopy_callback() uses list_entry() on the head of a list causing a type confusion. Local user can trigger this with rds_message_put(). Type confusion leads to `struct rds_msg_zcopy_info *info` actually points to something else that is potentially controlled by local user.
It is known how to trigger this, which causes an OOB access, and a lock corruption.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f753a68980cf4b59a80fe677619da2b1804f526d

Comment 1 Alex 2023-02-26 17:47:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2173441]

Comment 3 Justin M. Forbes 2023-03-01 19:54:14 UTC
This was fixed for Fedora with the 6.1.12 stable kernel updates.


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