CVE-2026-98576
Full vulnerability record from the local CVENow database.
Description
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.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:09.930000
Last modified
2026-10-19 10:19:16.730000
View original CVE JSON
{
"id": "CVE-2026-98576",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:09.930",
"lastModified": "2026-10-19T10:19:16.730",
"vulnStatus": "Received",
"cveTags": [],
"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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"net/nfc/llcp_commands.c",
"net/nfc/llcp_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "75f7c5a42fa1483f5912279a749417c284ad708f",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "6d4ca872830e46fcca9c086bf19fa9bd2faf09d2",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "a143f7835faa4fe0178448289feea4f84eeee8d6",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "8afb6c194f5781798d3ab3edf243cf5a24a9d1f9",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "8978dff632519712d1fa432991e1f2e857f90239",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "4262b12277a3e056c95fc49e9c4d7bd97035d16c",
"versionType": "git",
"status": "affected"
},
{
"version": "d9b8d8e19b073096d3609bbd60f82148d128b555",
"lessThan": "7dcf371a35632f035baf77bcf2c129165f772ce4",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"net/nfc/llcp_commands.c",
"net/nfc/llcp_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "3.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.10",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.271",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.222",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.112",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.55",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.9",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/4262b12277a3e056c95fc49e9c4d7bd97035d16c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6d4ca872830e46fcca9c086bf19fa9bd2faf09d2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/75f7c5a42fa1483f5912279a749417c284ad708f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7dcf371a35632f035baf77bcf2c129165f772ce4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8978dff632519712d1fa432991e1f2e857f90239",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8afb6c194f5781798d3ab3edf243cf5a24a9d1f9",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a143f7835faa4fe0178448289feea4f84eeee8d6",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}