CVE-2026-64010 (GCVE-0-2026-64010)

Vulnerability from cvelistv5 – Published: 2026-07-19 14:56 – Updated: 2026-08-05 12:38
VLAI
Title
nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()
Summary
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc() A race condition exists in the NFC LLCP connection state machine where the connection acceptance packet (CC) can be processed concurrently with socket release. This can lead to a use-after-free of the socket object. When nfc_llcp_recv_cc() moves the socket from the connecting_sockets list to the sockets list, it does so without holding the socket lock. If llcp_sock_release() is executing concurrently, it might have already unlinked the socket and dropped its references, which can result in nfc_llcp_recv_cc() linking a freed socket into the live list. Fix this by holding lock_sock() during the state transition and list movement in nfc_llcp_recv_cc(). After acquiring the lock, check if the socket is still hashed to ensure it hasn't already been unlinked and marked for destruction by the release path. This aligns the locking pattern with recv_hdlc() and recv_disc().
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < dce85215a6c7b0fd753f577a4c487f647119884c (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < bd08bb7443c501d2f2a71d529e4afcf11c9b07d2 (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < 0b45c31746e1523d5d482fda8fcf54a35ac417f1 (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2 (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < ad8a27d63cac96bac441edd002209ebd996e12fb (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < 650bdd8fdfab64a09ee474150313dbc48c374795 (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183 (git)
Affected: a69f32af86e389dd232b1bb2269e202c1bfcc60f , < b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77 (git)
Create a notification for this product.
Linux Linux Affected: 3.6
Unaffected: 0 , < 3.6 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.93 , ≤ 6.12.* (semver)
Unaffected: 6.18.35 , ≤ 6.18.* (semver)
Unaffected: 7.0.12 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "dce85215a6c7b0fd753f577a4c487f647119884c",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "bd08bb7443c501d2f2a71d529e4afcf11c9b07d2",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "0b45c31746e1523d5d482fda8fcf54a35ac417f1",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "ad8a27d63cac96bac441edd002209ebd996e12fb",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "650bdd8fdfab64a09ee474150313dbc48c374795",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            },
            {
              "lessThan": "b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77",
              "status": "affected",
              "version": "a69f32af86e389dd232b1bb2269e202c1bfcc60f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.6"
            },
            {
              "lessThan": "3.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.93",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.35",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.12",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()\n\nA race condition exists in the NFC LLCP connection state machine where\nthe connection acceptance packet (CC) can be processed concurrently with\nsocket release.  This can lead to a use-after-free of the socket object.\n\nWhen nfc_llcp_recv_cc() moves the socket from the connecting_sockets\nlist to the sockets list, it does so without holding the socket lock.\nIf llcp_sock_release() is executing concurrently, it might have already\nunlinked the socket and dropped its references, which can result in\nnfc_llcp_recv_cc() linking a freed socket into the live list.\n\nFix this by holding lock_sock() during the state transition and list\nmovement in nfc_llcp_recv_cc().  After acquiring the lock, check if\nthe socket is still hashed to ensure it hasn\u0027t already been unlinked\nand marked for destruction by the release path.  This aligns the locking\npattern with recv_hdlc() and recv_disc()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The corrupting input is an NFC LLCP Connection Complete (CC) PDU delivered over the NFC radio from a nearby peer; per kernel CNA guidance, NFC/Bluetooth-class wireless reachability maps to Adjacent rather than Local or Network.\nAC:L - The attacker can control both sides of the race by concurrently calling connect()/close() on an LLCP socket while timing CC transmission from an adjacent NFC device, making exploitation depend only on attacker-controlled timing rather than victim state.\nPR:N - An adjacent attacker needs no privileges on the victim system\u2014the kernel processes inbound NFC frames in kernel context; SOCK_STREAM LLCP sockets require no CAP_NET_RAW, so no elevated credentials are needed on either attack path.\nUI:N - Exploitation can be fully automated by a local or adjacent attacker scripting concurrent connect/close and CC injection without requiring any deliberate victim action beyond the device having NFC active and an LLCP session in progress.\nS:U - Impact is confined to kernel memory corruption and local privilege escalation within the same kernel security domain; there is no VM escape, IOMMU bypass, or other cross-authority boundary crossing.\nC:H - The use-after-free operates on a freed socket structure still referenced in kernel linked lists, enabling reads of stale heap contents and kernel pointer disclosure as part of UAF exploitation.\nI:H - The UAF re-links a freed socket into the live list and writes connection TLVs into freed memory via nfc_llcp_parse_connection_tlv(), providing a heap corruption primitive suitable for arbitrary write and code execution.\nA:H - Use-after-free of a socket object in the NFC receive path reliably causes kernel oops/panic or hang, and the freed-but-linked socket corrupts subsequent list walks causing system crash."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:38:10.194Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/dce85215a6c7b0fd753f577a4c487f647119884c"
        },
        {
          "url": "https://git.kernel.org/stable/c/bd08bb7443c501d2f2a71d529e4afcf11c9b07d2"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b45c31746e1523d5d482fda8fcf54a35ac417f1"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad8a27d63cac96bac441edd002209ebd996e12fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/650bdd8fdfab64a09ee474150313dbc48c374795"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183"
        },
        {
          "url": "https://git.kernel.org/stable/c/b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77"
        }
      ],
      "title": "nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64010",
    "datePublished": "2026-07-19T14:56:25.162Z",
    "dateReserved": "2026-07-19T07:54:57.026Z",
    "dateUpdated": "2026-08-05T12:38:10.194Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64010",
      "date": "2026-08-10",
      "epss": "0.00255",
      "percentile": "0.16961"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64010\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:40.803\",\"lastModified\":\"2026-07-30T14:59:47.950\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()\\n\\nA race condition exists in the NFC LLCP connection state machine where\\nthe connection acceptance packet (CC) can be processed concurrently with\\nsocket release.  This can lead to a use-after-free of the socket object.\\n\\nWhen nfc_llcp_recv_cc() moves the socket from the connecting_sockets\\nlist to the sockets list, it does so without holding the socket lock.\\nIf llcp_sock_release() is executing concurrently, it might have already\\nunlinked the socket and dropped its references, which can result in\\nnfc_llcp_recv_cc() linking a freed socket into the live list.\\n\\nFix this by holding lock_sock() during the state transition and list\\nmovement in nfc_llcp_recv_cc().  After acquiring the lock, check if\\nthe socket is still hashed to ensure it hasn\u0027t already been unlinked\\nand marked for destruction by the release path.  This aligns the locking\\npattern with recv_hdlc() and recv_disc().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/nfc/llcp_core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"dce85215a6c7b0fd753f577a4c487f647119884c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"bd08bb7443c501d2f2a71d529e4afcf11c9b07d2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"0b45c31746e1523d5d482fda8fcf54a35ac417f1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"ad8a27d63cac96bac441edd002209ebd996e12fb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"650bdd8fdfab64a09ee474150313dbc48c374795\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a69f32af86e389dd232b1bb2269e202c1bfcc60f\",\"lessThan\":\"b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/nfc/llcp_core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.93\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.35\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.12\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0b45c31746e1523d5d482fda8fcf54a35ac417f1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/650bdd8fdfab64a09ee474150313dbc48c374795\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ad8a27d63cac96bac441edd002209ebd996e12fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd08bb7443c501d2f2a71d529e4afcf11c9b07d2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dce85215a6c7b0fd753f577a4c487f647119884c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-08-05T14:21:22+00:00",
      "cve": "CVE-2026-64010",
      "id": "CVE-2026-64010",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64010.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-06T01:10:24Z",
      "cve": "CVE-2026-64010",
      "id": "CVE-2026-64010",
      "initial_release_date": "2026-07-21T13:01:37Z",
      "product_status:known_affected": "193",
      "product_status:known_not_affected": "105",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64010",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64010.json",
      "version": "3"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…