# CVE-2023-53557: fprobe: Release rethook after the ftrace\_ops is unregistered

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-10-04T15:17:02.077Z
- **Modified:** 2026-10-15T22:17:42.753Z

## Who should check

- Anyone running Linux \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< ce3ec57faff559ccae1e0150c1f077eb2df648a4; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 03d63255a5783243c110aec5e6ae2f1475c3be76; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 5f81018753dfd4989e33ece1f0cb6b8aae498b82
- Anyone running Linux 5.18

## Description

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

fprobe: Release rethook after the ftrace\_ops is unregistered

While running bpf selftests it's possible to get following fault:

  general protection fault, probably for non-canonical address \\
  0x6b6b6b6b6b6b6b6b: 0000 \[\#1\] PREEMPT SMP DEBUG\_PAGEALLOC NOPTI
  ...
  Call Trace:
   \<TASK\>
   fprobe\_handler+0xc1/0x270
   ? \_\_pfx\_bpf\_testmod\_init+0x10/0x10
   ? \_\_pfx\_bpf\_testmod\_init+0x10/0x10
   ? bpf\_fentry\_test1+0x5/0x10
   ? bpf\_fentry\_test1+0x5/0x10
   ? bpf\_testmod\_init+0x22/0x80
   ? do\_one\_initcall+0x63/0x2e0
   ? rcu\_is\_watching+0xd/0x40
   ? kmalloc\_trace+0xaf/0xc0
   ? do\_init\_module+0x60/0x250
   ? \_\_do\_sys\_finit\_module+0xac/0x120
   ? do\_syscall\_64+0x37/0x90
   ? entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
   \</TASK\>

In unregister\_fprobe function we can't release fp-\>rethook while it's
possible there are some of its users still running on another cpu.

Moving rethook\_free call after fp-\>ops is unregistered with
unregister\_ftrace\_function call.

## Affected and fixed versions

- Linux: \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< ce3ec57faff559ccae1e0150c1f077eb2df648a4; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 03d63255a5783243c110aec5e6ae2f1475c3be76; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 5f81018753dfd4989e33ece1f0cb6b8aae498b82 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 5f81018753dfd4989e33ece1f0cb6b8aae498b82 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53557.md
Affected: Linux >= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, < ce3ec57faff559ccae1e0150c1f077eb2df648a4; >= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, < 03d63255a5783243c110aec5e6ae2f1475c3be76; >= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, < 5f81018753dfd4989e33ece1f0cb6b8aae498b82; Linux 5.18
Fixed in: Linux 03d63255a5783243c110aec5e6ae2f1475c3be76, Linux 5f81018753dfd4989e33ece1f0cb6b8aae498b82

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-2023-53557 being exploited?

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

### How serious is CVE-2023-53557?

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

### Which versions are affected by CVE-2023-53557?

Linux \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< ce3ec57faff559ccae1e0150c1f077eb2df648a4; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 03d63255a5783243c110aec5e6ae2f1475c3be76; \>= 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d, \< 5f81018753dfd4989e33ece1f0cb6b8aae498b82; Linux 5.18.

### Is there a fix for CVE-2023-53557?

Yes. Fixed in Linux 03d63255a5783243c110aec5e6ae2f1475c3be76, Linux 5f81018753dfd4989e33ece1f0cb6b8aae498b82. Upgrade Linux to 5f81018753dfd4989e33ece1f0cb6b8aae498b82 or later.

### How do I check if I'm affected by CVE-2023-53557?

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/ce3ec57faff559ccae1e0150c1f077eb2df648a4>
- patch: <https://git.kernel.org/stable/c/03d63255a5783243c110aec5e6ae2f1475c3be76>
- patch: <https://git.kernel.org/stable/c/5f81018753dfd4989e33ece1f0cb6b8aae498b82>

## 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-2023-53557>

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