Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-38523— cifs: Fix the smbd_response slab to allow usercopy

EPSS 0.02% · P4
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-38523

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cifs: Fix the smbd_response slab to allow usercopy
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the smbd_response slab to allow usercopy The handling of received data in the smbdirect client code involves using copy_to_iter() to copy data from the smbd_reponse struct's packet trailer to a folioq buffer provided by netfslib that encapsulates a chunk of pagecache. If, however, CONFIG_HARDENED_USERCOPY=y, this will result in the checks then performed in copy_to_iter() oopsing with something like the following: CIFS: Attempting to mount //172.31.9.1/test CIFS: VFS: RDMA transport established usercopy: Kernel memory exposure attempt detected from SLUB object 'smbd_response_0000000091e24ea1' (offset 81, size 63)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:102! ... RIP: 0010:usercopy_abort+0x6c/0x80 ... Call Trace: <TASK> __check_heap_object+0xe3/0x120 __check_object_size+0x4dc/0x6d0 smbd_recv+0x77f/0xfe0 [cifs] cifs_readv_from_socket+0x276/0x8f0 [cifs] cifs_read_from_socket+0xcd/0x120 [cifs] cifs_demultiplex_thread+0x7e9/0x2d50 [cifs] kthread+0x396/0x830 ret_from_fork+0x2b8/0x3b0 ret_from_fork_asm+0x1a/0x30 The problem is that the smbd_response slab's packet field isn't marked as being permitted for usercopy. Fix this by passing parameters to kmem_slab_create() to indicate that copy_to_iter() is permitted from the packet region of the smbd_response slab objects, less the header space.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于cifs smbd_response slab未允许用户拷贝,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux ee4cdf7ba857a894ad1650d6ab77669cbbfa329e ~ 87dcc7e33fc3dcb8ed32333cec016528b5bb6ce4 -
LinuxLinux 6.12 -

II. Public POCs for CVE-2025-38523

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38523

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-08-16 · 59 CVEs total

CVE-2025-38519mm/damon: fix divide by zero in damon_get_intervals_score()
CVE-2025-38507HID: nintendo: avoid bluetooth suspend/resume stalls
CVE-2025-38504io_uring/zcrx: fix pp destruction warnings
CVE-2025-38505wifi: mwifiex: discard erroneous disassoc frames on STA interface
CVE-2025-38506KVM: Allow CPU to reschedule while setting per-page memory attributes
CVE-2025-38503btrfs: fix assertion when building free space tree
CVE-2025-38515drm/sched: Increment job count before swapping tail spsc queue
CVE-2025-38516pinctrl: qcom: msm: mark certain pins as invalid for interrupts
CVE-2025-38517lib/alloc_tag: do not acquire non-existent lock in alloc_tag_top_users()
CVE-2025-38518x86/CPU/AMD: Disable INVLPGB on Zen2
CVE-2025-38514rxrpc: Fix oops due to non-existence of prealloc backlog struct
CVE-2025-38520drm/amdkfd: Don't call mmput from MMU notifier callback
CVE-2025-38521drm/imagination: Fix kernel crash when hard resetting the GPU
CVE-2025-38522sched/ext: Prevent update_locked_rq() calls with NULL rq
CVE-2025-38524rxrpc: Fix recv-recv race of completed call
CVE-2025-38525rxrpc: Fix irq-disabled in local_bh_enable()
CVE-2025-38526ice: add NULL check in eswitch lag check
CVE-2025-38527smb: client: fix use-after-free in cifs_oplock_break
CVE-2025-38528bpf: Reject %p% format string in bprintf-like helpers
CVE-2025-38529comedi: aio_iiro_16: Fix bit shift out of bounds

Showing top 20 of 59 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38523

No comments yet


Leave a comment