What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.80, 6.0.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49798 or the next vulnerability affects your stack