Skip to content

[New Rule] Linux Kernel TCP UAF RCE (CVE-2026-98432) - Kernel Thread Shell Spawn or Stack Fault #7108

Open

Description

@itsnsmyk

Description

Detects post-exploitation command execution spawned by Linux kernel threads (via call_usermodehelper callback overwrite) or kernel TCP/IPv4 option memory corruption associated with CVE-2026-98432 across Ubuntu, RHEL, Debian, Oracle Linux, Amazon Linux, and SUSE.

Target Ruleset

linux

Target Rule Type

Custom (KQL or Lucene)

Tested ECS Version

9.5.0

Query

"query": "host.os.type : "linux" and host.os.platform : ("ubuntu" or "rhel" or "debian" or "ol" or "amzn" or "sles" or "opensuse-leap" or "sle-micro") and ((event.category : "process" and event.type : "start" and process.parent.name : ("kthreadd" or kworker* or "ksoftirqd*") and (process.name : ("sh" or "bash" or "dash" or "python3" or "curl" or "wget" or "nc" or "socat") or process.executable : ("/tmp/" or "/dev/shm/" or "/var/tmp/*")) and not process.executable : ("/sbin/modprobe" or "/usr/sbin/modprobe" or "/lib/systemd/systemd-cgroups-agent" or "/usr/lib/systemd/systemd-cgroups-agent")) or (message : (use-after-free or general protection fault or Unable to handle kernel) and message : (tcp_v4_ or ip_options_ or inet_csk_ or mptcp_)))"

New fields required in ECS/data sources for this rule?

NA

Related issues or PRs

NA

References

https://thehackernews.com/2026/10/linux-kernel-tcp-flaw-with-98-cvss.html?m=1

Redacted Example Data

{
"@timestamp": "2026-10-29T16:41:05.102Z",
"ecs": {
"version": "8.11.0"
},
"event": {
"kind": "event",
"category": [
"host"
],
"type": [
"info"
],
"module": "system",
"dataset": "system.syslog"
},
"host": {
"name": "rhel9-edge-proxy-02",
"hostname": "rhel9-edge-proxy-02",
"ip": [
"10.24.18.112"
],
"os": {
"type": "linux",
"platform": "rhel",
"family": "redhat",
"name": "Red Hat Enterprise Linux",
"version": "9.4 (Plow)",
"kernel": "5.14.0-427.35.1.el9_4.x86_64"
}
},
"process": {
"name": "kernel"
},
"log": {
"syslog": {
"facility": {
"code": 0,
"name": "kernel"
},
"severity": {
"code": 2,
"name": "critical"
}
}
},
"message": "kernel: [842913.441892] BUG: KASAN: slab-use-after-free in ip_options_echo+0x1a4/0x490 [ Call Trace: tcp_v4_send_synack+0x8e/0x130 tcp_conn_request+0x6b2/0x9d0 mptcp_conn_request+0x74/0x110 tcp_rcv_state_process+0x1f8/0xd60 tcp_v4_do_rcv+0x106/0x290 tcp_v4_rcv+0xb4c/00 ]"
}

Activity

  1. added
    Rule: New
    on Oct 29, 2026
  2. itsnsmyk commented on Nov 17, 2026

    @itsnsmyk
    Author

    Hi @eric-forte-elastic , just following up on this PR since all CI checks have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rule: NewTeam: TRADEcommunity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions