{
  "threat_severity" : "Important",
  "public_date" : "2025-07-28T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: tls: always refresh the queue when reading sock",
    "id" : "2383893",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2383893"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-416",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\ntls: always refresh the queue when reading sock\nAfter recent changes in net-next TCP compacts skbs much more\naggressively. This unearthed a bug in TLS where we may try\nto operate on an old skb when checking if all skbs in the\nqueue have matching decrypt state and geometry.\nBUG: KASAN: slab-use-after-free in tls_strp_check_rcv+0x898/0x9a0 [tls]\n(net/tls/tls_strp.c:436 net/tls/tls_strp.c:530 net/tls/tls_strp.c:544)\nRead of size 4 at addr ffff888013085750 by task tls/13529\nCPU: 2 UID: 0 PID: 13529 Comm: tls Not tainted 6.16.0-rc5-virtme\nCall Trace:\nkasan_report+0xca/0x100\ntls_strp_check_rcv+0x898/0x9a0 [tls]\ntls_rx_rec_wait+0x2c9/0x8d0 [tls]\ntls_sw_recvmsg+0x40f/0x1aa0 [tls]\ninet_recvmsg+0x1c3/0x1f0\nAlways reload the queue, fast path is to have the record in the queue\nwhen we wake, anyway (IOW the path going down \"if !strp->stm.full_len\")." ],
  "statement" : "This patch fixes a use-after-free bug in the kernel TLS (kTLS) implementation, where stale SKB pointers could be accessed due to aggressive TCP skb compaction.\nThe function tls_strp_read_sock() failed to reload the skb queue unconditionally, potentially leading to dereferencing freed memory in tls_strp_check_rcv().\nThis issue could be triggered remotely over a TCP+TLS connection and may result in kernel crashes or information disclosure.\nWhile the bug requires precise timing and TCP skb compaction behavior, it may be remotely triggered through a TLS stream and can lead to kernel instability or data leakage from freed memory.\nAlthough the underlying bug is a use-after-free read, it can lead to kernel panic on systems with KASAN, SLUB debug, panic_on_oops=1, or when the freed skb is reused and corrupted, potentially causing further memory violations or invalid state propagation in the TLS receive path.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2025-08-18T00:00:00Z",
    "advisory" : "RHSA-2025:14009",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.0",
    "package" : "kernel-0:6.12.0-55.28.1.el10_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-08-18T00:00:00Z",
    "advisory" : "RHSA-2025:13962",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.35.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-08-18T00:00:00Z",
    "advisory" : "RHSA-2025:13962",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.35.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-08-25T00:00:00Z",
    "advisory" : "RHSA-2025:14497",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kpatch-patch"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2025-08-18T00:00:00Z",
    "advisory" : "RHSA-2025:14003",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "kernel-0:5.14.0-284.131.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2025-08-18T00:00:00Z",
    "advisory" : "RHSA-2025:14005",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2::nfv",
    "package" : "kernel-rt-0:5.14.0-284.131.1.rt14.416.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2025-08-26T00:00:00Z",
    "advisory" : "RHSA-2025:14599",
    "cpe" : "cpe:/o:redhat:rhel_e4s:9.2",
    "package" : "kpatch-patch"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2025-08-19T00:00:00Z",
    "advisory" : "RHSA-2025:14082",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.4",
    "package" : "kernel-0:5.14.0-427.84.1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2025-08-28T00:00:00Z",
    "advisory" : "RHSA-2025:14811",
    "cpe" : "cpe:/o:redhat:rhel_eus:9.4",
    "package" : "kpatch-patch"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-38471\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-38471\nhttps://lore.kernel.org/linux-cve-announce/2025072812-CVE-2025-38471-ca92@gregkh/T" ],
  "name" : "CVE-2025-38471",
  "mitigation" : {
    "value" : "To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.",
    "lang" : "en:us"
  },
  "csaw" : false
}