LiveActive security incident?Get immediate response
CVE Record

CVE-2025-39857: net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Linux Shared Memory Communications can crash the kernel when software RoCE is used and an expected device pointer is missing. The stated impact is service disruption, not data theft or modification. Systems using the affected networking configuration deserve prompt review; ordinary Linux systems without SMC and software RoCE appear less likely to encounter the vulnerable path.

Executive priority

Prioritize remediation on production, externally reachable, or high-availability systems using SMC with software RoCE. Handle other Linux systems through normal high-severity patching after confirming configuration and vendor status. Escalate immediately if relevant kernel crashes are observed, but do not represent the issue as actively exploited based on current evidence.

Technical view

The SMC kernel module can dereference a NULL ibdev->dma_device pointer in smc_ib_is_sg_need_sync() while mapping buffers for a software RoCE device. This produces a kernel oops and potentially a denial of service. The published correction adds NULL-pointer detection. CVSS 3.1 is 7.5: network-accessible, low complexity, no privileges or interaction, with availability impact only.

Likely exposure

Exposure is concentrated in affected Linux kernels where SMC is enabled and uses a software RoCE device. The supplied record identifies affected releases including 6.0, 6.1.151, 6.6.105, 6.12.46, 6.16.6, and 6.17. Distribution backports may change actual status, so version numbers alone are insufficient.

Exploitation context

The CVSS vector characterizes this as remotely reachable, but the supplied description does not document the exact network conditions required to trigger the crash. It provides no evidence of public exploitation, and the CVE is not listed as KEV. Treat it as a credible denial-of-service risk without claiming active exploitation.

Researcher notes

The observed fault occurs in an SMC handshake workqueue through smcr_buf_map_link() and buffer creation. The prerequisite documented by the source is a software RoCE device whose ibdev->dma_device is NULL. Multiple stable-kernel commits are referenced, suggesting branch-specific backports. The supplied material does not establish exploit reliability, affected distribution builds, or whether every listed release remains vulnerable after backporting.

Mitigation direction

  • Install a vendor-supported kernel containing the applicable upstream fix or distribution backport.
  • Prioritize systems using Linux SMC with software RoCE networking.
  • If patching is delayed, consult vendor guidance for supported ways to avoid the affected configuration.
  • Review Debian, Siemens, or other relevant vendor advisories for product-specific remediation status.

Validation and detection

  • Inventory kernel versions and determine whether SMC and software RoCE are enabled.
  • Confirm the installed kernel contains the applicable fix or vendor backport.
  • Check kernel logs for SMC-related NULL dereferences, oops events, or unexpected reboots.
  • Validate remediation in a controlled environment using normal SMC connection testing.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-39857 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
8Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2025-39857Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux0ef69e788411cba2af017db731a9fc62d255e9ac, 0ef69e788411cba2af017db731a9fc62d255e9ac, 0ef69e788411cba2af017db731a9fc62d255e9ac, 0ef69e788411cba2af017db731a9fc62d255e9ac, 0ef69e788411cba2af017db731a9fc62d255e9acunaffected
LinuxLinux6.0, 0, 6.1.151, 6.6.105, 6.12.46, 6.16.6, 6.17affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.