5.5medium
x86/kprobes: Update kcb status flag after singlestepping
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: x86/kprobes: Update kcb status flag after singlestepping Fix kprobes to update kcb (kprobes control block) status flag to KPROBE_HIT_SSDONE even if the kp->post_handler is not set. This bug may cause a kernel panic if another INT3 user runs right after kprobes because kprobe_int3_handler() misunderstands the INT3 is kprobe's single stepping INT3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ba7d1dae9fe866abe74bb1e849fb85983b7c4c37 before edc2ac7c7265b33660fa0190898966b49966b855, from 6256e668b7af9d81472e03c6a171630c08f8858a before 1cbf3882cb372bbe752efd7c3045ca1c9ab40ac6, from 6256e668b7af9d81472e03c6a171630c08f8858a before b9c3401f7cac6ae291a16784dadcd1bf116218fe, from 6256e668b7af9d81472e03c6a171630c08f8858a before 663cdda2716b70751df9c7e60b81bd0850fdfe3c, from 6256e668b7af9d81472e03c6a171630c08f8858a before dec8784c9088b131a1523f582c2194cfc8107dc0, 5.13 Not affected: before 5.13, from 5.15.61 up to 5.15.*, from 5.18.18 up to 5.18.*, from 5.19.2 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 5.13 before 5.15.61, from 5.16 before 5.18.18, from 5.19 before 5.19.2 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: x86/kprobes: Update kcb status flag after singlestepping Fix kprobes to update kcb (kprobes control block) status flag to KPROBE_HIT_SSDONE even if the kp->post_handler is not set. This bug may cause a kernel panic if another INT3 user runs right after kprobes because kprobe_int3_handler() misunderstands the INT3 is kprobe's single stepping INT3.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/kprobes: Actualización del indicador de estado de kcb tras el paso único. Se corrigió que kprobes actualizara el indicador de estado de kcb (bloque de control de kprobes) a KPROBE_HIT_SSDONE incluso si kp->post_handler no está configurado. Este error puede causar un pánico del kernel si otro usuario INT3 se ejecuta justo después de kprobes, ya que kprobe_int3_handler() malinterpreta que INT3 es el INT3 de paso único de kprobe.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50096 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50096 changed 2026-06-17 | Public domain |