CVE-2025-40162

NULL dereference via unchecked allocation failure

Published Nov 12, 2025 · Updated May 11, 2026

A NULL pointer dereference in Linux 6.12 through 6.17.4 allows attackers an unspecified impact via memory-allocation failure. In the AMD SoundWire machine setup path, devm_kasprintf() can return NULL, but dev_dbg() dereferences cpus->dai_name before the code checks that result. Reachability requires allocation failure while sound/soc/amd/acp/acp-sdw-sof-mach.c configures the device; published records do not identify attacker control over that condition.

CVSS severityUnavailable
Unscored
EPSS probability0.18%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

A NULL pointer dereference in Linux 6.12 through 6.17.4 allows attackers an unspecified impact via memory-allocation failure. In the AMD SoundWire machine setup path, devm_kasprintf() can return NULL, but dev_dbg() dereferences cpus->dai_name before the code checks that result. Reachability requires allocation failure while sound/soc/amd/acp/acp-sdw-sof-mach.c configures the device; published records do not identify attacker control over that condition.

The record

CVE
CVE-2025-40162
Published
Nov 12, 2025
Updated
May 11, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
Unavailable
Attack vector
Unavailable
Privileges
Unavailable

Timeline

How it unfolded

  1. Nov 12, 2025CVE publishedPublication date reported by the CVE source.
  2. May 11, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=6.12
  2. Affected versionversion=cb8ea62e6402067ba092d4c1d66a9440513a572b <095d692e5997ece300c89f10d903d5230090e6a0
  3. Affected versionversion=cb8ea62e6402067ba092d4c1d66a9440513a572b <5726b68473f7153a7f6294185e5998b7e2a230a2
  4. Affected versionversion=cb8ea62e6402067ba092d4c1d66a9440513a572b <a1cccbd19676fc36854535a7118ba2c27d0b84b3

What conditions does exploitation require?

Attack vectorUnavailable in this record.
Required privilegesUnavailable in this record.

What is affected?

The Linux Kernel Organization · Linuxversion=6.12; version=cb8ea62e6402067ba092d4c1d66a9440513a572b <095d692e5997ece300c89f10d903d5230090e6a0; version=cb8ea62e6402067ba092d4c1d66a9440513a572b <5726b68473f7153a7f6294185e5998b7e2a230a2; version=cb8ea62e6402067ba092d4c1d66a9440513a572b <a1cccbd19676fc36854535a7118ba2c27d0b84b3

Published CVSS scores

No CVSS assessment is available in this record.

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
VectorUnavailable
PrivilegesUnavailable
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

No sourced classifications are available.

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo