{"id":"CVE-2022-49798","summary":"tracing: Fix race where eprobes can be called before the event","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix race where eprobes can be called before the event\n\nThe flag that tells the event to call its triggers after reading the event\nis set for eprobes after the eprobe is enabled. This leads to a race where\nthe eprobe may be triggered at the beginning of the event where the record\ninformation is NULL. The eprobe then dereferences the NULL record causing\na NULL kernel pointer bug.\n\nTest for a NULL record to keep this from happening.","modified":"2026-04-02T08:27:56.454678Z","published":"2025-05-01T14:09:27.722Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49798.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7291dec4f2d17a2d3fd1f789fb41e58476539f21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73f5191467ffe3af82f27fe0ea6a8c2fac724d3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49798.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49798"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7491e2c442781a1860181adb5ab472a52075f393"},{"fixed":"7291dec4f2d17a2d3fd1f789fb41e58476539f21"},{"fixed":"73f5191467ffe3af82f27fe0ea6a8c2fac724d3f"},{"fixed":"94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49798.json"}}],"schema_version":"1.7.5"}