Bug 2588740 (CVE-2026-142448) - 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
Summary: CVE-2026-142448 io.netty/netty-transport-native-io_uring: io.netty/netty-tran...
Keywords:
Status: NEW
Alias: CVE-2026-142448
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-02 16:50 UTC by OSIDB Bzimport
Modified: 2026-12-02 17:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


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