# CVE-2022-49798: tracing: Fix race where eprobes can be called before the event

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-05-01T14:09:27.722Z
- **Modified:** 2026-06-17T05:19:10.367Z

## Who should check

- Anyone running Linux \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 7291dec4f2d17a2d3fd1f789fb41e58476539f21; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26
- Anyone running Linux 5.15

## Description

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

tracing: Fix race where eprobes can be called before the event

The flag that tells the event to call its triggers after reading the event
is set for eprobes after the eprobe is enabled. This leads to a race where
the eprobe may be triggered at the beginning of the event where the record
information is NULL. The eprobe then dereferences the NULL record causing
a NULL kernel pointer bug.

Test for a NULL record to keep this from happening.

## Affected and fixed versions

- Linux: \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 7291dec4f2d17a2d3fd1f789fb41e58476539f21; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26 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-49798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49798.md
Affected: Linux >= 7491e2c442781a1860181adb5ab472a52075f393, < 7291dec4f2d17a2d3fd1f789fb41e58476539f21; >= 7491e2c442781a1860181adb5ab472a52075f393, < 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f; >= 7491e2c442781a1860181adb5ab472a52075f393, < 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26; Linux 5.15
Fixed in: Linux 7291dec4f2d17a2d3fd1f789fb41e58476539f21, Linux 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f, Linux 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26

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-49798 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 7291dec4f2d17a2d3fd1f789fb41e58476539f21; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f; \>= 7491e2c442781a1860181adb5ab472a52075f393, \< 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26; Linux 5.15.

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

Yes. Fixed in Linux 7291dec4f2d17a2d3fd1f789fb41e58476539f21, Linux 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f, Linux 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26. Upgrade Linux to 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26 or later.

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

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/7291dec4f2d17a2d3fd1f789fb41e58476539f21>
- patch: <https://git.kernel.org/stable/c/73f5191467ffe3af82f27fe0ea6a8c2fac724d3f>
- patch: <https://git.kernel.org/stable/c/94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26>

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

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