Bug 2266286 (CVE-2024-26606) - CVE-2024-26606 kernel: signal epoll threads of self-work
Summary: CVE-2024-26606 kernel: signal epoll threads of self-work
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2024-26606
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2266288
Blocks: 2266287
TreeView+ depends on / blocked
 
Reported: 2024-02-27 12:50 UTC by Rohit Keshri
Modified: 2024-04-08 12:39 UTC (History)
49 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. This issue is in the binder subsystem.
Clone Of:
Environment:
Last Closed: 2024-03-12 17:54:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2024-02-27 12:50:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

binder: signal epoll threads of self-work

In (e)poll mode, threads often depend on I/O events to determine when
data is ready for consumption. Within binder, a thread may initiate a
command via BINDER_WRITE_READ without a read buffer and then make use
of epoll_wait() or similar to consume any responses afterwards.

It is then crucial that epoll threads are signaled via wakeup when they
queue their own work. Otherwise, they risk waiting indefinitely for an
event leaving their work unhandled. What is worse, subsequent commands
won't trigger a wakeup either as the thread has pending work.

https://git.kernel.org/stable/c/42beab162dcee1e691ee4934292d51581c29df61
https://git.kernel.org/stable/c/82722b453dc2f967b172603e389ee7dc1b3137cc
https://git.kernel.org/stable/c/90e09c016d72b91e76de25f71c7b93d94cc3c769
https://git.kernel.org/stable/c/93b372c39c40cbf179e56621e6bc48240943af69
https://git.kernel.org/stable/c/97830f3c3088638ff90b20dfba2eb4d487bf14d7
https://git.kernel.org/stable/c/a423042052ec2bdbf1e552e621e6a768922363cc
https://git.kernel.org/stable/c/a7ae586f6f6024f490b8546c8c84670f96bb9b68
https://git.kernel.org/stable/c/dd64bb8329ce0ea27bc557e4160c2688835402ac

Comment 1 Rohit Keshri 2024-02-27 13:01:36 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266288]


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