{"id":"CVE-2026-74471","aliases":["CVE-2026-74471"],"related":[],"kind":"vulnerability","state":"published","title":"tracing: Check return value of __register_event() in trace_module_add_events()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Check return value of __register_event() in trace_module_add_events()\n\ntrace_module_add_events() ignores the return value of __register_event()\nand unconditionally calls __add_event_to_tracers() for each event.\n\nIf __register_event() fails (for example, if event_init() fails), the\ntrace_event_call is not added to ftrace_events list, but\n__add_event_to_tracers() still creates a trace_event_file pointing to it.\nIf module loading subsequently fails and module memory is freed, tracing\nstate retains a stale trace_event_call pointer in trace_event_file,\nleading to a use-after-free when tracefs or tracing subsystem operations\nare later executed.\n\nFix this by checking the return value of __register_event() and only\ncalling __add_event_to_tracers() if event registration succeeded.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Check return value of __register_event() in trace_module_add_events()\n\ntrace_module_add_events() ignores the return value of __register_event()\nand unconditionally calls __add_event_to_tracers() for each event.\n\nIf __register_event() fails (for example, if event_init() fails), the\ntrace_event_call is not added to ftrace_events list, but\n__add_event_to_tracers() still creates a trace_event_file pointing to it.\nIf module loading subsequently fails and module memory is freed, tracing\nstate retains a stale trace_event_call pointer in trace_event_file,\nleading to a use-after-free when tracefs or tracing subsystem operations\nare later executed.\n\nFix this by checking the return value of __register_event() and only\ncalling __add_event_to_tracers() if event registration succeeded.","source":"cvelist"}],"published":"2026-08-15T12:27:08.128Z","modified":"2026-10-16T20:17:29.970Z","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":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"3bf965a2827c44f03294107703e7ba53fbd0a69a","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"9d6d79744f01eacaf3d5522f4fcd59939581abfd","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"54b7a358f6399c1242d2fb7f4f96085af34baa5e","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"d61ee2a27dfd5eb43ddc18af40168f5b9eb1cea5","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"22f954f7a8afe975e85517aff41b35defe05144b","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"cbb5ed3be9cae70e1c12b1991009b4e12bf4a4ca","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"000765dcdc3edf128990762790543adc4b868f6c","status":"affected"},{"type":"git","introduced":"ae63b31e4d0e2ec09c569306ea46f664508ef717","fixed":"ac8719969e6c3c54e939834df812bc41f25453cf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","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/3bf965a2827c44f03294107703e7ba53fbd0a69a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d6d79744f01eacaf3d5522f4fcd59939581abfd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54b7a358f6399c1242d2fb7f4f96085af34baa5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d61ee2a27dfd5eb43ddc18af40168f5b9eb1cea5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22f954f7a8afe975e85517aff41b35defe05144b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cbb5ed3be9cae70e1c12b1991009b4e12bf4a4ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/000765dcdc3edf128990762790543adc4b868f6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac8719969e6c3c54e939834df812bc41f25453cf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:57:21.390Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74471","url":"https://www.cve.org/CVERecord?id=CVE-2026-74471","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:47.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74471","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74471","licence":"Public domain","modified":"2026-10-16T20:17:29.970Z"}],"updatedAt":"2026-11-25T22:59:33.225Z","epss":{"score":0.00126,"percentile":0.0243,"date":"2026-12-01T12:00:22.000Z"}}