Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-115995

[Integration Testing Task]CVE-2025-39682 kernel: tls: fix handling of zero-length records on the rx_list [rhel-9.6.z]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • 1
    • rhel-net-core-2
    • NST-Core2-25W38
    • 1
    • False
    • Hide

      None

      Show
      None
    • None

      Security Tracking Issue

      Do not make this issue public.

      Flaw:


      tls: fix handling of zero-length records on the rx_list

      In the Linux kernel, the following vulnerability has been resolved:

      tls: fix handling of zero-length records on the rx_list

      Each recvmsg() call must process either

      • only contiguous DATA records (any number of them)
      • one non-DATA record

      If the next record has different type than what has already been
      processed we break out of the main processing loop. If the record
      has already been decrypted (which may be the case for TLS 1.3 where
      we don't know type until decryption) we queue the pending record
      to the rx_list. Next recvmsg() will pick it up from there.

      Queuing the skb to rx_list after zero-copy decrypt is not possible,
      since in that case we decrypted directly to the user space buffer,
      and we don't have an skb to queue (darg.skb points to the ciphertext
      skb for access to metadata like length).

      Only data records are allowed zero-copy, and we break the processing
      loop after each non-data record. So we should never zero-copy and
      then find out that the record type has changed. The corner case
      we missed is when the initial record comes from rx_list, and it's
      zero length.

      ~~~

      Reproducers, if any, will remain confidential and never be made public, unless done so by the security team.

      The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
      https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams

      Tracker accuracy feedback form: https://docs.google.com/forms/d/e/1FAIpQLSfa6zTaEGohRdiIqGVAvWTSAL0kpO_DkkEICuIHzQHFwmKswg/viewform

              MuXiumei Xiumei Mu
              MuXiumei Xiumei Mu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: