Bug 2588740 (CVE-2026-142448)

Summary: CVE-2026-142448 io.netty/netty-transport-native-io_uring: io.netty/netty-transport-classes-io_uring: Netty: io_uring Unix-domain SCM_RIGHTS receive still leaks extra file descriptors
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chfoley, jturenov, swoodman
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Netty's io_uring transport. When receiving file descriptors over Unix-domain sockets, the transport fails to properly process control messages carrying multiple file descriptors. A connected peer can send crafted messages to cause file descriptors to leak within the receiving process. Over time, repeated sends can exhaust available process file descriptors, resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 16:50:10 UTC
Netty's io_uring transport does not fully handle SCM_RIGHTS control messages when receiving file descriptors over Unix-domain sockets. This is an incomplete fix for CVE-2026-45536, which corrected the problem only in the epoll and kqueue transports. In IoUringDomainSocketChannel, the IORING_OP_RECVMSG completion path reads only the first integer of the control message data. It does not check for MSG_CTRUNC, does not compute the number of descriptors from the control message length, does not validate the control message level and type, and does not close surplus descriptors. The control buffer is sized for one descriptor, but on 64-bit Linux alignment lets it hold two without the kernel flagging truncation. As a result, a second descriptor in the same message is duplicated into the receiving process and never closed.

A peer connected to an IoUringDomainSocketChannel that is using DomainSocketReadMode.FILE_DESCRIPTORS can send a single SCM_RIGHTS message carrying two file descriptors. Each such message leaks one descriptor in the receiver. Repeated sends exhaust the process's file descriptor limit (RLIMIT_NOFILE).

Affected are users of netty-transport-classes-io_uring and netty-transport-native-io_uring in versions 4.2.0.Final through 4.2.18.Final that use IoUringDomainSocketChannel in FILE_DESCRIPTORS read mode. The epoll and kqueue transports are not affected. The issue is fixed in 4.2.19.Final.

Affected versions: >=4.2.0.Final, <=4.2.18.Final (both artifacts)
Patched versions: 4.2.19.Final (both artifacts)
CVSS: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (6.8)
CWE: CWE-401
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-79q2-mhf4-2j6j
CVE requested by the Netty Project via PSIRTSUPT-32166.