Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39857

HIGH 7.5EPSS 43%

net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 0cdf1fd8fc59d44a48c694324611136910301ef9; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < f18d9b3abf9c6587372cc702f963a7592277ed56; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < eb929910bd4b4165920fa06a87b22cc6cae92e0e; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 34f17cbe027050b8d5316ea1b6f9bd7c378e92de; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < ba1e9421cf1a8369d25c3832439702a015d6b5f9
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 0cdf1fd8fc59d44a48c694324611136910301ef9; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < f18d9b3abf9c6587372cc702f963a7592277ed56; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < eb929910bd4b4165920fa06a87b22cc6cae92e0e; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 34f17cbe027050b8d5316ea1b6f9bd7c378e92de; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < ba1e9421cf1a8369d25c3832439702a015d6b5f9; Linux 6.0
Fixed in
Linux 0cdf1fd8fc59d44a48c694324611136910301ef9, Linux 34f17cbe027050b8d5316ea1b6f9bd7c378e92de
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.61% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync() BUG: kernel NULL pointer dereference, address: 00000000000002ec PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP PTI CPU: 28 UID: 0 PID: 343 Comm: kworker/28:1 Kdump: loaded Tainted: G OE 6.17.0-rc2+ #9 NONE Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014 Workqueue: smc_hs_wq smc_listen_work [smc] RIP: 0010:smc_ib_is_sg_need_sync+0x9e/0xd0 [smc] ... Call Trace: <TASK> smcr_buf_map_link+0x211/0x2a0 [smc] __smc_buf_create+0x522/0x970 [smc] smc_buf_create+0x3a/0x110 [smc] smc_find_rdma_v2_device_serv+0x18f/0x240 [smc] ? smc_vlan_by_tcpsk+0x7e/0xe0 [smc] smc_listen_find_device+0x1dd/0x2b0 [smc] smc_listen_work+0x30f/0x580 [smc] process_one_work+0x18c/0x340 worker_thread+0x242/0x360 kthread+0xe7/0x220 ret_from_fork+0x13a/0x160 ret_from_fork_asm+0x1a/0x30 </TASK> If the software RoCE device is used, ibdev->dma_device is a null pointer. As a result, the problem occurs. Null pointer detection is added to prevent problems.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 0cdf1fd8fc59d44a48c694324611136910301ef9; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < f18d9b3abf9c6587372cc702f963a7592277ed56; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < eb929910bd4b4165920fa06a87b22cc6cae92e0e; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 34f17cbe027050b8d5316ea1b6f9bd7c378e92de; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < ba1e9421cf1a8369d25c3832439702a015d6b5f9—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39857. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39857.md
Affected: Linux >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 0cdf1fd8fc59d44a48c694324611136910301ef9; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < f18d9b3abf9c6587372cc702f963a7592277ed56; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < eb929910bd4b4165920fa06a87b22cc6cae92e0e; >= 0ef69e788411cba2af017db…
Fixed in: Linux 0cdf1fd8fc59d44a48c694324611136910301ef9, Linux 34f17cbe027050b8d5316ea1b6f9bd7c378e92de

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39857 being exploited?

There is no confirmed exploitation: CVE-2025-39857 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39857?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-39857?

Linux >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 0cdf1fd8fc59d44a48c694324611136910301ef9; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < f18d9b3abf9c6587372cc702f963a7592277ed56; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < eb929910bd4b4165920fa06a87b22cc6cae92e0e; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < 34f17cbe027050b8d5316ea1b6f9bd7c378e92de; >= 0ef69e788411cba2af017db731a9fc62d255e9ac, < ba1e9421cf1a8369d25c3832439702a015d6b5f9; Linux 6.0.

Is there a fix for CVE-2025-39857?

Yes. Fixed in Linux 0cdf1fd8fc59d44a48c694324611136910301ef9, Linux 34f17cbe027050b8d5316ea1b6f9bd7c378e92de. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-39857?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors