GHSA-J9MP-7XJ5-5W7M

Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

NFSD: cap the number of listeners accepted in listener_set

nfsd_nl_listener_set_doit() matches each requested listener against the existing set. The nested loop that does this is O(N * M), where N is the requested count and M is the existing count. The loop runs under sv_lock with bottom halves disabled. A userland request with a very large listener list can therefore spin in atomic context for a long time.

Reject a request that carries more than NFSD_NL_LISTENER_MAX (1024) entries. The check goes in nfsd_nl_validate_listeners(), before the code takes any lock. The limit is far above any realistic configuration.

This patch does not cap M. Only the message size bounded N; real sockets bound M. A listener_set result set is the requested set, so that path also holds M at the cap, but __write_ports_addxprt() adds two listeners per call and removes none, so repeated calls can push M past it. The worst case under sv_lock is therefore 1024 * M, plus 1024 nla_parse_nested() calls. Both interfaces require CAP_NET_ADMIN.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99372"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-19T15:17:49Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: cap the number of listeners accepted in listener_set\n\nnfsd_nl_listener_set_doit() matches each requested listener against the\nexisting set. The nested loop that does this is O(N * M), where N is the\nrequested count and M is the existing count. The loop runs under sv_lock\nwith bottom halves disabled. A userland request with a very large listener\nlist can therefore spin in atomic context for a long time.\n\nReject a request that carries more than NFSD_NL_LISTENER_MAX (1024)\nentries. The check goes in nfsd_nl_validate_listeners(), before the code\ntakes any lock. The limit is far above any realistic configuration.\n\nThis patch does not cap M. Only the message size bounded N; real sockets\nbound M. A listener_set result set is the requested set, so that path also\nholds M at the cap, but __write_ports_addxprt() adds two listeners per call\nand removes none, so repeated calls can push M past it. The worst case\nunder sv_lock is therefore 1024 * M, plus 1024 nla_parse_nested() calls.\nBoth interfaces require CAP_NET_ADMIN.",
  "id": "GHSA-j9mp-7xj5-5w7m",
  "modified": "2026-11-19T15:31:22Z",
  "published": "2026-11-19T15:31:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99372"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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…