CVE-2026-74477 (GCVE-0-2026-74477)
Vulnerability from cvelistv5
Published
2026-08-15 12:27
Modified
2026-08-17 05:20
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
uprobes: Fix NULL pointer dereference in hprobe_expire()
Forking a task that has a pending uretprobe can oops the kernel with a
NULL pointer dereference in the clone() path:
BUG: kernel NULL pointer dereference, address: 0000000000000018
Oops: 0002 [#1] SMP NOPTI
RIP: 0010:hprobe_expire
CR2: 0000000000000018
Call Trace:
uprobe_copy_process
copy_process
kernel_clone
__x64_sys_clone
do_syscall_64
entry_SYSCALL_64_after_hwframe
This was found on real hosts on Meta fleet.
I've got the impression that this is what is happening:
CPU 1 CPU 2 (traced task)
----- -------------------
hit uprobe, prepare_uretprobe():
hprobe LEASED, refcount >= 1
uprobe_unregister()
put_uprobe(): refcount -> 0
fork() -> dup_utask()
hprobe_expire(hprobe, true)
try_get_uprobe() -> NULL
get_uprobe(NULL) <-- Oops
Only take the extra reference when the uprobe is non-NULL; a NULL means
it is gone and is the correct value to return.
References
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/events/uprobes.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3bd35a5e272a1b7a3fb43acad9bdc599281b13fa",
"status": "affected",
"version": "dd1a7567784e2b1f80258be04f57bcfa82c997eb",
"versionType": "git"
},
{
"lessThan": "06c275a6c0a953ef1d763d11a6891fcc69ae2ac0",
"status": "affected",
"version": "dd1a7567784e2b1f80258be04f57bcfa82c997eb",
"versionType": "git"
},
{
"lessThan": "cc679d7a6303e84d769f2afcde1fc51c51f127cd",
"status": "affected",
"version": "dd1a7567784e2b1f80258be04f57bcfa82c997eb",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/events/uprobes.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.13"
},
{
"lessThan": "6.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.44",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.8",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.44",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.8",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nuprobes: Fix NULL pointer dereference in hprobe_expire()\n\nForking a task that has a pending uretprobe can oops the kernel with a\nNULL pointer dereference in the clone() path:\n\n BUG: kernel NULL pointer dereference, address: 0000000000000018\n Oops: 0002 [#1] SMP NOPTI\n RIP: 0010:hprobe_expire\n CR2: 0000000000000018\n Call Trace:\n uprobe_copy_process\n copy_process\n kernel_clone\n __x64_sys_clone\n do_syscall_64\n entry_SYSCALL_64_after_hwframe\n\nThis was found on real hosts on Meta fleet.\n\nI\u0027ve got the impression that this is what is happening:\n\n CPU 1 CPU 2 (traced task)\n ----- -------------------\n hit uprobe, prepare_uretprobe():\n hprobe LEASED, refcount \u003e= 1\n uprobe_unregister()\n put_uprobe(): refcount -\u003e 0\n fork() -\u003e dup_utask()\n hprobe_expire(hprobe, true)\n try_get_uprobe() -\u003e NULL\n get_uprobe(NULL) \u003c-- Oops\n\nOnly take the extra reference when the uprobe is non-NULL; a NULL means\nit is gone and is the correct value to return."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:20:09.952Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/3bd35a5e272a1b7a3fb43acad9bdc599281b13fa"
},
{
"url": "https://git.kernel.org/stable/c/06c275a6c0a953ef1d763d11a6891fcc69ae2ac0"
},
{
"url": "https://git.kernel.org/stable/c/cc679d7a6303e84d769f2afcde1fc51c51f127cd"
}
],
"title": "uprobes: Fix NULL pointer dereference in hprobe_expire()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74477",
"datePublished": "2026-08-15T12:27:11.938Z",
"dateReserved": "2026-08-15T05:44:03.903Z",
"dateUpdated": "2026-08-17T05:20:09.952Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…