{"id":"CVE-2026-74477","aliases":["CVE-2026-74477"],"related":[],"kind":"vulnerability","state":"published","title":"uprobes: Fix NULL pointer dereference in hprobe_expire()","summary":"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've 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 >= 1\n  uprobe_unregister()\n    put_uprobe(): refcount -> 0\n                                 fork() -> dup_utask()\n                                   hprobe_expire(hprobe, true)\n                                     try_get_uprobe() -> NULL\n                                     get_uprobe(NULL)   <-- 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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've 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 >= 1\n  uprobe_unregister()\n    put_uprobe(): refcount -> 0\n                                 fork() -> dup_utask()\n                                   hprobe_expire(hprobe, true)\n                                     try_get_uprobe() -> NULL\n                                     get_uprobe(NULL)   <-- 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.","source":"cvelist"}],"published":"2026-08-15T12:27:11.938Z","modified":"2026-08-17T06:19:43.777Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd1a7567784e2b1f80258be04f57bcfa82c997eb","fixed":"3bd35a5e272a1b7a3fb43acad9bdc599281b13fa","status":"affected"},{"type":"git","introduced":"dd1a7567784e2b1f80258be04f57bcfa82c997eb","fixed":"06c275a6c0a953ef1d763d11a6891fcc69ae2ac0","status":"affected"},{"type":"git","introduced":"dd1a7567784e2b1f80258be04f57bcfa82c997eb","fixed":"cc679d7a6303e84d769f2afcde1fc51c51f127cd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3bd35a5e272a1b7a3fb43acad9bdc599281b13fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06c275a6c0a953ef1d763d11a6891fcc69ae2ac0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc679d7a6303e84d769f2afcde1fc51c51f127cd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74477","url":"https://www.cve.org/CVERecord?id=CVE-2026-74477","licence":"CVE Terms of Use","modified":"2026-08-17T05:20:09.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74477","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74477","licence":"Public domain","modified":"2026-08-17T06:19:43.777Z"}],"updatedAt":"2026-11-25T22:59:33.227Z","epss":{"score":0.00166,"percentile":0.0614,"date":"2026-12-01T12:00:22.000Z"}}