CVE-2022-49798

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux7491e2c442781a1860181adb5ab472a52075f393 < 7291dec4f2d17a2d3fd1f789fb41e58476539f21affected
LinuxLinux7491e2c442781a1860181adb5ab472a52075f393 < 73f5191467ffe3af82f27fe0ea6a8c2fac724d3faffected
LinuxLinux7491e2c442781a1860181adb5ab472a52075f393 < 94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26affected
LinuxLinux5.15affected
LinuxLinux0 < 5.15unaffected
LinuxLinux5.15.80 <= 5.15.*unaffected
LinuxLinux6.0.10 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References