# CVE-2026-97443: perf/ftrace: Fix WARNING in \_\_unregister\_ftrace\_function

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-24T16:03:57.790Z
- **Modified:** 2026-09-25T13:17:28.023Z

## Who should check

- Anyone running Linux \>= 7ef5aa081f989ecfecc1df02068a80aebbd3ec31, \< df097713b56ffac5eed32a9be2e7d27ac48d9087; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 7f845820afaad339341c2ae42bc7fdec175df9ea; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 9581123304b23049437324038698af9fb56ee663; 315a50c6b1c6ce191f19f3372935d8e2ed9b53a6; 1209b0b29fd472e7dbd2b06544b019dd9f9b7e51; \>= 6.12.24, \< 6.12.111; \>= 6.13.12, \< 6.14; \>= 6.14.3, \< 6.15
- Anyone running Linux 6.15

## Description

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

perf/ftrace: Fix WARNING in \_\_unregister\_ftrace\_function

perf\_ftrace\_function\_unregister() unconditionally calls
unregister\_ftrace\_function() without checking whether the ftrace\_ops
was ever successfully registered. This triggers a WARN\_ON in
\_\_unregister\_ftrace\_function() when the ops doesn't have
FTRACE\_OPS\_FL\_ENABLED set.

This can happen during perf\_event\_alloc() error cleanup when
perf\_trace\_destroy() is called via \_\_free\_event() on an event whose
ftrace\_ops registration failed or was already torn down by
perf\_try\_init\_event()'s err\_destroy path.

The call path is:
  perf\_event\_alloc() error cleanup
    -\> \_\_free\_event()
      -\> event-\>destroy() \[tp\_perf\_event\_destroy\]
        -\> perf\_trace\_destroy()
          -\> perf\_trace\_event\_close()
            -\> TRACE\_REG\_PERF\_CLOSE
              -\> perf\_ftrace\_function\_unregister()
                -\> unregister\_ftrace\_function()
                  -\> \_\_unregister\_ftrace\_function()
                    -\> WARN\_ON(!(ops-\>flags & FTRACE\_OPS\_FL\_ENABLED))

Fix this by checking FTRACE\_OPS\_FL\_ENABLED before attempting to
unregister. If the ops is not enabled, just free the filter and
return success.

## Affected and fixed versions

- Linux: \>= 7ef5aa081f989ecfecc1df02068a80aebbd3ec31, \< df097713b56ffac5eed32a9be2e7d27ac48d9087; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 7f845820afaad339341c2ae42bc7fdec175df9ea; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 9581123304b23049437324038698af9fb56ee663; 315a50c6b1c6ce191f19f3372935d8e2ed9b53a6; 1209b0b29fd472e7dbd2b06544b019dd9f9b7e51; \>= 6.12.24, \< 6.12.111; \>= 6.13.12, \< 6.14; \>= 6.14.3, \< 6.15 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97443.md
Affected: Linux >= 7ef5aa081f989ecfecc1df02068a80aebbd3ec31, < df097713b56ffac5eed32a9be2e7d27ac48d9087; >= c70ca298036c58a88686ff388d3d367e9d21acf0, < 7f845820afaad339341c2ae42bc7fdec175df9ea; >= c70ca298036c58a88686ff388d3d367e9d21acf0, < 9581123304b23049437324038698af9fb56ee663; 315a50c6b1c6ce191f19f33729…
Fixed in: Linux 7f845820afaad339341c2ae42bc7fdec175df9ea, Linux 9581123304b23049437324038698af9fb56ee663, Linux 6.12.111, Linux 6.14, Linux 6.15

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-2026-97443 being exploited?

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

### How serious is CVE-2026-97443?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97443?

Linux \>= 7ef5aa081f989ecfecc1df02068a80aebbd3ec31, \< df097713b56ffac5eed32a9be2e7d27ac48d9087; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 7f845820afaad339341c2ae42bc7fdec175df9ea; \>= c70ca298036c58a88686ff388d3d367e9d21acf0, \< 9581123304b23049437324038698af9fb56ee663; 315a50c6b1c6ce191f19f3372935d8e2ed9b53a6; 1209b0b29fd472e7dbd2b06544b019dd9f9b7e51; \>= 6.12.24, \< 6.12.111; \>= 6.13.12, \< 6.14; \>= 6.14.3, \< 6.15; Linux 6.15.

### Is there a fix for CVE-2026-97443?

Yes. Fixed in Linux 7f845820afaad339341c2ae42bc7fdec175df9ea, Linux 9581123304b23049437324038698af9fb56ee663, Linux 6.12.111, Linux 6.14, Linux 6.15. Upgrade Linux to 6.15 or later.

### How do I check if I'm affected by CVE-2026-97443?

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

- other: <https://git.kernel.org/stable/c/df097713b56ffac5eed32a9be2e7d27ac48d9087>
- other: <https://git.kernel.org/stable/c/7f845820afaad339341c2ae42bc7fdec175df9ea>
- other: <https://git.kernel.org/stable/c/9581123304b23049437324038698af9fb56ee663>

## 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-2026-97443>

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