# CVE-2023-53557: fprobe: Release rethook after the ftrace_ops is unregistered

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-04T15:17:02.077Z
- Modified: 2026-10-15T22:17:42.753Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d before ce3ec57faff559ccae1e0150c1f077eb2df648a4; from 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d before 03d63255a5783243c110aec5e6ae2f1475c3be76; from 5b0ab78998e32564a011b14c4c7f9c81e2d42b9d before 5f81018753dfd4989e33ece1f0cb6b8aae498b82; 5.18 (not affected: before 5.18; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.18 before 6.1.40; from 6.2 before 6.4.5; 6.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ce3ec57faff559ccae1e0150c1f077eb2df648a4> (patch)
- <https://git.kernel.org/stable/c/03d63255a5783243c110aec5e6ae2f1475c3be76> (patch)
- <https://git.kernel.org/stable/c/5f81018753dfd4989e33ece1f0cb6b8aae498b82> (patch)

## Sources

- CVE List: [CVE-2023-53557](https://www.cve.org/CVERecord?id=CVE-2023-53557), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53557](https://nvd.nist.gov/vuln/detail/CVE-2023-53557), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-53557 · Whole record: https://cve.day/CVE-2023-53557.json · Rebuilt by cve.day 2026-11-25T22:58:34.938Z
