{"id":"CVE-2026-89750","aliases":["CVE-2026-89750"],"related":[],"kind":"vulnerability","state":"published","title":"tracing/user_events: Clear copied tracing state before fork duplication","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/user_events: Clear copied tracing state before fork duplication\n\ndup_task_struct() copies user_event_mm from the parent into the child,\nwithout grabbing a reference to it. user_event_mm_dup() should\nreplace it, but it leaves that copied pointer unmodified if\nuser_event_mm_alloc() fails.\n\nWhen the child exits, user_event_mm_remove() decrements a reference\nthe child never owned, which ultimately frees user_event_mm, while\nthe parent still as a stale pointer to it. This creates a UAF, which\nKASAN reports as:\n\n    BUG: KASAN: slab-use-after-free in\n    current_user_event_mm+0x51/0x1d0 Write of size 4 at addr\n    ffff888005010d30 by task init/44\n\n    Call Trace:\n     <TASK>\n     kasan_report+0xce/0x100\n     kasan_check_range+0x10f/0x1e0\n     current_user_event_mm+0x51/0x1d0\n     user_events_ioctl+0x82e/0x15c0\n     __x64_sys_ioctl+0x139/0x1c0\n     do_syscall_64+0xce/0x450\n     entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n    Allocated by task 44:\n     __kasan_kmalloc+0x8f/0xa0\n     __kmalloc_cache_noprof+0x180/0x3a0\n     user_event_mm_alloc+0x3c/0x1f0\n     current_user_event_mm+0x88/0x1d0\n\n    Freed by task 42:\n     __kasan_slab_free+0x43/0x70\n     kfree+0x13a/0x390\n     process_one_work+0x696/0xf90\n     worker_thread+0x420/0xba0\n\nThe fix simply clears the copied pointer before any possible failure.\nIn case of failure, the child then has nothing to free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/user_events: Clear copied tracing state before fork duplication\n\ndup_task_struct() copies user_event_mm from the parent into the child,\nwithout grabbing a reference to it. user_event_mm_dup() should\nreplace it, but it leaves that copied pointer unmodified if\nuser_event_mm_alloc() fails.\n\nWhen the child exits, user_event_mm_remove() decrements a reference\nthe child never owned, which ultimately frees user_event_mm, while\nthe parent still as a stale pointer to it. This creates a UAF, which\nKASAN reports as:\n\n    BUG: KASAN: slab-use-after-free in\n    current_user_event_mm+0x51/0x1d0 Write of size 4 at addr\n    ffff888005010d30 by task init/44\n\n    Call Trace:\n     <TASK>\n     kasan_report+0xce/0x100\n     kasan_check_range+0x10f/0x1e0\n     current_user_event_mm+0x51/0x1d0\n     user_events_ioctl+0x82e/0x15c0\n     __x64_sys_ioctl+0x139/0x1c0\n     do_syscall_64+0xce/0x450\n     entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n    Allocated by task 44:\n     __kasan_kmalloc+0x8f/0xa0\n     __kmalloc_cache_noprof+0x180/0x3a0\n     user_event_mm_alloc+0x3c/0x1f0\n     current_user_event_mm+0x88/0x1d0\n\n    Freed by task 42:\n     __kasan_slab_free+0x43/0x70\n     kfree+0x13a/0x390\n     process_one_work+0x696/0xf90\n     worker_thread+0x420/0xba0\n\nThe fix simply clears the copied pointer before any possible failure.\nIn case of failure, the child then has nothing to free.","source":"cvelist"}],"published":"2026-09-11T19:46:54.565Z","modified":"2026-10-19T09:18:17.987Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7235759084a4f8524a46bd2638885ff3b34ce279","fixed":"33ce55b368b64d65941867add00e7f288cbb8234","status":"affected"},{"type":"git","introduced":"7235759084a4f8524a46bd2638885ff3b34ce279","fixed":"63b39e49a4c9d68e010e96b26fc7374f0864f2b1","status":"affected"},{"type":"git","introduced":"7235759084a4f8524a46bd2638885ff3b34ce279","fixed":"25a0758cf6bdbfddac2be71124c9bd0692f4b0b1","status":"affected"},{"type":"git","introduced":"7235759084a4f8524a46bd2638885ff3b34ce279","fixed":"b799f67119aff179719a0b1e12441ebbdaaf62f9","status":"affected"},{"type":"git","introduced":"7235759084a4f8524a46bd2638885ff3b34ce279","fixed":"390f6bd8583d177029d9df4bea6667509e55a765","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/33ce55b368b64d65941867add00e7f288cbb8234","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63b39e49a4c9d68e010e96b26fc7374f0864f2b1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25a0758cf6bdbfddac2be71124c9bd0692f4b0b1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b799f67119aff179719a0b1e12441ebbdaaf62f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/390f6bd8583d177029d9df4bea6667509e55a765","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89750","url":"https://www.cve.org/CVERecord?id=CVE-2026-89750","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:04.079Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89750","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89750","licence":"Public domain","modified":"2026-10-19T09:18:17.987Z"}],"updatedAt":"2026-11-25T22:59:38.136Z","epss":{"score":0.00163,"percentile":0.05744,"date":"2026-12-01T12:00:22.000Z"}}