Bug 2363490 (CVE-2022-49798) - CVE-2022-49798 kernel: tracing: Fix race where eprobes can be called before the event
Summary: CVE-2022-49798 kernel: tracing: Fix race where eprobes can be called before t...
Keywords:
Status: NEW
Alias: CVE-2022-49798
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:06 UTC by OSIDB Bzimport
Modified: 2025-05-02 06:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:06:53 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 06:15:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050125-CVE-2022-49798-7e07@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.