PT-2026-47608 · Maven · Io.Netty:Netty-Transport-Native-Epoll+1
Published
2026-06-08
·
Updated
2026-06-08
·
CVE-2026-45536
CVSS v3.1
4.0
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
netty unix socket recvFd sets msg control to
char control[CMSG SPACE(sizeof(int))] (line 940) — 24 bytes on 64-bit Linux. A peer-sent SCM RIGHTS cmsg carrying two ints has cmsg len = CMSG LEN(8) = 24, which fits exactly with no MSG CTRUNC, so the kernel installs both fds in the receiving process. The subsequent check cmsg->cmsg len == CMSG LEN(sizeof(int)) (line 972, expected 20) fails, the branch that would read the fd is skipped, and neither installed fd is closed. The for(;;) loop calls recvmsg again (non-blocking → EAGAIN → Java maps to 0 → read loop exits normally), leaving two leaked fds per message. There is no MSG CTRUNC handling. Reachable via Epoll/KQueue DomainSocketChannel when the application opts into DomainSocketReadMode.FILE DESCRIPTORS (non-default).Fix
Information Disclosure
Missing Release of Resource after Effective Lifetime
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Io.Netty:Netty-Transport-Native-Epoll
Io.Netty:Netty-Transport-Native-Kqueue