smb: client: fix UAF in decryption with multichannel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix UAF in decryption with multichannel After commit f7025d861694 ("smb: client: allocate crypto only for primary server") and commit b0abcd65ec54 ("smb: client: fix UAF in async decryption"), the channels started reusing AEAD TFM from primary channel to perform synchronous decryption, but that can't done as there could be multiple cifsd threads (one per channel) simultaneously accessing it to perform decryption. This fixes the following KASAN splat when running fstest generic/249 with 'vers=3.1.1,multichannel,max_channels=4,seal' against Windows Server 2022: BUG: KASAN: slab-use-after-free in gf128mul_4k_lle+0xba/0x110 Read of size 8 at addr ffff8881046c18a0 by task cifsd/986 CPU: 3 UID: 0 PID: 986 Comm: cifsd Not tainted 6.15.0-rc1 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x5d/0x80 print_report+0x156/0x528 ? gf128mul_4k_lle+0xba/0x110 ? __virt_addr_valid+0x145/0x300 ? __phys_addr+0x46/0x90 ? gf128mul_4k_lle+0xba/0x110 kasan_report+0xdf/0x1a0 ? gf128mul_4k_lle+0xba/0x110 gf128mul_4k_lle+0xba/0x110 ghash_update+0x189/0x210 shash_ahash_update+0x295/0x370 ? __pfx_shash_ahash_update+0x10/0x10 ? __pfx_shash_ahash_update+0x10/0x10 ? __pfx_extract_iter_to_sg+0x10/0x10 ? ___kmalloc_large_node+0x10e/0x180 ? __asan_memset+0x23/0x50 crypto_ahash_update+0x3c/0xc0 gcm_hash_assoc_remain_continue+0x93/0xc0 crypt_message+0xe09/0xec0 [cifs] ? __pfx_crypt_message+0x10/0x10 [cifs] ? _raw_spin_unlock+0x23/0x40 ? __pfx_cifs_readv_from_socket+0x10/0x10 [cifs] decrypt_raw_data+0x229/0x380 [cifs] ? __pfx_decrypt_raw_data+0x10/0x10 [cifs] ? __pfx_cifs_read_iter_from_socket+0x10/0x10 [cifs] smb3_receive_transform+0x837/0xc80 [cifs] ? __pfx_smb3_receive_transform+0x10/0x10 [cifs] ? __pfx___might_resched+0x10/0x10 ? __pfx_smb3_is_transform_hdr+0x10/0x10 [cifs] cifs_demultiplex_thread+0x692/0x1570 [cifs] ? __pfx_cifs_demultiplex_thread+0x10/0x10 [cifs] ? rcu_is_watching+0x20/0x50 ? rcu_lockdep_current_cpu_online+0x62/0xb0 ? find_held_lock+0x32/0x90 ? kvm_sched_clock_read+0x11/0x20 ? local_clock_noinstr+0xd/0xd0 ? trace_irq_enable.constprop.0+0xa8/0xe0 ? __pfx_cifs_demultiplex_thread+0x10/0x10 [cifs] kthread+0x1fe/0x380 ? kthread+0x10f/0x380 ? __pfx_kthread+0x10/0x10 ? local_clock_noinstr+0xd/0xd0 ? ret_from_fork+0x1b/0x60 ? local_clock+0x15/0x30 ? lock_release+0x29b/0x390 ? rcu_is_watching+0x20/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x31/0x60 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.1.128 to before 6.1.191; 5.10.237 to before 5.11; 5.15.181 to before 5.16; 6.11.4 to before 6.12 | 6.1.191, 5.11, 5.16, 6.12 | Patch available | CNA |
| Linux | Linux | 6.12 and later | 6.1.191, 6.12.24, 6.13.12, 6.14.3, 6.15 | Patch available | CNA |
- Linux VendorLinux Affected 6.1.128 to before 6.1.191; 5.10.237 to before 5.11; 5.15.181 to before 5.16; 6.11.4 to before 6.12 Fixed in 6.1.191, 5.11, 5.16, 6.12 Patch available CNA
- Linux VendorLinux Affected 6.12 and later Fixed in 6.1.191, 6.12.24, 6.13.12, 6.14.3, 6.15 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.237 to before 5.11; 5.15.181 to before 5.16; 6.1.128 to before 6.2; 6.6.57 to before 6.7; 6.11.4 to before 6.12.24; 6.13 to before 6.13.12; 6.14 to before 6.14.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | 6.15 rc1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.10.237 to before 5.11; 5.15.181 to before 5.16; 6.1.128 to before 6.2; 6.6.57 to before 6.7; 6.11.4 to before 6.12.24; 6.13 to before 6.13.12; 6.14 to before 6.14.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* Versions 6.15 rc1 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 5.11, 5.16, 6.12
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.12.24, 6.13.12, 6.14.3, 6.15
Red Hat 3 advisories
- RHSA-2025:9393 Released 2025-06-23 · Red Hat rating Importantkpatch-patch-5_14_0-570_17_1 security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-570_17_1-1-2.el9_6
- RHSA-2025:9080 Released 2025-06-16 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-570.22.1.el9_6, kernel-64k-debug-devel-matched-5.14.0-570.22.1.el9_6, kernel-64k-devel-5.14.0-570.22.1.el9_6 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-570.22.1.el9_6, kernel-64k-5.14.0-570.22.1.el9_6, kernel-64k-core-5.14.0-570.22.1.el9_6 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-570.22.1.el9_6, libperf-5.14.0-570.22.1.el9_6
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-570.22.1.el9_6, kernel-rt-64k-5.14.0-570.22.1.el9_6, kernel-rt-64k-core-5.14.0-570.22.1.el9_6 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-570.22.1.el9_6, kernel-rt-core-5.14.0-570.22.1.el9_6, kernel-rt-debug-5.14.0-570.22.1.el9_6 +11
- RHSA-2025:9079 Released 2025-06-16 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-55.17.1.el10_0, kernel-64k-debug-devel-matched-6.12.0-55.17.1.el10_0, kernel-64k-devel-6.12.0-55.17.1.el10_0 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-55.17.1.el10_0, kernel-64k-6.12.0-55.17.1.el10_0, kernel-64k-core-6.12.0-55.17.1.el10_0 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-55.17.1.el10_0, libperf-6.12.0-55.17.1.el10_0
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-55.17.1.el10_0, kernel-rt-64k-6.12.0-55.17.1.el10_0, kernel-rt-64k-core-6.12.0-55.17.1.el10_0 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-55.17.1.el10_0, kernel-rt-core-6.12.0-55.17.1.el10_0, kernel-rt-debug-6.12.0-55.17.1.el10_0 +11
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:9079 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:9080 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2025:9079 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:9080, RHSA-2025:9393 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2025:9079 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2025:9080 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2025:9079 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2025:9080 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2025:9079 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2025:9080 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-37750
- 2026-10-03 Alias added: GHSA-r3p6-jggx-m3qg
- 2026-10-21 Fix available: Linux/Linux@08160de2a65227e5b64fcb6765cd936ec384ee93 · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/Linux@4e94c8cc7fa220ac50d6a3ce9a63d227696c95b8, Linux/[email protected] · CNA
- 2026-10-30 1 new reference · CNA
References
Patch 4
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-37750 · CVE Program
- CVE-2025-37750 · NVD
- FIRST EPSS
- GHSA-r3p6-jggx-m3qg · GitHub Advisory Database · CC BY 4.0
- CVE-2025-37750 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences