CVE-2026-90225 (GCVE-0-2026-90225)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:07 – Updated: 2026-09-18 17:53
VLAI
Title
nfc: llcp: read llcp_sock->local under the socket lock in getsockopt
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 CPE status
Linux Linux Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < 56fd158fef20268f48db6cdfe5d722e930134eda (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < 8ba8cec0586727cc135ca4827921fc7b52946d71 (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < ed5240bab3468988077fe8bf29b935eaecc9ff89 (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < fe65727a4a21b11c18eebae1338482767a897b76 (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < 2d8ac24565be85bf56580b87bf1b874d35625eb5 (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < 156e65bd29307f5053835bff60bc1ba342fa010f (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < d1b73962675cdc5a58e2707e25b548d8b495fde0 (git)
Affected: 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 , < 36812527052c5bfb1ec6c1e292d67a5bf76b750f (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.10
Unaffected: 0 , < 3.10 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed 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-rc1",
              "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-rc1",
                  "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-09-18T17:53:52.374Z",
        "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-09-18T17:53:52.374Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90225",
      "date": "2026-09-25",
      "epss": "0.00176",
      "percentile": "0.06355"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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-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\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."
          }
        ],
        "id": "CVE-2026-90225",
        "lastModified": "2026-09-18T18:17:47.320",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-17T17:17:18.133",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/156e65bd29307f5053835bff60bc1ba342fa010f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2d8ac24565be85bf56580b87bf1b874d35625eb5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/36812527052c5bfb1ec6c1e292d67a5bf76b750f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/56fd158fef20268f48db6cdfe5d722e930134eda"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8ba8cec0586727cc135ca4827921fc7b52946d71"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d1b73962675cdc5a58e2707e25b548d8b495fde0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ed5240bab3468988077fe8bf29b935eaecc9ff89"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fe65727a4a21b11c18eebae1338482767a897b76"
          }
        ],
        "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…

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…