FKIE_CVE-2026-139092

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: netlink: check sk_rcvbuf before charging the dump skb Since commit ae8f160e7eb2 ("netlink: Fix wraparounds of sk->sk_rmem_alloc."), netlink_dump() charges the dump skb first and queues it only if sk_rmem_alloc is still below sk_rcvbuf. Commit a215b5723922 ("netlink: make sure we allow at least one dump skb") added an exception for an empty socket. A dump that starts while something else is still charged to a socket with a small receive buffer fails with ENOBUFS and stays running. Every recvmsg() retries it, fails again and sets sk_err, so a reader that peeks before reading, as libnl does, gets ENOBUFS on the read after each peek, never consumes the message at the head of the queue and spins forever. I hit this with "iw dev wlan0 scan" hanging at 100% CPU on an arm64 board with a 6.6 based kernel (iw 5.19 sets SO_RCVBUF to 8KiB). A kprobe trace showed the scan dump starting while the NEW_SCAN_RESULTS notification iw had just read was still charged to its socket, because iw had preempted the sender before netlink_broadcast() returned. Check the limit before charging, as before ae8f160e7eb2, which also covers the empty socket. netlink_recvmsg() continues a dump only at or below half of sk_rcvbuf, so the skb is then always queued, and a dump goes over the limit by at most one skb. Refuse a skb that would take sk_rmem_alloc past INT_MAX, so the wraparound stays fixed. Reproduced on net in a KVM guest with a userspace reproducer and the selftest in the next patch; both pass with this fix.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netlink/af_netlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fa98c8e74c1e58f3ab20c4cbc74c4792d48176b2",
              "status": "affected",
              "version": "c4ceaac5c5ba0b992ee1dc88e2a02421549e5c98",
              "versionType": "git"
            },
            {
              "lessThan": "ba645fbee74d79f166e1e35f32cef2c6cdd006e9",
              "status": "affected",
              "version": "fd69af06101090eaa60b3d216ae715f9c0a58e5b",
              "versionType": "git"
            },
            {
              "lessThan": "b17baf4738995a5489bc4bc2bc6d8f019ad674d4",
              "status": "affected",
              "version": "76602d8e13864524382b0687dc32cd8f19164d5a",
              "versionType": "git"
            },
            {
              "lessThan": "92e09e0a575ae72e775aea9e896764c958593426",
              "status": "affected",
              "version": "55baecb9eb90238f60a8350660d6762046ebd3bd",
              "versionType": "git"
            },
            {
              "lessThan": "665144f559d860edc24449c163e2ae1d17b592f3",
              "status": "affected",
              "version": "4b8e18af7bea92f8b7fb92d40aeae729209db250",
              "versionType": "git"
            },
            {
              "lessThan": "68c445196b132f686c6b94a4b822b7f1aee77939",
              "status": "affected",
              "version": "ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc",
              "versionType": "git"
            },
            {
              "lessThan": "b8848da3e0278723d02a6736949977464dc74ece",
              "status": "affected",
              "version": "ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc",
              "versionType": "git"
            },
            {
              "lessThan": "b45d37740cfb4bdfccef3fbd9fd970fd3224438f",
              "status": "affected",
              "version": "ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9da025150b7c14a8390fc06aea314c0a4011e82c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "cd7ff61bfffd7000143c42bbffb85eeb792466d6",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.275",
              "status": "affected",
              "version": "5.10.240",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.226",
              "status": "affected",
              "version": "5.15.189",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.193",
              "status": "affected",
              "version": "6.1.146",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.163",
              "status": "affected",
              "version": "6.6.99",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.119",
              "status": "affected",
              "version": "6.12.39",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.296",
              "versionType": "semver"
            },
            {
              "lessThan": "6.16",
              "status": "affected",
              "version": "6.15.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netlink/af_netlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "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\nnetlink: check sk_rcvbuf before charging the dump skb\n\nSince commit ae8f160e7eb2 (\"netlink: Fix wraparounds of\nsk-\u003esk_rmem_alloc.\"), netlink_dump() charges the dump skb first and\nqueues it only if sk_rmem_alloc is still below sk_rcvbuf. Commit\na215b5723922 (\"netlink: make sure we allow at least one dump skb\")\nadded an exception for an empty socket.\n\nA dump that starts while something else is still charged to a socket\nwith a small receive buffer fails with ENOBUFS and stays running.\nEvery recvmsg() retries it, fails again and sets sk_err, so a reader\nthat peeks before reading, as libnl does, gets ENOBUFS on the read\nafter each peek, never consumes the message at the head of the queue\nand spins forever.\n\nI hit this with \"iw dev wlan0 scan\" hanging at 100% CPU on an arm64\nboard with a 6.6 based kernel (iw 5.19 sets SO_RCVBUF to 8KiB). A\nkprobe trace showed the scan dump starting while the NEW_SCAN_RESULTS\nnotification iw had just read was still charged to its socket,\nbecause iw had preempted the sender before netlink_broadcast()\nreturned.\n\nCheck the limit before charging, as before ae8f160e7eb2, which also\ncovers the empty socket. netlink_recvmsg() continues a dump only at\nor below half of sk_rcvbuf, so the skb is then always queued, and a\ndump goes over the limit by at most one skb. Refuse a skb that would\ntake sk_rmem_alloc past INT_MAX, so the wraparound stays fixed.\n\nReproduced on net in a KVM guest with a userspace reproducer and the\nselftest in the next patch; both pass with this fix."
    }
  ],
  "id": "CVE-2026-139092",
  "lastModified": "2026-11-30T14:18:17.280",
  "metrics": {},
  "published": "2026-11-30T14:18:17.280",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/665144f559d860edc24449c163e2ae1d17b592f3"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/68c445196b132f686c6b94a4b822b7f1aee77939"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/92e09e0a575ae72e775aea9e896764c958593426"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b17baf4738995a5489bc4bc2bc6d8f019ad674d4"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b45d37740cfb4bdfccef3fbd9fd970fd3224438f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b8848da3e0278723d02a6736949977464dc74ece"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ba645fbee74d79f166e1e35f32cef2c6cdd006e9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/fa98c8e74c1e58f3ab20c4cbc74c4792d48176b2"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.