CVE-2026-98576 (GCVE-0-2026-98576)
Vulnerability from cvelistv5
Published
2026-10-18 15:18
Modified
2026-10-19 09:22
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: fix slab-out-of-bounds reads when logging service names nfc_llcp_wks_sap() and nfc_llcp_build_sdreq_tlv() pass non-null- terminated strings to pr_debug() using the %s format specifier. The buffers are allocated via kmemdup() or come from netlink attributes and are not guaranteed to be null-terminated, causing __dynamic_pr_debug() to read beyond the allocated region: KASAN: slab-out-of-bounds Read in __dynamic_pr_debug Fix both call sites by using %.*s with the explicit length to limit the output to the actual length of the string.
Impacted products
Vendor Product Version
Linux Linux Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Version: d9b8d8e19b073096d3609bbd60f82148d128b555
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_commands.c",
            "net/nfc/llcp_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "75f7c5a42fa1483f5912279a749417c284ad708f",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "6d4ca872830e46fcca9c086bf19fa9bd2faf09d2",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "a143f7835faa4fe0178448289feea4f84eeee8d6",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "8afb6c194f5781798d3ab3edf243cf5a24a9d1f9",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "8978dff632519712d1fa432991e1f2e857f90239",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "4262b12277a3e056c95fc49e9c4d7bd97035d16c",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            },
            {
              "lessThan": "7dcf371a35632f035baf77bcf2c129165f772ce4",
              "status": "affected",
              "version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/llcp_commands.c",
            "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.10"
            },
            {
              "lessThan": "3.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "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.271",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "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: fix slab-out-of-bounds reads when logging service names\n\nnfc_llcp_wks_sap() and nfc_llcp_build_sdreq_tlv() pass non-null-\nterminated strings to pr_debug() using the %s format specifier.\nThe buffers are allocated via kmemdup() or come from netlink\nattributes and are not guaranteed to be null-terminated, causing\n__dynamic_pr_debug() to read beyond the allocated region:\n\n  KASAN: slab-out-of-bounds Read in __dynamic_pr_debug\n\nFix both call sites by using %.*s with the explicit length to limit\nthe output to the actual length of the string."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:22:01.670Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/75f7c5a42fa1483f5912279a749417c284ad708f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d4ca872830e46fcca9c086bf19fa9bd2faf09d2"
        },
        {
          "url": "https://git.kernel.org/stable/c/a143f7835faa4fe0178448289feea4f84eeee8d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8afb6c194f5781798d3ab3edf243cf5a24a9d1f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/8978dff632519712d1fa432991e1f2e857f90239"
        },
        {
          "url": "https://git.kernel.org/stable/c/4262b12277a3e056c95fc49e9c4d7bd97035d16c"
        },
        {
          "url": "https://git.kernel.org/stable/c/7dcf371a35632f035baf77bcf2c129165f772ce4"
        }
      ],
      "title": "nfc: llcp: fix slab-out-of-bounds reads when logging service names",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98576",
    "datePublished": "2026-10-18T15:18:41.629Z",
    "dateReserved": "2026-09-25T10:25:14.358Z",
    "dateUpdated": "2026-10-19T09:22:01.670Z",
    "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…