CVE-2026-99116 (GCVE-0-2026-99116)

Vulnerability from cvelistv5 – Published: 2026-10-28 10:34 – Updated: 2026-10-31 12:43
VLAI
Title
net: psp: do not inherit the Rx association on clone
Summary
In the Linux kernel, the following vulnerability has been resolved: net: psp: do not inherit the Rx association on clone sk->psp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into every socket accepted from a listener without taking a reference, while inet_sock_destruct() puts for every inet socket. psp_twsk_init() does refcount_inc() for the timewait socket, so a child closing through TIME_WAIT cancels its own put and leaves the association with one reference and N timewait sockets holding the same pointer. Closing the listener frees it, and the timewait timers then put freed memory. Rejecting the association on a listening socket is not sufficient: a socket can acquire one while established and then be turned back into a listener, because tcp_disconnect() leaves sk->psp_assoc in place. BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0 Write of size 4 at addr ffff888110f9255c by task swapper/7/0 psp_twsk_assoc_free+0x6f/0xf0 inet_twsk_put+0xda/0x1b0 call_timer_fn+0x53/0x2e0 __run_timers+0x764/0xa80 Freed by task 99: kfree+0x1a7/0x500 process_one_work+0x7ec/0x1100 An association carries a per-connection SPI and key, so a child must not inherit the parent's. Clear it on clone.
Impacted products
Vendor Product Version
Linux Linux Affected: 6b46ca260e2290e3453d1355ab5b6d283d73d780 , < a9f14ea73e82db743f0acf4219f499d594589288 (git)
Affected: 6b46ca260e2290e3453d1355ab5b6d283d73d780 , < c962695467d3ab9738a6508279827ec33a7d2bdf (git)
Affected: 6b46ca260e2290e3453d1355ab5b6d283d73d780 , < 1d2929d0850fff683b8aff051275945e65f082c8 (git)
Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.18.59 , ≤ 6.18.* (semver)
Unaffected: 7.2.13 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/core/sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a9f14ea73e82db743f0acf4219f499d594589288",
              "status": "affected",
              "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
              "versionType": "git"
            },
            {
              "lessThan": "c962695467d3ab9738a6508279827ec33a7d2bdf",
              "status": "affected",
              "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
              "versionType": "git"
            },
            {
              "lessThan": "1d2929d0850fff683b8aff051275945e65f082c8",
              "status": "affected",
              "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.59",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.13",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: psp: do not inherit the Rx association on clone\n\nsk-\u003epsp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into\nevery socket accepted from a listener without taking a reference, while\ninet_sock_destruct() puts for every inet socket. psp_twsk_init() does\nrefcount_inc() for the timewait socket, so a child closing through\nTIME_WAIT cancels its own put and leaves the association with one\nreference and N timewait sockets holding the same pointer. Closing the\nlistener frees it, and the timewait timers then put freed memory.\n\nRejecting the association on a listening socket is not sufficient: a socket\ncan acquire one while established and then be turned back into a listener,\nbecause tcp_disconnect() leaves sk-\u003epsp_assoc in place.\n\n  BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0\n  Write of size 4 at addr ffff888110f9255c by task swapper/7/0\n   psp_twsk_assoc_free+0x6f/0xf0\n   inet_twsk_put+0xda/0x1b0\n   call_timer_fn+0x53/0x2e0\n   __run_timers+0x764/0xa80\n  Freed by task 99:\n   kfree+0x1a7/0x500\n   process_one_work+0x7ec/0x1100\n\nAn association carries a per-connection SPI and key, so a child must not\ninherit the parent\u0027s. Clear it on clone."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - A local process uses PSP_CMD_RX_ASSOC to reach psp_nl_rx_assoc_doit()-\u003epsp_sock_assoc_set_rx() on its listener, then completes a loopback handshake through tcp_check_req()-\u003etcp_v4_syn_recv_sock()-\u003etcp_create_openreq_child()-\u003einet_csk_clone_lock()-\u003esk_clone(). No remote message can install the listener\u0027s psp_assoc.\nAC:L - The same process controls both endpoints: it closes accepted children through tcp_fin()-\u003etcp_time_wait()-\u003epsp_twsk_init(), closes the listener, and waits for the TIME_WAIT timer. This deterministic sequence requires no race or condition outside its control.\nPR:L - PSP_CMD_RX_ASSOC lacks GENL_ADMIN_PERM; psp_assoc_device_get_locked() only applies sockfd_lookup() to the caller\u0027s TCP fd, while psp_dev_check_access() checks network-namespace visibility rather than capabilities. An ordinary user in the device\u0027s netns suffices.\nUI:N - The attacker performs PSP association, loopback connection, child teardown, and listener closure using their own descriptors; no victim must perform any action.\nS:U - The stale pointer from sk_clone() corrupts host-kernel heap memory in psp_twsk_assoc_free(); it crosses no VM, IOMMU, or other security-authority boundary.\nC:H - The delayed psp_assoc_put() operates on reclaimed psp_assoc storage; a replacement with refcnt equal to 1 causes call_rcu() and workqueue processing on that replacement. This exploitable lifetime confusion can provide kernel execution and arbitrary kernel-memory reads.\nI:H - psp_twsk_assoc_free()-\u003epsp_assoc_put() decrements four bytes at the freed psp_assoc.refcnt; if it reaches zero, call_rcu(\u0026pas-\u003ercu, ...) and subsequent work initialization also modify reclaimed storage, providing exploitable heap corruption and control-flow potential.\nA:H - The demonstrated TIME_WAIT timer path produces a slab-use-after-free in psp_twsk_assoc_free(); repeated stale timers can corrupt reclaimed objects and cause a kernel oops or panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-31T12:43:13.361Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a9f14ea73e82db743f0acf4219f499d594589288"
        },
        {
          "url": "https://git.kernel.org/stable/c/c962695467d3ab9738a6508279827ec33a7d2bdf"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d2929d0850fff683b8aff051275945e65f082c8"
        }
      ],
      "title": "net: psp: do not inherit the Rx association on clone",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99116",
    "datePublished": "2026-10-28T10:34:33.109Z",
    "dateReserved": "2026-09-25T10:25:14.392Z",
    "dateUpdated": "2026-10-31T12:43:13.361Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99116",
      "date": "2026-11-16",
      "epss": "0.00133",
      "percentile": "0.02912"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:56:49.000Z",
      "cve": "CVE-2026-99116",
      "id": "msrc_CVE-2026-99116",
      "initial_release_date": "2026-11-12T17:56:49.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net: psp: do not inherit the Rx association on clone",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99116.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/core/sock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a9f14ea73e82db743f0acf4219f499d594589288",
                    "status": "affected",
                    "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c962695467d3ab9738a6508279827ec33a7d2bdf",
                    "status": "affected",
                    "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1d2929d0850fff683b8aff051275945e65f082c8",
                    "status": "affected",
                    "version": "6b46ca260e2290e3453d1355ab5b6d283d73d780",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/core/sock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.18"
                  },
                  {
                    "lessThan": "6.18",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.59",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.13",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: psp: do not inherit the Rx association on clone\n\nsk-\u003epsp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into\nevery socket accepted from a listener without taking a reference, while\ninet_sock_destruct() puts for every inet socket. psp_twsk_init() does\nrefcount_inc() for the timewait socket, so a child closing through\nTIME_WAIT cancels its own put and leaves the association with one\nreference and N timewait sockets holding the same pointer. Closing the\nlistener frees it, and the timewait timers then put freed memory.\n\nRejecting the association on a listening socket is not sufficient: a socket\ncan acquire one while established and then be turned back into a listener,\nbecause tcp_disconnect() leaves sk-\u003epsp_assoc in place.\n\n  BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0\n  Write of size 4 at addr ffff888110f9255c by task swapper/7/0\n   psp_twsk_assoc_free+0x6f/0xf0\n   inet_twsk_put+0xda/0x1b0\n   call_timer_fn+0x53/0x2e0\n   __run_timers+0x764/0xa80\n  Freed by task 99:\n   kfree+0x1a7/0x500\n   process_one_work+0x7ec/0x1100\n\nAn association carries a per-connection SPI and key, so a child must not\ninherit the parent\u0027s. Clear it on clone."
          }
        ],
        "id": "CVE-2026-99116",
        "lastModified": "2026-10-31T13:17:56.150",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-28T11:17:31.140",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1d2929d0850fff683b8aff051275945e65f082c8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a9f14ea73e82db743f0acf4219f499d594589288"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c962695467d3ab9738a6508279827ec33a7d2bdf"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-06T03:25:42+00:00",
      "cve": "CVE-2026-99116",
      "id": "CVE-2026-99116",
      "initial_release_date": "2026-10-28T00:00:00+00:00",
      "product_status:known_affected": "15",
      "product_status:known_not_affected": "188",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: psp: do not inherit the Rx association on clone",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99116.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-04T16:00:45Z",
      "cve": "CVE-2026-99116",
      "id": "CVE-2026-99116",
      "initial_release_date": "2026-10-28T17:34:40Z",
      "product_status:known_not_affected": "348",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99116",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99116.json",
      "version": "4"
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…