# CVE-2025-39829: trace/fgraph: Fix the warning caused by missing unregister notifier

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-16T13:00:27.154Z
- **Modified:** 2026-10-30T13:18:10.100Z

## Who should check

- Anyone running Linux \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 3cfa337c1adceda1632aefee4c3562440446ce51; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< aa977309397fe2438801b1ca1ce7bc4106d8e985; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 2a2deb9f8df70480050351ac27041f19bb9e718b; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 000aa47a51233fd38a629b029478e0278e1e9fbe; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< edede7a6dcd7435395cf757d053974aaab6ab1c2
- Anyone running Linux 2.6.30

## Description

In the Linux kernel, the following vulnerability has been resolved:

trace/fgraph: Fix the warning caused by missing unregister notifier

This warning was triggered during testing on v6.16:

notifier callback ftrace\_suspend\_notifier\_call already registered
WARNING: CPU: 2 PID: 86 at kernel/notifier.c:23 notifier\_chain\_register+0x44/0xb0
...
Call Trace:
 \<TASK\>
 blocking\_notifier\_chain\_register+0x34/0x60
 register\_ftrace\_graph+0x330/0x410
 ftrace\_profile\_write+0x1e9/0x340
 vfs\_write+0xf8/0x420
 ? filp\_flush+0x8a/0xa0
 ? filp\_close+0x1f/0x30
 ? do\_dup2+0xaf/0x160
 ksys\_write+0x65/0xe0
 do\_syscall\_64+0xa4/0x260
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

When writing to the function\_profile\_enabled interface, the notifier was
not unregistered after start\_graph\_tracing failed, causing a warning the
next time function\_profile\_enabled was written.

Fixed by adding unregister\_pm\_notifier in the exception path.

## Affected and fixed versions

- Linux: \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 3cfa337c1adceda1632aefee4c3562440446ce51; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< aa977309397fe2438801b1ca1ce7bc4106d8e985; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 2a2deb9f8df70480050351ac27041f19bb9e718b; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 000aa47a51233fd38a629b029478e0278e1e9fbe; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< edede7a6dcd7435395cf757d053974aaab6ab1c2 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39829.md
Affected: Linux >= 4a2b8dda3f8705880ec7408135645602d5590f51, < 3cfa337c1adceda1632aefee4c3562440446ce51; >= 4a2b8dda3f8705880ec7408135645602d5590f51, < aa977309397fe2438801b1ca1ce7bc4106d8e985; >= 4a2b8dda3f8705880ec7408135645602d5590f51, < 2a2deb9f8df70480050351ac27041f19bb9e718b; >= 4a2b8dda3f8705880ec7408…
Fixed in: Linux 3cfa337c1adceda1632aefee4c3562440446ce51, Linux 2a2deb9f8df70480050351ac27041f19bb9e718b, Linux 000aa47a51233fd38a629b029478e0278e1e9fbe

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.
```

## FAQ

### Is CVE-2025-39829 being exploited?

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

### How serious is CVE-2025-39829?

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

### Which versions are affected by CVE-2025-39829?

Linux \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 3cfa337c1adceda1632aefee4c3562440446ce51; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< aa977309397fe2438801b1ca1ce7bc4106d8e985; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 2a2deb9f8df70480050351ac27041f19bb9e718b; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< 000aa47a51233fd38a629b029478e0278e1e9fbe; \>= 4a2b8dda3f8705880ec7408135645602d5590f51, \< edede7a6dcd7435395cf757d053974aaab6ab1c2; Linux 2.6.30.

### Is there a fix for CVE-2025-39829?

Yes. Fixed in Linux 3cfa337c1adceda1632aefee4c3562440446ce51, Linux 2a2deb9f8df70480050351ac27041f19bb9e718b, Linux 000aa47a51233fd38a629b029478e0278e1e9fbe. No fix listed yet: follow the vendor advisory.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/2a2deb9f8df70480050351ac27041f19bb9e718b>
- patch: <https://git.kernel.org/stable/c/000aa47a51233fd38a629b029478e0278e1e9fbe>
- patch: <https://git.kernel.org/stable/c/edede7a6dcd7435395cf757d053974aaab6ab1c2>
- other: <https://git.kernel.org/stable/c/3cfa337c1adceda1632aefee4c3562440446ce51>
- other: <https://git.kernel.org/stable/c/aa977309397fe2438801b1ca1ce7bc4106d8e985>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39829>

HTML: <https://flawdb.com/CVE-2025-39829> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39829>
