ghsa-r942-4w9p-298q
Vulnerability from github
Published
2024-05-21 18:31
Modified
2024-05-21 18:31
Details

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

net: sched: sch: Bounds check priority

Nothing was explicitly bounds checking the priority index used to access clpriop[]. WARN and bail out early if it's pathological. Seen with GCC 13:

../net/sched/sch_htb.c: In function 'htb_activate_prios': ../net/sched/sch_htb.c:437:44: warning: array subscript [0, 31] is outside array bounds of 'struct htb_prio[8]' [-Warray-bounds=] 437 | if (p->inner.clprio[prio].feed.rb_node) | ~~~~~~~~~~~~~~~^~~~~~ ../net/sched/sch_htb.c:131:41: note: while referencing 'clprio' 131 | struct htb_prio clprio[TC_HTB_NUMPRIO]; | ^~~~~~

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2023-52734"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-05-21T16:15:13Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: sch: Bounds check priority\n\nNothing was explicitly bounds checking the priority index used to access\nclpriop[]. WARN and bail out early if it\u0027s pathological. Seen with GCC 13:\n\n../net/sched/sch_htb.c: In function \u0027htb_activate_prios\u0027:\n../net/sched/sch_htb.c:437:44: warning: array subscript [0, 31] is outside array bounds of \u0027struct htb_prio[8]\u0027 [-Warray-bounds=]\n  437 |                         if (p-\u003einner.clprio[prio].feed.rb_node)\n      |                             ~~~~~~~~~~~~~~~^~~~~~\n../net/sched/sch_htb.c:131:41: note: while referencing \u0027clprio\u0027\n  131 |                         struct htb_prio clprio[TC_HTB_NUMPRIO];\n      |                                         ^~~~~~",
  "id": "GHSA-r942-4w9p-298q",
  "modified": "2024-05-21T18:31:19Z",
  "published": "2024-05-21T18:31:19Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-52734"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90fcf55d83b20da1091f926a291af05fb74f61c6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/99875ea9b5b47995bfb3c684d21eb17feb4b7e6a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de5ca4c3852f896cacac2bf259597aab5e17d9e3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6415c9c9a0b3881543d38528a58b54af4351522"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fbe71c5dacaa5a9960323215f118958174c81aa0"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.