{"id":"CVE-2026-74477","summary":"uprobes: Fix NULL pointer dereference in hprobe_expire()","details":"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 \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.","modified":"2026-08-18T03:31:14.405328955Z","published":"2026-08-15T12:27:11.938Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74477.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06c275a6c0a953ef1d763d11a6891fcc69ae2ac0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3bd35a5e272a1b7a3fb43acad9bdc599281b13fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc679d7a6303e84d769f2afcde1fc51c51f127cd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74477.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74477"},{"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":"dd1a7567784e2b1f80258be04f57bcfa82c997eb"},{"fixed":"3bd35a5e272a1b7a3fb43acad9bdc599281b13fa"},{"fixed":"06c275a6c0a953ef1d763d11a6891fcc69ae2ac0"},{"fixed":"cc679d7a6303e84d769f2afcde1fc51c51f127cd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74477.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74477.json"}}],"schema_version":"1.9.0"}