CyberSecBulletin
CVE-2025-37750NVD status: Modified

Linux: Use After Free

CVE-2025-37750 is a high-severity use after free vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 4e94c8cc7fa220ac50d6a3ce9a63d227696c95b8, 08160de2a65227e5b64fcb6765cd936ec384ee93, aa5a1e4b882964eb79d5b5d1d1e8a1a5efbb1d15 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.5% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 4e94c8cc7fa220ac50d6a3ce9a63d227696c95b8 or 08160de2a65227e5b64fcb6765cd936ec384ee93 or aa5a1e4b882964eb79d5b5d1d1e8a1a5efbb1d15 or e859b216d94668bc66330e61be201234f4413d1a, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.11 or 5.16 or 6.2 or 6.7, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinuxbce966530fd5542bbb422cb45ecb775f7a1a6bc3 up to, but not including, 4e94c8cc7fa220ac50d6a3ce9a63d227696c95b8; c8c6af46286a513769650935ff858fc67cf51a6d up to, but not including, 08160de2a65227e5b64fcb6765cd936ec384ee93; b0abcd65ec545701b8793e12bc27dc98042b151a up to, but not including, aa5a1e4b882964eb79d5b5d1d1e8a1a5efbb1d15; b0abcd65ec545701b8793e12bc27dc98042b151a up to, but not including, e859b216d94668bc66330e61be201234f4413d1a; b0abcd65ec545701b8793e12bc27dc98042b151a up to, but not including, 950557922c1298464749c216d8763e97faf5d0a6; b0abcd65ec545701b8793e12bc27dc98042b151a up to, but not including, 9502dd5c7029902f4a425bf959917a5a9e7c0e50; 8f14a476abba13144df5434871a7225fd29af633; ef51c0d544b1518b35364480317ab6d3468f205d; and 7 more ranges4e94c8cc7fa220ac50d6a3ce9a63d227696c95b8, 08160de2a65227e5b64fcb6765cd936ec384ee93, aa5a1e4b882964eb79d5b5d1d1e8a1a5efbb1d15, e859b216d94668bc66330e61be201234f4413d1a, 950557922c1298464749c216d8763e97faf5d0a6, 9502dd5c7029902f4a425bf959917a5a9e7c0e50
LinuxLinux Kernel5.10.237 up to, but not including, 5.11; 5.15.181 up to, but not including, 5.16; 6.1.128 up to, but not including, 6.2; 6.6.57 up to, but not including, 6.7; 6.11.4 up to, but not including, 6.12.24; 6.13 up to, but not including, 6.13.12; 6.14 up to, but not including, 6.14.3; 6.155.11, 5.16, 6.2, 6.7, 6.12.24, 6.13.12

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.8CriticalCNA
CVSS 3.17.8HighNVD

Official description

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>

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

More Use After Free vulnerabilities (CWE-416)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Use After Free vulnerabilities

Spotted an error? Tell us.