CVE-2026-93046 (GCVE-0-2026-93046)
Vulnerability from cvelistv5
Published
2026-09-17 16:10
Modified
2026-10-19 09:04
Summary
In the Linux kernel, the following vulnerability has been resolved: software node: Fix software_node_get_reference_args() with index -1 The bounds check for the index passed to software_node_get_reference_args() was failing when passed UINT_MAX, this in turn would lead to an out of bound access in the property array. Fix the bound check to also cover the UINT_MAX case.
Impacted products
Vendor Product Version
Linux Linux Version: 142acd739eb6f08c148a96ae8309256f1422ff4b
Version: 56ce76e8d406cc72b89aee7931df5cf3f18db49d
Version: 9324127b07dde8529222dc19233aa57ec810856c
Version: f9397cf7bfb680799fb8c7f717c8f756384c3280
Version: 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b
Version: 31e4e12e0e9609850cefd4b2e1adf782f56337d6
Version: 31e4e12e0e9609850cefd4b2e1adf782f56337d6
Version: 31e4e12e0e9609850cefd4b2e1adf782f56337d6
Version: 7af18e42bdefe1dba5bcb32555a4d524fd504939
Version: 5.10.239   ≤
Version: 5.15.186   ≤
Version: 6.1.142   ≤
Version: 6.6.95   ≤
Version: 6.12.35   ≤
Version: 6.15.4   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/swnode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6cde06887487b4febd14658c9a246616abcc0097",
              "status": "affected",
              "version": "142acd739eb6f08c148a96ae8309256f1422ff4b",
              "versionType": "git"
            },
            {
              "lessThan": "0631384eadebc66d92d2dd72d57a0263c3877bee",
              "status": "affected",
              "version": "56ce76e8d406cc72b89aee7931df5cf3f18db49d",
              "versionType": "git"
            },
            {
              "lessThan": "b2fa4e8c7e4a33e02e6aaa8f6df72f84cf4aed75",
              "status": "affected",
              "version": "9324127b07dde8529222dc19233aa57ec810856c",
              "versionType": "git"
            },
            {
              "lessThan": "4ebf96d5f834aba7f6d0397db4c421f6078171b9",
              "status": "affected",
              "version": "f9397cf7bfb680799fb8c7f717c8f756384c3280",
              "versionType": "git"
            },
            {
              "lessThan": "849076df15129e47dd8db751fa18489419ffea56",
              "status": "affected",
              "version": "4b3383110b6df48e0ba5936af2cb68d5eb6bd43b",
              "versionType": "git"
            },
            {
              "lessThan": "df5466412b362db7adfa78e3e092fe07ac6769a4",
              "status": "affected",
              "version": "31e4e12e0e9609850cefd4b2e1adf782f56337d6",
              "versionType": "git"
            },
            {
              "lessThan": "231bbc04c58f115a505bf3b668ec69ef40a1773b",
              "status": "affected",
              "version": "31e4e12e0e9609850cefd4b2e1adf782f56337d6",
              "versionType": "git"
            },
            {
              "lessThan": "ba3dedcf3bd47017307595a7e54924198f018246",
              "status": "affected",
              "version": "31e4e12e0e9609850cefd4b2e1adf782f56337d6",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7af18e42bdefe1dba5bcb32555a4d524fd504939",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.270",
              "status": "affected",
              "version": "5.10.239",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.221",
              "status": "affected",
              "version": "5.15.186",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.188",
              "status": "affected",
              "version": "6.1.142",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.157",
              "status": "affected",
              "version": "6.6.95",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.110",
              "status": "affected",
              "version": "6.12.35",
              "versionType": "semver"
            },
            {
              "lessThan": "6.16",
              "status": "affected",
              "version": "6.15.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/swnode.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.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "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": "5.10.270",
                  "versionStartIncluding": "5.10.239",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.15.186",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "6.1.142",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "6.6.95",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.12.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.15.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsoftware node: Fix software_node_get_reference_args() with index -1\n\nThe bounds check for the index passed to\nsoftware_node_get_reference_args() was failing when passed UINT_MAX,\nthis in turn would lead to an out of bound access in the property\narray. Fix the bound check to also cover the UINT_MAX case."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The OOB is in software_node_get_reference_args() in drivers/base/swnode.c, reached only from in-kernel fwnode_property_get_reference_args()/fwnode_find_reference() on local probe/consumer paths (led_get \u2192 fwnode_led_get, swnode_gpio_get_reference, IIO/reset/mailbox); the wrapping index is a kernel argument, not bytes from a packet or remote peer.\nAC:H - Only index==UINT_MAX makes (index+1)*sizeof(*ref) wrap to 0 so the bound is skipped. led_get() passes -1 into fwnode_led_get(), but that value is overwritten by fwnode_property_match_string() for every in-tree con_id (v4l2_subdev_get_privacy_led \"privacy\", yogabook \"pen-icon-led\"); other negative errnos do not wrap on 64-bit, so the attacker cannot force UINT_MAX against a live DEV_PROP_REF.\nPR:L - The lookup runs in driver probe and consumer helpers (led_get from v4l2_subdev_get_privacy_led, swnode_find_gpio, fwnode_find_reference) with no capability check; an unprivileged local user can provoke those paths by opening a consumer device node or causing bind, without init-namespace root or user-namespace tricks.\nUI:N - software_node_get_reference_args() runs automatically inside fwnode_find_reference()/led_get()/swnode_gpio_get_reference during probe or consumer get; no other user must mount media, open a file, or confirm a prompt.\nS:U - The wild software_node_ref_args load, fwnode_handle_get() and any oops stay inside the host kernel; no VM, IOMMU or sandbox boundary is crossed.\nC:H - ref=\u0026ref_array[UINT_MAX] reads a full software_node_ref_args (swnode, fwnode, nargs, args[NR_FWNODE_REFERENCE_ARGS]) from wrapped/wild memory; those pointers and u64 args[] are not a few bounded bytes and can be returned to GPIO/LED/IIO consumers.\nI:H - The OOB bytes are used as ref-\u003eswnode/ref-\u003efwnode; software_node_fwnode() or fwnode_handle_get() then software_node_get() \u2192 kobject_get() runs on that pointer, an ops-vtable call and a refcount write at a non-object address \u2014 a control-flow-relevant primitive.\nA:H - The wrapped ref_array[UINT_MAX] pointer is immediately dereferenced (ref-\u003eswnode / ref-\u003efwnode / fwnode_handle_get()), which oopses or panics the kernel (KASAN slab-OOB or wild-pointer fault)."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:04:41.369Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6cde06887487b4febd14658c9a246616abcc0097"
        },
        {
          "url": "https://git.kernel.org/stable/c/0631384eadebc66d92d2dd72d57a0263c3877bee"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2fa4e8c7e4a33e02e6aaa8f6df72f84cf4aed75"
        },
        {
          "url": "https://git.kernel.org/stable/c/4ebf96d5f834aba7f6d0397db4c421f6078171b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/849076df15129e47dd8db751fa18489419ffea56"
        },
        {
          "url": "https://git.kernel.org/stable/c/df5466412b362db7adfa78e3e092fe07ac6769a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/231bbc04c58f115a505bf3b668ec69ef40a1773b"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba3dedcf3bd47017307595a7e54924198f018246"
        }
      ],
      "title": "software node: Fix software_node_get_reference_args() with index -1",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93046",
    "datePublished": "2026-09-17T16:10:37.691Z",
    "dateReserved": "2026-09-17T15:57:05.658Z",
    "dateUpdated": "2026-10-19T09:04:41.369Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…