# CVE-2022-49782: perf: Improve missing SIGTRAP checking

> 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, NVD) `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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-674
- **Published:** 2025-05-01T14:09:16.430Z
- **Modified:** 2026-11-05T20:17:10.980Z

## Who should check

- Anyone running Linux \>= ca7b0a10287e2733bdafb01ef0d4038536625fe3, \< 35c60b4e8ca76712dd03bafe2598e31578248916; \>= 078c12ccf1fb943cc18c84894c76113dc89e5975, \< b09221f1b4944d2866d06ac35e59d7a6f8916c9f; \>= ca6c21327c6af02b7eec31ce4b9a740a18c6c13f, \< bb88f9695460bec25aa30ba9072595025cf6c8af
- Anyone running Linux \>= 5.15.77, \< 5.15.80; \>= 6.0.7, \< 6.0.10

## Description

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

perf: Improve missing SIGTRAP checking

To catch missing SIGTRAP we employ a WARN in \_\_perf\_event\_overflow(),
which fires if pending\_sigtrap was already set: returning to user space
without consuming pending\_sigtrap, and then having the event fire again
would re-enter the kernel and trigger the WARN.

This, however, seemed to miss the case where some events not associated
with progress in the user space task can fire and the interrupt handler
runs before the IRQ work meant to consume pending\_sigtrap (and generate
the SIGTRAP).

syzbot gifted us this stack trace:

 \| WARNING: CPU: 0 PID: 3607 at kernel/events/core.c:9313 \_\_perf\_event\_overflow
 \| Modules linked in:
 \| CPU: 0 PID: 3607 Comm: syz-executor100 Not tainted 6.1.0-rc2-syzkaller-00073-g88619e77b33d \#0
 \| Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
 \| RIP: 0010:\_\_perf\_event\_overflow+0x498/0x540 kernel/events/core.c:9313
 \| \<...\>
 \| Call Trace:
 \|  \<TASK\>
 \|  perf\_swevent\_hrtimer+0x34f/0x3c0 kernel/events/core.c:10729
 \|  \_\_run\_hrtimer kernel/time/hrtimer.c:1685 \[inline\]
 \|  \_\_hrtimer\_run\_queues+0x1c6/0xfb0 kernel/time/hrtimer.c:1749
 \|  hrtimer\_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 \|  local\_apic\_timer\_interrupt arch/x86/kernel/apic/apic.c:1096 \[inline\]
 \|  \_\_sysvec\_apic\_timer\_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113
 \|  sysvec\_apic\_timer\_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1107
 \|  asm\_sysvec\_apic\_timer\_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
 \| \<...\>
 \|  \</TASK\>

In this case, syzbot produced a program with event type
PERF\_TYPE\_SOFTWARE and config PERF\_COUNT\_SW\_CPU\_CLOCK. The hrtimer
manages to fire again before the IRQ work got a chance to run, all while
never having returned to user space.

Improve the WARN to check for real progress in user space: approximate
this by storing a 32-bit hash of the current IP into pending\_sigtrap,
and if an event fires while pending\_sigtrap still matches the previous
IP, we assume no progress (false negatives are possible given we could
return to user space and trigger again on the same IP).

## Affected and fixed versions

- Linux: \>= ca7b0a10287e2733bdafb01ef0d4038536625fe3, \< 35c60b4e8ca76712dd03bafe2598e31578248916; \>= 078c12ccf1fb943cc18c84894c76113dc89e5975, \< b09221f1b4944d2866d06ac35e59d7a6f8916c9f; \>= ca6c21327c6af02b7eec31ce4b9a740a18c6c13f, \< bb88f9695460bec25aa30ba9072595025cf6c8af (cvelist)
- Linux: \>= 5.15.77, \< 5.15.80; \>= 6.0.7, \< 6.0.10 (cvelist)

## Mitigation

- Upgrade Linux to 6.0.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49782.md
Affected: Linux >= ca7b0a10287e2733bdafb01ef0d4038536625fe3, < 35c60b4e8ca76712dd03bafe2598e31578248916; >= 078c12ccf1fb943cc18c84894c76113dc89e5975, < b09221f1b4944d2866d06ac35e59d7a6f8916c9f; >= ca6c21327c6af02b7eec31ce4b9a740a18c6c13f, < bb88f9695460bec25aa30ba9072595025cf6c8af; Linux >= 5.15.77, < 5.15.8…
Fixed in: Linux 35c60b4e8ca76712dd03bafe2598e31578248916, Linux 5.15.80, Linux 6.0.10

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-2022-49782 being exploited?

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

### How serious is CVE-2022-49782?

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

### Which versions are affected by CVE-2022-49782?

Linux \>= ca7b0a10287e2733bdafb01ef0d4038536625fe3, \< 35c60b4e8ca76712dd03bafe2598e31578248916; \>= 078c12ccf1fb943cc18c84894c76113dc89e5975, \< b09221f1b4944d2866d06ac35e59d7a6f8916c9f; \>= ca6c21327c6af02b7eec31ce4b9a740a18c6c13f, \< bb88f9695460bec25aa30ba9072595025cf6c8af; Linux \>= 5.15.77, \< 5.15.80; \>= 6.0.7, \< 6.0.10.

### Is there a fix for CVE-2022-49782?

Yes. Fixed in Linux 35c60b4e8ca76712dd03bafe2598e31578248916, Linux 5.15.80, Linux 6.0.10. Upgrade Linux to 6.0.10 or later.

### How do I check if I'm affected by CVE-2022-49782?

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/35c60b4e8ca76712dd03bafe2598e31578248916>
- patch: <https://git.kernel.org/stable/c/b09221f1b4944d2866d06ac35e59d7a6f8916c9f>
- patch: <https://git.kernel.org/stable/c/bb88f9695460bec25aa30ba9072595025cf6c8af>

## 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-2022-49782>

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