tracing: Fix race where eprobes can be called before the event
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.80, 6.0.10
- CVEs
- CVE-2022-49798
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:28 UTC · Revision 1
Source evidence
tracing: Fix race where eprobes can be called before the event
core-osv · Original sourcePublished 1 May 2025, 14:09 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.
osv:CVE-2022-49798
Kernel
Fixed versions: 5.15.80, 6.0.10
Complete source record
{
"id": "6961789d93f213e00cf3df33fec32cb2370207d781a28cd4db6e08763a223887",
"url": "https://osv.dev/vulnerability/CVE-2022-49798",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "tracing: Fix race where eprobes can be called before the event",
"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.",
"evidence": "osv:CVE-2022-49798",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.80",
"evidence": "/affected/1/ranges"
},
{
"value": "6.0.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-49798",
"aliases": [
"CVE-2022-49798"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "5.15.80"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.0.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49798.json"
}
}
],
"modified": "2026-10-28T02:30:22.454634340Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7291dec4f2d17a2d3fd1f789fb41e58476539f21",
"https://git.kernel.org/stable/c/73f5191467ffe3af82f27fe0ea6a8c2fac724d3f",
"https://git.kernel.org/stable/c/94eedf3dded5fb472ce97bfaf3ac1c6c29c35d26",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49798.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49798",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49798.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49798",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 488445,
"published_at": "2025-05-01T14:09:27.722+00:00"
}