{"id":"CVE-2026-139186","aliases":["CVE-2026-139186"],"related":[],"kind":"vulnerability","state":"published","title":"gtp: hold RCU in gtp_genl_send_echo_req()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngtp: hold RCU in gtp_genl_send_echo_req()\n\nSuch function is invoked in process context, performs an RCU device\nlookup and dereference the found device with no additional protection.\n\n  =============================\n  WARNING: suspicious RCU usage\n  7.3.0-virtme #7 Not tainted\n  -----------------------------\n  net/core/dev.c:1047 RCU-list traversed in non-reader section!!\n\n  other info that might help us debug this:\n\n  rcu_scheduler_active = 2, debug_locks = 1\n  locks held by python3/233: 2, last CPU#5:\n   #0: ffffffffbab93268 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40\n   #1: ffffffffbab93320 (genl_mutex){+.+.}-{4:4}, at:\n                                                genl_rcv_msg+0x12c/0x160\n\n  stack backtrace:\n  CPU: 5 UID: 0 PID: 233 Comm: python3 Not tainted 7.3.0#7 PREEMPT(full)\n  Hardware name: Bochs, BIOS Bochs 01/01/2011\n  Call Trace:\n   <TASK>\n   dump_stack_lvl+0x6f/0xb0\n   lockdep_rcu_suspicious.cold+0x37/0x8e\n   dev_get_by_index_rcu+0x135/0x180\n   gtp_find_dev+0xe7/0x360 [gtp]\n   gtp_genl_send_echo_req+0x298/0xb30 [gtp]\n   genl_family_rcv_msg_doit+0x20f/0x310\n   genl_family_rcv_msg+0x3a8/0x640\n   genl_rcv_msg+0xbb/0x160\n   netlink_rcv_skb+0x154/0x3a0\n   genl_rcv+0x28/0x40\n   netlink_unicast+0x54b/0x860\n   netlink_sendmsg+0x7fb/0xf60\n   __sys_sendto+0x3d6/0x450\n   __x64_sys_sendto+0xe4/0x1f0\n   do_syscall_64+0xff/0x530\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n  RIP: 0033:0x7ffa43b0256e\n  Code: 4d 89 d8 e8 d4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83\n   f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 <c9> c3 83 e2 39\n   83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa\n  RSP: 002b:00007ffd3b8828d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c\n  RAX: ffffffffffffffda RBX: 00007ffd3b8829e0 RCX: 00007ffa43b0256e\n  RDX: 0000000000000034 RSI: 00007ffa3519d0d0 RDI: 0000000000000006\n  RBP: 00007ffd3b8828e0 R08: 0000000000000000 R09: 0000000000000000\n  R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffa351cc0c0\n  R13: 00007ffd3b8829e0 R14: 00007ffa354ca130 R15: 00007ffa4433d498\n   </TASK>\n\nAdd the missing RCU guards and keep it for the whole function body,\nwhile the RCU-protected device is used.\n\nFound by code inspection, validated explicitly testing the relevant\ncode path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngtp: hold RCU in gtp_genl_send_echo_req()\n\nSuch function is invoked in process context, performs an RCU device\nlookup and dereference the found device with no additional protection.\n\n  =============================\n  WARNING: suspicious RCU usage\n  7.3.0-virtme #7 Not tainted\n  -----------------------------\n  net/core/dev.c:1047 RCU-list traversed in non-reader section!!\n\n  other info that might help us debug this:\n\n  rcu_scheduler_active = 2, debug_locks = 1\n  locks held by python3/233: 2, last CPU#5:\n   #0: ffffffffbab93268 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40\n   #1: ffffffffbab93320 (genl_mutex){+.+.}-{4:4}, at:\n                                                genl_rcv_msg+0x12c/0x160\n\n  stack backtrace:\n  CPU: 5 UID: 0 PID: 233 Comm: python3 Not tainted 7.3.0#7 PREEMPT(full)\n  Hardware name: Bochs, BIOS Bochs 01/01/2011\n  Call Trace:\n   <TASK>\n   dump_stack_lvl+0x6f/0xb0\n   lockdep_rcu_suspicious.cold+0x37/0x8e\n   dev_get_by_index_rcu+0x135/0x180\n   gtp_find_dev+0xe7/0x360 [gtp]\n   gtp_genl_send_echo_req+0x298/0xb30 [gtp]\n   genl_family_rcv_msg_doit+0x20f/0x310\n   genl_family_rcv_msg+0x3a8/0x640\n   genl_rcv_msg+0xbb/0x160\n   netlink_rcv_skb+0x154/0x3a0\n   genl_rcv+0x28/0x40\n   netlink_unicast+0x54b/0x860\n   netlink_sendmsg+0x7fb/0xf60\n   __sys_sendto+0x3d6/0x450\n   __x64_sys_sendto+0xe4/0x1f0\n   do_syscall_64+0xff/0x530\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n  RIP: 0033:0x7ffa43b0256e\n  Code: 4d 89 d8 e8 d4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83\n   f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 <c9> c3 83 e2 39\n   83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa\n  RSP: 002b:00007ffd3b8828d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c\n  RAX: ffffffffffffffda RBX: 00007ffd3b8829e0 RCX: 00007ffa43b0256e\n  RDX: 0000000000000034 RSI: 00007ffa3519d0d0 RDI: 0000000000000006\n  RBP: 00007ffd3b8828e0 R08: 0000000000000000 R09: 0000000000000000\n  R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffa351cc0c0\n  R13: 00007ffd3b8829e0 R14: 00007ffa354ca130 R15: 00007ffa4433d498\n   </TASK>\n\nAdd the missing RCU guards and keep it for the whole function body,\nwhile the RCU-protected device is used.\n\nFound by code inspection, validated explicitly testing the relevant\ncode path.","source":"cvelist"}],"published":"2026-11-30T13:32:22.594Z","modified":"2026-11-30T14:18:37.920Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d33bd757d362699cfce3c68b53cd12b947d196f4","fixed":"770d7adc1afbf186d26351e2dbed4ade23bbb456","status":"affected"},{"type":"git","introduced":"d33bd757d362699cfce3c68b53cd12b947d196f4","fixed":"3801c65ceb3769e53d38b9cde52cdc7106bfdf42","status":"affected"},{"type":"git","introduced":"d33bd757d362699cfce3c68b53cd12b947d196f4","fixed":"f7a089beb0e5d533d280ed6811d0273406817d58","status":"affected"},{"type":"git","introduced":"d33bd757d362699cfce3c68b53cd12b947d196f4","fixed":"d1ee3d3fc55fdef6f56570dd2a889a2470041880","status":"affected"},{"type":"git","introduced":"d33bd757d362699cfce3c68b53cd12b947d196f4","fixed":"a204e9c001dfafe83cac01b16508b1cf5c953355","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/770d7adc1afbf186d26351e2dbed4ade23bbb456","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3801c65ceb3769e53d38b9cde52cdc7106bfdf42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7a089beb0e5d533d280ed6811d0273406817d58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1ee3d3fc55fdef6f56570dd2a889a2470041880","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a204e9c001dfafe83cac01b16508b1cf5c953355","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139186","url":"https://www.cve.org/CVERecord?id=CVE-2026-139186","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:22.594Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139186","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139186","licence":"Public domain","modified":"2026-11-30T14:18:37.920Z"}],"updatedAt":"2026-11-30T14:33:00.046Z","epss":{"score":0.00201,"percentile":0.10525,"date":"2026-12-01T12:00:22.000Z"}}