CVE-2026-90225 (GCVE-0-2026-90225)
Vulnerability from cvelistv5
Published
2026-09-17 16:07
Modified
2026-10-19 09:00
Summary
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: read llcp_sock->local under the socket lock in getsockopt nfc_llcp_getsockopt() read llcp_sock->local before lock_sock(sk) and then dereferenced the cached pointer inside the locked region. llcp_sock_bind() assigns and clears llcp_sock->local under the same socket lock, dropping the last reference on its error path. A getsockopt() racing an in-flight bind() can observe the pointer, block on lock_sock(), and then dereference a freed nfc_llcp_local once bind() has unwound. Move the llcp_sock->local read and the NULL check inside the lock_sock(sk) region so bind() cannot mutate or free the pointer between the load and the use.
Impacted products
Vendor Product Version
Linux Linux Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Version: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "56fd158fef20268f48db6cdfe5d722e930134eda",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "8ba8cec0586727cc135ca4827921fc7b52946d71",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "ed5240bab3468988077fe8bf29b935eaecc9ff89",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "fe65727a4a21b11c18eebae1338482767a897b76",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "2d8ac24565be85bf56580b87bf1b874d35625eb5",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "156e65bd29307f5053835bff60bc1ba342fa010f",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "d1b73962675cdc5a58e2707e25b548d8b495fde0",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            },
            {
              "lessThan": "36812527052c5bfb1ec6c1e292d67a5bf76b750f",
              "status": "affected",
              "version": "26fd76cab2e61cedc5c25f7151fb31b57ddc53c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.10"
            },
            {
              "lessThan": "3.10",
              "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": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: read llcp_sock-\u003elocal under the socket lock in getsockopt\n\nnfc_llcp_getsockopt() read llcp_sock-\u003elocal before lock_sock(sk) and\nthen dereferenced the cached pointer inside the locked region.\nllcp_sock_bind() assigns and clears llcp_sock-\u003elocal under the same\nsocket lock, dropping the last reference on its error path. A\ngetsockopt() racing an in-flight bind() can observe the pointer, block\non lock_sock(), and then dereference a freed nfc_llcp_local once bind()\nhas unwound.\n\nMove the llcp_sock-\u003elocal read and the NULL check inside the\nlock_sock(sk) region so bind() cannot mutate or free the pointer between\nthe load and the use."
        }
      ],
      "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 - The UAF is triggered by racing local syscalls on an AF_NFC LLCP socket: getsockopt(2) (__sys_getsockopt \u2192 do_sock_getsockopt \u2192 nfc_llcp_getsockopt) against bind(2) (__sys_bind \u2192 llcp_sock_bind). No LLCP PDU or other NFC-peer bytes are consumed on this path, so an adjacent radio peer cannot drive it.\nAC:L - The attacker owns both sides of the lock_sock(sk) race: one thread calls bind() with service_name_len 0 so nfc_llcp_get_sdp_ssap() returns LLCP_SAP_MAX after llcp_sock-\u003elocal is stored, and another calls getsockopt(SOL_NFC, NFC_LLCP_RW) on the same socket, which used to snapshot that pointer before taking the lock.\nPR:L - llcp_sock_create() checks capable(CAP_NET_RAW) only for SOCK_RAW; nfc_llcp_getsockopt is on llcp_sock_ops for SOCK_STREAM/DGRAM. An unprivileged user in init_net can socket(AF_NFC, SOCK_STREAM, NFC_SOCKPROTO_LLCP) then bind/getsockopt. nfc_llcp_find_local() needs a registered NFC device, which is typical on phones.\nUI:N - The attacker creates the AF_NFC LLCP socket and issues bind() and getsockopt() on that fd themselves; no other user needs to tap a tag, mount media, or accept a connection.\nS:U - The freed object is the host kernel\u0027s kmalloc\u0027d nfc_llcp_local used by nfc_llcp_getsockopt(); impact stays inside the kernel\u0027s security authority, not a VM, IOMMU, or sandbox escape.\nC:H - nfc_llcp_getsockopt() dereferences the dangling nfc_llcp_local to read local-\u003erw, local-\u003emiux, local-\u003eremote_miu, and local-\u003eremote_lto and copies those values to userspace with put_user(), so reclaim of the freed slab yields an arbitrary-read primitive.\nI:H - llcp_sock_bind()\u0027s sock_llcp_put_local path drops nfc_llcp_local via nfc_llcp_local_put() while nfc_llcp_getsockopt() still holds the pointer; reclaiming that kmalloc object with attacker-controlled data turns the dangling local into a write/control-flow primitive.\nA:H - Using the freed nfc_llcp_local in nfc_llcp_getsockopt() (the local-\u003erw and local-\u003eremote_lto loads) is a kernel slab UAF that oopses or panics on KASAN/SLUB_DEBUG and can crash the system even when not fully exploited."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:00:01.803Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/56fd158fef20268f48db6cdfe5d722e930134eda"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ba8cec0586727cc135ca4827921fc7b52946d71"
        },
        {
          "url": "https://git.kernel.org/stable/c/ed5240bab3468988077fe8bf29b935eaecc9ff89"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe65727a4a21b11c18eebae1338482767a897b76"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d8ac24565be85bf56580b87bf1b874d35625eb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/156e65bd29307f5053835bff60bc1ba342fa010f"
        },
        {
          "url": "https://git.kernel.org/stable/c/d1b73962675cdc5a58e2707e25b548d8b495fde0"
        },
        {
          "url": "https://git.kernel.org/stable/c/36812527052c5bfb1ec6c1e292d67a5bf76b750f"
        }
      ],
      "title": "nfc: llcp: read llcp_sock-\u003elocal under the socket lock in getsockopt",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90225",
    "datePublished": "2026-09-17T16:07:34.658Z",
    "dateReserved": "2026-09-11T19:38:34.794Z",
    "dateUpdated": "2026-10-19T09:00:01.803Z",
    "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…