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-38438

MEDIUM 5.5EPSS 11%

ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak.

Mitigation

  • Upgrade Linux to 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e or later.

Who should check

  • Anyone running Linux >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 58ecf51af12cb32b890858b52b2c34e80590c74a; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e
  • Anyone running Linux 5.2

Vulnerability facts

Affected
Linux >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 58ecf51af12cb32b890858b52b2c34e80590c74a; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e; Linux 5.2
Fixed in
Linux 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f, Linux 58ecf51af12cb32b890858b52b2c34e80590c74a, Linux 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak. sof_pdata->tplg_filename can have address allocated by kstrdup() and can be overwritten. Memory leak was detected with kmemleak: unreferenced object 0xffff88812391ff60 (size 16): comm "kworker/4:1", pid 161, jiffies 4294802931 hex dump (first 16 bytes): 73 6f 66 2d 68 64 61 2d 67 65 6e 65 72 69 63 00 sof-hda-generic. backtrace (crc 4bf1675c): __kmalloc_node_track_caller_noprof+0x49c/0x6b0 kstrdup+0x46/0xc0 hda_machine_select.cold+0x1de/0x12cf [snd_sof_intel_hda_generic] sof_init_environment+0x16f/0xb50 [snd_sof] sof_probe_continue+0x45/0x7c0 [snd_sof] sof_probe_work+0x1e/0x40 [snd_sof] process_one_work+0x894/0x14b0 worker_thread+0x5e5/0xfb0 kthread+0x39d/0x760 ret_from_fork+0x31/0x70 ret_from_fork_asm+0x1a/0x30

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 58ecf51af12cb32b890858b52b2c34e80590c74a; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e—cvelist
Linux5.2—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-38438. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38438.md
Affected: Linux >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 58ecf51af12cb32b890858b52b2c34e80590c74a; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e; Linux 5.2
Fixed in: Linux 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f, Linux 58ecf51af12cb32b890858b52b2c34e80590c74a, Linux 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e

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-38438 being exploited?

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

How serious is CVE-2025-38438?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38438?

Linux >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 58ecf51af12cb32b890858b52b2c34e80590c74a; >= dd96daca6c83ecaf37f38ff49d8d174bbff576b4, < 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e; Linux 5.2.

Is there a fix for CVE-2025-38438?

Yes. Fixed in Linux 68397fda2caa90e99a7c0bcb2cf604e42ef3b91f, Linux 58ecf51af12cb32b890858b52b2c34e80590c74a, Linux 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e. Upgrade Linux to 6c038b58a2dc5a008c7e7a1297f5aaa4deaaaa7e or later.

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

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