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

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/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.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2025-05-01T14:09:27.722Z
- Modified: 2026-06-17T05:19:10.367Z
- Weaknesses: CWE-362
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 7491e2c442781a1860181adb5ab472a52075f393 before 7291dec4f2d17a2d3fd1f789fb41e58476539f21; from 7491e2c442781a1860181adb5ab472a52075f393 before 73f5191467ffe3af82f27fe0ea6a8c2fac724d3f; from 7491e2c442781a1860181adb5ab472a52075f393 before 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26; 5.15 (not affected: before 5.15; from 5.15.80 up to 5.15.*; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.15 before 5.15.80; from 5.16 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/7291dec4f2d17a2d3fd1f789fb41e58476539f21> (patch)
- <https://git.kernel.org/stable/c/73f5191467ffe3af82f27fe0ea6a8c2fac724d3f> (patch)
- <https://git.kernel.org/stable/c/94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26> (patch)

## Sources

- CVE List: [CVE-2022-49798](https://www.cve.org/CVERecord?id=CVE-2022-49798), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49798](https://nvd.nist.gov/vuln/detail/CVE-2022-49798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49798 · Whole record: https://cve.day/CVE-2022-49798.json · Rebuilt by cve.day 2026-11-25T22:58:20.875Z
