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

HIGH 7.8EPSS 16%

perf: Fix sample vs do_exit()

Mitigation

  • Upgrade Linux to 4f6fc782128355931527cefe3eb45338abd8ab39 or later.

Who should check

  • Anyone running Linux >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 507c9a595bad3abd107c6a8857d7fd125d89f386; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < a9f6aab7910a0ef2895797f15c947f6d1053160f; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 975ffddfa2e19823c719459d2364fcaa17673964; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 456019adaa2f5366b89c868dea9b483179bece54; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7311970d07c4606362081250da95f2c7901fc0db; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 4f6fc782128355931527cefe3eb45338abd8ab39
  • Anyone running Linux 3.7

Vulnerability facts

Affected
Linux >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 507c9a595bad3abd107c6a8857d7fd125d89f386; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < a9f6aab7910a0ef2895797f15c947f6d1053160f; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 975ffddfa2e19823c719459d2364fcaa17673964; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 456019adaa2f5366b89c868dea9b483179bece54; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7311970d07c4606362081250da95f2c7901fc0db; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 4f6fc782128355931527cefe3eb45338abd8ab39; Linux 3.7
Fixed in
Linux 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e, Linux 507c9a595bad3abd107c6a8857d7fd125d89f386, Linux 975ffddfa2e19823c719459d2364fcaa17673964, Linux 2ee6044a693735396bb47eeaba1ac3ae26c1c99b, Linux 456019adaa2f5366b89c868dea9b483179bece54, Linux 7311970d07c4606362081250da95f2c7901fc0db, Linux 4f6fc782128355931527cefe3eb45338abd8ab39
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: perf: Fix sample vs do_exit() Baisheng Gao reported an ARM64 crash, which Mark decoded as being a synchronous external abort -- most likely due to trying to access MMIO in bad ways. The crash further shows perf trying to do a user stack sample while in exit_mmap()'s tlb_finish_mmu() -- i.e. while tearing down the address space it is trying to access. It turns out that we stop perf after we tear down the userspace mm; a receipie for disaster, since perf likes to access userspace for various reasons. Flip this order by moving up where we stop perf in do_exit(). Additionally, harden PERF_SAMPLE_CALLCHAIN and PERF_SAMPLE_STACK_USER to abort when the current task does not have an mm (exit_mm() makes sure to set current->mm = NULL; before commencing with the actual teardown). Such that CPU wide events don't trip on this same problem.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 507c9a595bad3abd107c6a8857d7fd125d89f386; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < a9f6aab7910a0ef2895797f15c947f6d1053160f; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 975ffddfa2e19823c719459d2364fcaa17673964; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 456019adaa2f5366b89c868dea9b483179bece54; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7311970d07c4606362081250da95f2c7901fc0db; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 4f6fc782128355931527cefe3eb45338abd8ab39—cvelist
Linux3.7—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-38424. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38424.md
Affected: Linux >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 507c9a595bad3abd107c6a8857d7fd125d89f386; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < a9f6aab7910a0ef2895797f15c947f6d1053160f; >= c5ebcedb566ef17bda7b026…
Fixed in: Linux 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e, Linux 507c9a595bad3abd107c6a8857d7fd125d89f386, Linux 975ffddfa2e19823c719459d2364fcaa17673964, Linux 2ee6044a693735396bb47eeaba1ac3ae26c1c99b, Linux 456019adaa2f5366b89c868dea9b483179bece54, Linux 7311970d07c4606362081250da95f2c7901fc0db, Linux 4f6fc…

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

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

How serious is CVE-2025-38424?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38424?

Linux >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 507c9a595bad3abd107c6a8857d7fd125d89f386; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < a9f6aab7910a0ef2895797f15c947f6d1053160f; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 975ffddfa2e19823c719459d2364fcaa17673964; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 456019adaa2f5366b89c868dea9b483179bece54; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 7311970d07c4606362081250da95f2c7901fc0db; >= c5ebcedb566ef17bda7b02686e0d658a7bb42ee7, < 4f6fc782128355931527cefe3eb45338abd8ab39; Linux 3.7.

Is there a fix for CVE-2025-38424?

Yes. Fixed in Linux 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e, Linux 507c9a595bad3abd107c6a8857d7fd125d89f386, Linux 975ffddfa2e19823c719459d2364fcaa17673964, Linux 2ee6044a693735396bb47eeaba1ac3ae26c1c99b, Linux 456019adaa2f5366b89c868dea9b483179bece54, Linux 7311970d07c4606362081250da95f2c7901fc0db, Linux 4f6fc782128355931527cefe3eb45338abd8ab39. Upgrade Linux to 4f6fc782128355931527cefe3eb45338abd8ab39 or later.

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

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