GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-80850 (GCVE-0-2026-80850)

Vulnerability from cvelistv5 – Published: 2026-09-04 15:55 – Updated: 2026-09-04 15:55
VLAI
Title
tcp: fix AO info use-after-free in tcp_ao_connect_init()
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: fix AO info use-after-free in tcp_ao_connect_init() tcp_v4_connect() adds a SYN-SENT socket to the ehash before calling tcp_connect(). If TCP-AO is configured, tcp_connect() first verifies that a key matches the peer and the bound device's current L3 master. tcp_ao_connect_init() later resolves the L3 master again and removes keys which do not match it. The socket lock does not stabilize the bound device's VRF membership. Detaching the device from its VRF between the initial validation and the L3-master calculation in tcp_ao_connect_init() can therefore make the validation succeed while initialization observes the default L3 domain and removes the only key. The subsequent AO lookup then fails, so the no-key path clears tp->ao_info and frees it directly. The receive path can find the socket in the ehash and load tp->ao_info under RCU before acquiring the socket lock. A reader which loaded the old pointer can thus continue into tcp_inbound_ao_hash() after the direct free. The issue was found during a static audit of TCP-AO object lifetime. An unprivileged reproducer in self-created user and network namespaces raced connect() with detaching a veth from its VRF while sending TCP-AO segments. It triggered the same KASAN report on two fresh boots: BUG: KASAN: slab-use-after-free in tcp_inbound_ao_hash+0x585/0x19f0 Write of size 8 at addr ffff88800bf88128 by task tcp_ao_vrf_race/232 Call Trace: tcp_inbound_ao_hash+0x585/0x19f0 tcp_inbound_hash+0x677/0xa80 tcp_v4_rcv+0x1c3e/0x3ab0 Allocated by task 235: tcp_ao_alloc_info+0x43/0xf0 tcp_ao_add_cmd+0xdf7/0x13b0 do_tcp_setsockopt+0x168c/0x2640 Freed by task 235: kfree+0x1b8/0x550 tcp_connect+0x252/0x4f00 tcp_v4_connect+0x1114/0x1720 The bad address is 40 bytes inside the freed 128-byte object, matching the tcp_ao_info counters.key_not_found field. The two runs used 1000 attempts each, reached the no-key path 366 and 411 times, and produced one and two KASAN reports respectively. With this change, the same reproducer reached the no-key path 366 times in 1000 attempts without a KASAN report or oops. Use tcp_ao_destroy_sock() for the no-key path. It unpublishes the AO info, updates the socket memory and static-key accounting, and defers the free until after an RCU grace period. Also drop the WARN_ON_ONCE() and its stale comment. The VRF detach race makes the no-key state reachable during normal operation, so it is a handled condition rather than an impossible assertion. On panic_on_warn kernels the WARN would turn this handled race into a kernel panic.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 248411b8cb8974a1e1c8e43123c1e682fbd64969 , < 594ba77210a1f065832211851a2d7e14d11fcbdb (git)
Affected: 248411b8cb8974a1e1c8e43123c1e682fbd64969 , < 70051a57786d5b23f059fbaf5c8241eca14d42ed (git)
Affected: 248411b8cb8974a1e1c8e43123c1e682fbd64969 , < 284d7fd0eec8774bd6214921fbf525cf907c590e (git)
Affected: 248411b8cb8974a1e1c8e43123c1e682fbd64969 , < d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd (git)
Affected: 248411b8cb8974a1e1c8e43123c1e682fbd64969 , < ea30dc5267e367b8a5e1e06cc074f813bcbf18b2 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 6.12.108 , ≤ 6.12.* (semver)
Unaffected: 6.18.49 , ≤ 6.18.* (semver)
Unaffected: 7.1.13 , ≤ 7.1.* (semver)
Unaffected: 7.2.3 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/tcp_ao.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "594ba77210a1f065832211851a2d7e14d11fcbdb",
              "status": "affected",
              "version": "248411b8cb8974a1e1c8e43123c1e682fbd64969",
              "versionType": "git"
            },
            {
              "lessThan": "70051a57786d5b23f059fbaf5c8241eca14d42ed",
              "status": "affected",
              "version": "248411b8cb8974a1e1c8e43123c1e682fbd64969",
              "versionType": "git"
            },
            {
              "lessThan": "284d7fd0eec8774bd6214921fbf525cf907c590e",
              "status": "affected",
              "version": "248411b8cb8974a1e1c8e43123c1e682fbd64969",
              "versionType": "git"
            },
            {
              "lessThan": "d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd",
              "status": "affected",
              "version": "248411b8cb8974a1e1c8e43123c1e682fbd64969",
              "versionType": "git"
            },
            {
              "lessThan": "ea30dc5267e367b8a5e1e06cc074f813bcbf18b2",
              "status": "affected",
              "version": "248411b8cb8974a1e1c8e43123c1e682fbd64969",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/tcp_ao.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.108",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.49",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.108",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.49",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.13",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.3",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix AO info use-after-free in tcp_ao_connect_init()\n\ntcp_v4_connect() adds a SYN-SENT socket to the ehash before calling\ntcp_connect().  If TCP-AO is configured, tcp_connect() first verifies that\na key matches the peer and the bound device\u0027s current L3 master.\ntcp_ao_connect_init() later resolves the L3 master again and removes keys\nwhich do not match it.\n\nThe socket lock does not stabilize the bound device\u0027s VRF membership.\nDetaching the device from its VRF between the initial validation and the\nL3-master calculation in tcp_ao_connect_init() can therefore make the\nvalidation succeed while initialization observes the default L3 domain and\nremoves the only key.  The subsequent AO lookup then fails, so the no-key\npath clears tp-\u003eao_info and frees it directly.\n\nThe receive path can find the socket in the ehash and load tp-\u003eao_info\nunder RCU before acquiring the socket lock.  A reader which loaded the old\npointer can thus continue into tcp_inbound_ao_hash() after the direct free.\n\nThe issue was found during a static audit of TCP-AO object lifetime.  An\nunprivileged reproducer in self-created user and network namespaces raced\nconnect() with detaching a veth from its VRF while sending TCP-AO segments.\nIt triggered the same KASAN report on two fresh boots:\n\n  BUG: KASAN: slab-use-after-free in tcp_inbound_ao_hash+0x585/0x19f0\n  Write of size 8 at addr ffff88800bf88128 by task tcp_ao_vrf_race/232\n\n  Call Trace:\n   tcp_inbound_ao_hash+0x585/0x19f0\n   tcp_inbound_hash+0x677/0xa80\n   tcp_v4_rcv+0x1c3e/0x3ab0\n\n  Allocated by task 235:\n   tcp_ao_alloc_info+0x43/0xf0\n   tcp_ao_add_cmd+0xdf7/0x13b0\n   do_tcp_setsockopt+0x168c/0x2640\n\n  Freed by task 235:\n   kfree+0x1b8/0x550\n   tcp_connect+0x252/0x4f00\n   tcp_v4_connect+0x1114/0x1720\n\nThe bad address is 40 bytes inside the freed 128-byte object, matching the\ntcp_ao_info counters.key_not_found field.  The two runs used 1000 attempts\neach, reached the no-key path 366 and 411 times, and produced one and two\nKASAN reports respectively.  With this change, the same reproducer reached\nthe no-key path 366 times in 1000 attempts without a KASAN report or oops.\n\nUse tcp_ao_destroy_sock() for the no-key path.  It unpublishes the AO info,\nupdates the socket memory and static-key accounting, and defers the free\nuntil after an RCU grace period.\n\nAlso drop the WARN_ON_ONCE() and its stale comment.  The VRF detach race\nmakes the no-key state reachable during normal operation, so it is a\nhandled condition rather than an impossible assertion.  On panic_on_warn\nkernels the WARN would turn this handled race into a kernel panic."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:55:00.588Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/594ba77210a1f065832211851a2d7e14d11fcbdb"
        },
        {
          "url": "https://git.kernel.org/stable/c/70051a57786d5b23f059fbaf5c8241eca14d42ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/284d7fd0eec8774bd6214921fbf525cf907c590e"
        },
        {
          "url": "https://git.kernel.org/stable/c/d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea30dc5267e367b8a5e1e06cc074f813bcbf18b2"
        }
      ],
      "title": "tcp: fix AO info use-after-free in tcp_ao_connect_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80850",
    "datePublished": "2026-09-04T15:55:00.588Z",
    "dateReserved": "2026-08-26T14:34:25.797Z",
    "dateUpdated": "2026-09-04T15:55:00.588Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80850",
      "date": "2026-09-14",
      "epss": "0.00171",
      "percentile": "0.06765"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80850\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-04T16:18:13.813\",\"lastModified\":\"2026-09-04T16:18:13.813\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntcp: fix AO info use-after-free in tcp_ao_connect_init()\\n\\ntcp_v4_connect() adds a SYN-SENT socket to the ehash before calling\\ntcp_connect().  If TCP-AO is configured, tcp_connect() first verifies that\\na key matches the peer and the bound device\u0027s current L3 master.\\ntcp_ao_connect_init() later resolves the L3 master again and removes keys\\nwhich do not match it.\\n\\nThe socket lock does not stabilize the bound device\u0027s VRF membership.\\nDetaching the device from its VRF between the initial validation and the\\nL3-master calculation in tcp_ao_connect_init() can therefore make the\\nvalidation succeed while initialization observes the default L3 domain and\\nremoves the only key.  The subsequent AO lookup then fails, so the no-key\\npath clears tp-\u003eao_info and frees it directly.\\n\\nThe receive path can find the socket in the ehash and load tp-\u003eao_info\\nunder RCU before acquiring the socket lock.  A reader which loaded the old\\npointer can thus continue into tcp_inbound_ao_hash() after the direct free.\\n\\nThe issue was found during a static audit of TCP-AO object lifetime.  An\\nunprivileged reproducer in self-created user and network namespaces raced\\nconnect() with detaching a veth from its VRF while sending TCP-AO segments.\\nIt triggered the same KASAN report on two fresh boots:\\n\\n  BUG: KASAN: slab-use-after-free in tcp_inbound_ao_hash+0x585/0x19f0\\n  Write of size 8 at addr ffff88800bf88128 by task tcp_ao_vrf_race/232\\n\\n  Call Trace:\\n   tcp_inbound_ao_hash+0x585/0x19f0\\n   tcp_inbound_hash+0x677/0xa80\\n   tcp_v4_rcv+0x1c3e/0x3ab0\\n\\n  Allocated by task 235:\\n   tcp_ao_alloc_info+0x43/0xf0\\n   tcp_ao_add_cmd+0xdf7/0x13b0\\n   do_tcp_setsockopt+0x168c/0x2640\\n\\n  Freed by task 235:\\n   kfree+0x1b8/0x550\\n   tcp_connect+0x252/0x4f00\\n   tcp_v4_connect+0x1114/0x1720\\n\\nThe bad address is 40 bytes inside the freed 128-byte object, matching the\\ntcp_ao_info counters.key_not_found field.  The two runs used 1000 attempts\\neach, reached the no-key path 366 and 411 times, and produced one and two\\nKASAN reports respectively.  With this change, the same reproducer reached\\nthe no-key path 366 times in 1000 attempts without a KASAN report or oops.\\n\\nUse tcp_ao_destroy_sock() for the no-key path.  It unpublishes the AO info,\\nupdates the socket memory and static-key accounting, and defers the free\\nuntil after an RCU grace period.\\n\\nAlso drop the WARN_ON_ONCE() and its stale comment.  The VRF detach race\\nmakes the no-key state reachable during normal operation, so it is a\\nhandled condition rather than an impossible assertion.  On panic_on_warn\\nkernels the WARN would turn this handled race into a kernel panic.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/ipv4/tcp_ao.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"248411b8cb8974a1e1c8e43123c1e682fbd64969\",\"lessThan\":\"594ba77210a1f065832211851a2d7e14d11fcbdb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"248411b8cb8974a1e1c8e43123c1e682fbd64969\",\"lessThan\":\"70051a57786d5b23f059fbaf5c8241eca14d42ed\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"248411b8cb8974a1e1c8e43123c1e682fbd64969\",\"lessThan\":\"284d7fd0eec8774bd6214921fbf525cf907c590e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"248411b8cb8974a1e1c8e43123c1e682fbd64969\",\"lessThan\":\"d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"248411b8cb8974a1e1c8e43123c1e682fbd64969\",\"lessThan\":\"ea30dc5267e367b8a5e1e06cc074f813bcbf18b2\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/ipv4/tcp_ao.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.108\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.49\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.13\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.3\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/284d7fd0eec8774bd6214921fbf525cf907c590e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/594ba77210a1f065832211851a2d7e14d11fcbdb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70051a57786d5b23f059fbaf5c8241eca14d42ed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ea30dc5267e367b8a5e1e06cc074f813bcbf18b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-10T01:50:34Z",
      "cve": "CVE-2026-80850",
      "id": "CVE-2026-80850",
      "initial_release_date": "2026-09-05T00:26:12Z",
      "product_status:known_affected": "17",
      "product_status:known_not_affected": "324",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-80850",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-80850.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…