Skip to content

Netty 4.1.140 requiring glibc 2.33 (reverted in .141) #478

Backlog

Description

@wfouche

Hi @jeff5, I think this issue is serious enough to delay the release of 2.7.5 until the associated PR has been reviewed and merged.

https://netty.io/news/2026/11/16/4-1-141-Final.html

This release fixes a mistake in our build that affected Netty 4.2.20 and 4.1.140, where we accidentally increased the glibc version to 2.33 for x86_64 and aarch64. In this release the glibc version requirements return to their previous versions.

  • "Avoid Netty 4.1.140.Final and 4.1.120.Final if you are running on older Linux distributions. Both versions had build configuration mistakes that accidentally bumped the requirement (up to glibc 2.33 in 4.1.140). These regressions were fixed immediately in 4.1.141.Final and 4.1.121.Final."

Activity

  1. jeff5 commented on Nov 28, 2026

    @jeff5
    Member

    The trouble with this is that there'll be another CVE (or several) along any day now that makes us want to do all this again, and we'll be permanently in 2.7.5rc*.

    We always mean to up our tempo. We have always failed, but driven as we are by our warring AI overlords, I can see us making a 2.7.6 around Easter.

    I found the detail on versions here: netty/netty#18365, and this table of vintages is useful: https://www.versio.io/en/product-release-end-of-life-eol-canonical-glibc.html . 2.33 is far from the shiny-latest patch (it's from 2021).

    Is the point about reverting to 2.19 not so much that it is older, but that 2.33 is EOL while patches of 2.19 may be in LTS systems? I'm not sure if I'm mis-interpreting the "Latest version date" in that second reference.

  2. changed the title [-]Netty 4.1.141 bug fix release for 4.1.40 (libc)[/-] [+]Netty 4.1.140 requiring glibc 2.33 (reverted in .141)[/+] on Nov 28, 2026
  3. wfouche commented on Nov 28, 2026

    @wfouche
    MemberAuthor

    Hi @jeff5, I think this is a special case that we should carefully consider. The netty guys are saying (my interpretation), we made a mistake, rather use .141 than .140. If we want to make the best 2.7.5 release we're able to make then we should use netty .141. We can draw a line here, and ship with .141 after a little bit of additional testing.

  4. jeff5 commented on Nov 28, 2026

    @jeff5
    Member

    I am considering it carefully. What would you say is the impact of not doing this until 2.7.6, supposing that to be Easter 2027? Who is stuck at 2.7.4 (and cares about that)?

  5. wfouche commented on Nov 28, 2026

    @wfouche
    MemberAuthor

    What would you say is the impact of not doing this until 2.7.6

    The impact should be small, but it just means we did not deliver the best 2.7.5 release we were capable of releasing because the .141 netty release also contains a lot of other small fixes. The CHANGELOG for netty .141 is rather long. But it is your decision, I'm happy with whatever you decide. It would be nice to get the 2.7.5 release out the door.

    Other significant changes are:
    
    Reject too long UDS paths in sendTo instead of truncating them #18245
    Don't invert IP_MULTICAST_LOOP_DISABLED in NioDatagramChannelConfig #18243
    Update Brotli4j version to 1.24.0 #18247
    Fix FastLz.readU16 when the reader index is not 0 #18246
    Grow KQueueEventArray correctly in realloc #18248
    Complete the TCP fast open connect before notifying the initial write #18244
    Stop decoding in Bzip2Decoder after an error #18261
    NIO: Correctly catch all exceptions when NioDatagramChannel.block(...) fails #18267
    Only mirror 127.0.0.1 to the IPv6 loopback in DnsQueryContextManager #18265
    Upgrade lz4-java to 1.13.0 #18280
    Honour qvalues when HttpContentCompressor selects the content encoding #18288
    Use HTTP dates in ReadOnlyHttp2Headers.containsTimeMillis #18287
    Initialize the hexadecimal tables of StringUtil lazily and cheaply #18292
    Avoid String.format in MacAddressUtil.formatAddress #18291
    Use the configured directory when creating disk attributes #18302
    KQueue/Epoll: Fall back to buffered writes for non-FileChannelImpl channels #18278
    Encode the char after an unpaired high surrogate in writeUtf8(...) #18307
    Release the handshake response when a WebSocket extension is rejected #18329
    Notify LeakListener for every detected leak #18334
    Call handshakeFailure for failed TLS completion events #18327
    Check the range in ByteBuf.toString(index, length, charset) #18340
    Fail the h2c upgrade stream for all header conversion errors #18346
    Handle zero-length and invalid bulk reads in ByteBufInputStream #18351
    Avoid classloader leak via the shared TransferEncodingNotAllowedException #18356
    Avoid classloader leak via ImmediateEventExecutor terminationFuture failure #18359
    Fix float matching in read-only HTTP/2 headers #18362
    Call handshakeFailure for TLS timeouts and early closes #18367
    Keep adaptive buffer sizes within configured bounds #18375
    Canonicalize NaN values written #18373
    Reject all control characters and DEL in HTTP response reason phrases #18381
    Key per-channel traffic shaping state #18386
    Fix ZstdDecoder with a non-positive defaultMaxForwardBytes #18401
    Fix limit of bytes for gathering writes being ignored after the first buffer #18396
    Evict DNS cache entries when expiration tasks are cancelled #18393
    Resume SslHandler when the delegated task was consumed elsewhere #18372
    Fix BrotliDecoder with a non-positive defaultMaxForwardBytes #18398
    Don't stop reading domain datagrams after an empty datagram #18395
    Use the correct address length when sending batched datagrams to a domain socket #18394
    Fix accidental glibc version bump #18390
    Reject SPDY frames that do not fit the 24-bit length field #18417
    HAProxyMessageEncoder: Reject v2 headers longer than 65535 bytes #18430
    
  6. jeff5 commented on Nov 29, 2026

    @jeff5
    Member

    That's quite a list, but it seems typical of their releases.

    On the glibc topic, I think the users disadvantaged by going ahead with 140 are those with glibc<2.33. That's, for example, sufficiently old Linux platforms, e.g. before Ubuntu 22.04. Their options are:

    1. Stick with 2.7.4 until 2.7.6.
    2. Put Netty 4.1.141 JARs on the classpath when running Jython. (Your PR tests show that works.) E.g:
      a. Embedders: use the slim Jar and require .141 through one's own Gradle or Maven build.
      b. Jython command users: Install as normal and patch javalib.
      c. Standalone users: patch build.xml (or use your PR branch) and build a release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions