Bug 2383893 (CVE-2025-38471) - CVE-2025-38471 kernel: tls: always refresh the queue when reading sock
Summary: CVE-2025-38471 kernel: tls: always refresh the queue when reading sock
Keywords:
Status: NEW
Alias: CVE-2025-38471
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-28 12:01 UTC by OSIDB Bzimport
Modified: 2025-10-03 14:01 UTC (History)
0 users

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:13962 0 None None None 2025-08-18 04:08:02 UTC
Red Hat Product Errata RHSA-2025:14003 0 None None None 2025-08-18 11:54:55 UTC
Red Hat Product Errata RHSA-2025:14005 0 None None None 2025-08-18 12:12:14 UTC
Red Hat Product Errata RHSA-2025:14009 0 None None None 2025-08-18 14:03:30 UTC
Red Hat Product Errata RHSA-2025:14082 0 None None None 2025-08-19 09:49:21 UTC
Red Hat Product Errata RHSA-2025:14497 0 None None None 2025-08-25 12:18:46 UTC
Red Hat Product Errata RHSA-2025:14599 0 None None None 2025-08-26 10:25:03 UTC
Red Hat Product Errata RHSA-2025:14811 0 None None None 2025-08-28 05:12:01 UTC

Description OSIDB Bzimport 2025-07-28 12:01:29 UTC
In the Linux kernel, the following vulnerability has been resolved:

tls: always refresh the queue when reading sock

After recent changes in net-next TCP compacts skbs much more
aggressively. This unearthed a bug in TLS where we may try
to operate on an old skb when checking if all skbs in the
queue have matching decrypt state and geometry.

    BUG: KASAN: slab-use-after-free in tls_strp_check_rcv+0x898/0x9a0 [tls]
    (net/tls/tls_strp.c:436 net/tls/tls_strp.c:530 net/tls/tls_strp.c:544)
    Read of size 4 at addr ffff888013085750 by task tls/13529

    CPU: 2 UID: 0 PID: 13529 Comm: tls Not tainted 6.16.0-rc5-virtme
    Call Trace:
     kasan_report+0xca/0x100
     tls_strp_check_rcv+0x898/0x9a0 [tls]
     tls_rx_rec_wait+0x2c9/0x8d0 [tls]
     tls_sw_recvmsg+0x40f/0x1aa0 [tls]
     inet_recvmsg+0x1c3/0x1f0

Always reload the queue, fast path is to have the record in the queue
when we wake, anyway (IOW the path going down "if !strp->stm.full_len").

Comment 1 Avinash Hanwate 2025-07-28 16:27:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025072812-CVE-2025-38471-ca92@gregkh/T

Comment 4 errata-xmlrpc 2025-08-18 04:08:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:13962 https://access.redhat.com/errata/RHSA-2025:13962

Comment 5 errata-xmlrpc 2025-08-18 11:54:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14003 https://access.redhat.com/errata/RHSA-2025:14003

Comment 6 errata-xmlrpc 2025-08-18 12:12:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14005 https://access.redhat.com/errata/RHSA-2025:14005

Comment 7 errata-xmlrpc 2025-08-18 14:03:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:14009 https://access.redhat.com/errata/RHSA-2025:14009

Comment 8 errata-xmlrpc 2025-08-19 09:49:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:14082 https://access.redhat.com/errata/RHSA-2025:14082

Comment 9 errata-xmlrpc 2025-08-25 12:18:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:14497 https://access.redhat.com/errata/RHSA-2025:14497

Comment 10 errata-xmlrpc 2025-08-26 10:25:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14599 https://access.redhat.com/errata/RHSA-2025:14599

Comment 11 errata-xmlrpc 2025-08-28 05:12:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:14811 https://access.redhat.com/errata/RHSA-2025:14811


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