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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38581— crypto: ccp - Fix crash when rebind ccp device for ccp.ko

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于crypto: ccp模块在重新绑定设备时可能导致空指针取消引用。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 20

VendorProduct Version RangeStatus
Linux Linux 3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< a25ab6dfa0ce323ec308966988be6b675eb9d3e5 affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< ce63a83925964ab7564bd216bd92b80bc365492e affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< 20c0ed8dd65834e6bab464f54cd6ff68659bacb9 affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< 2d4060f05e74dbee884ba723f6afd9282befc3c5 affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< db111468531777cac8b4beb6515a88a54b0c4a74 affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< 9dea08eac4f6d6fbbae59992978252e2edab995d affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< 6eadf50c1d894cb34f3237064063207460946040 affected
3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0< 64ec9a7e7a6398b172ab6feba60e952163a1c3d5 affected
… +12 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38581

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
crypto: ccp - Fix crash when rebind ccp device for ccp.ko
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix crash when rebind ccp device for ccp.ko When CONFIG_CRYPTO_DEV_CCP_DEBUGFS is enabled, rebinding the ccp device causes the following crash: $ echo '0000:0a:00.2' > /sys/bus/pci/drivers/ccp/unbind $ echo '0000:0a:00.2' > /sys/bus/pci/drivers/ccp/bind [ 204.976930] BUG: kernel NULL pointer dereference, address: 0000000000000098 [ 204.978026] #PF: supervisor write access in kernel mode [ 204.979126] #PF: error_code(0x0002) - not-present page [ 204.980226] PGD 0 P4D 0 [ 204.981317] Oops: Oops: 0002 [#1] SMP NOPTI ... [ 204.997852] Call Trace: [ 204.999074] <TASK> [ 205.000297] start_creating+0x9f/0x1c0 [ 205.001533] debugfs_create_dir+0x1f/0x170 [ 205.002769] ? srso_return_thunk+0x5/0x5f [ 205.004000] ccp5_debugfs_setup+0x87/0x170 [ccp] [ 205.005241] ccp5_init+0x8b2/0x960 [ccp] [ 205.006469] ccp_dev_init+0xd4/0x150 [ccp] [ 205.007709] sp_init+0x5f/0x80 [ccp] [ 205.008942] sp_pci_probe+0x283/0x2e0 [ccp] [ 205.010165] ? srso_return_thunk+0x5/0x5f [ 205.011376] local_pci_probe+0x4f/0xb0 [ 205.012584] pci_device_probe+0xdb/0x230 [ 205.013810] really_probe+0xed/0x380 [ 205.015024] __driver_probe_device+0x7e/0x160 [ 205.016240] device_driver_attach+0x2f/0x60 [ 205.017457] bind_store+0x7c/0xb0 [ 205.018663] drv_attr_store+0x28/0x40 [ 205.019868] sysfs_kf_write+0x5f/0x70 [ 205.021065] kernfs_fop_write_iter+0x145/0x1d0 [ 205.022267] vfs_write+0x308/0x440 [ 205.023453] ksys_write+0x6d/0xe0 [ 205.024616] __x64_sys_write+0x1e/0x30 [ 205.025778] x64_sys_call+0x16ba/0x2150 [ 205.026942] do_syscall_64+0x56/0x1e0 [ 205.028108] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 205.029276] RIP: 0033:0x7fbc36f10104 [ 205.030420] Code: 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 8d 05 e1 08 2e 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 f3 c3 66 90 41 54 55 49 89 d4 53 48 89 f5 This patch sets ccp_debugfs_dir to NULL after destroying it in ccp5_debugfs_destroy, allowing the directory dentry to be recreated when rebinding the ccp device. Tested on AMD Ryzen 7 1700X.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于crypto: ccp模块在重新绑定设备时可能导致空指针取消引用。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 3cdbe346ed3f380eae1cb3e9febfe703e7d8a7b0 ~ a25ab6dfa0ce323ec308966988be6b675eb9d3e5 -
Linux Linux 4.13 -

II. Public POCs for CVE-2025-38581

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38581

请登录查看更多情报信息。

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

CVE-2025-38561 9.8 CRITICAL ksmbd: fix Preauh_HashValue race condition
CVE-2025-38566 9.8 CRITICAL sunrpc: fix handling of server side tls alerts
CVE-2025-38560 9.3 CRITICAL x86/sev: Evict cache lines during SNP memory validation
CVE-2025-38601 8.8 HIGH wifi: ath11k: clear initialized flag for deinit-ed srng lists
CVE-2025-38600 8.8 HIGH wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan()
CVE-2025-38599 8.8 HIGH wifi: mt76: mt7996: Fix possible OOB access in mt7996_tx()
CVE-2025-38592 8.8 HIGH Bluetooth: hci_devcd_dump: fix out-of-bounds via dev_coredumpv
CVE-2025-38608 8.6 HIGH bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
CVE-2025-38574 8.6 HIGH pptp: ensure minimal skb length in pptp_xmit()
CVE-2025-38571 8.2 HIGH sunrpc: fix client side handling of tls alerts
CVE-2025-38615 7.8 HIGH fs/ntfs3: cancle set bad inode after removing name fails
CVE-2025-38579 7.8 HIGH f2fs: fix KMSAN uninit-value in extent_info usage
CVE-2025-38604 7.8 HIGH wifi: rtl818x: Kill URBs before clearing tx status queue
CVE-2025-38607 7.8 HIGH bpf: handle jset (if a & b ...) as a jump in CFG computation
CVE-2025-38614 7.8 HIGH eventpoll: Fix semi-unbounded recursion
CVE-2025-38593 7.8 HIGH Bluetooth: hci_sync: fix double free in 'hci_discovery_filter_clear()'
CVE-2025-38586 7.8 HIGH bpf, arm64: Fix fp initialization for exception boundary
CVE-2025-38582 7.8 HIGH RDMA/hns: Fix double destruction of rsv_qp
CVE-2025-38580 7.8 HIGH ext4: fix inode use after free in ext4_end_io_rsv_work()
CVE-2025-38555 7.8 HIGH usb: gadget : fix use-after-free in composite_dev_cleanup()

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-38581

No comments yet


Leave a comment