CVE-2026-98576

Source
https://cve.org/CVERecord?id=CVE-2026-98576
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98576.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98576
Downstream
Published
2026-10-18T15:18:41Z
Modified
2026-10-19T02:46:40Z
Summary
nfc: llcp: fix slab-out-of-bounds reads when logging service names
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98576.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d9b8d8e19b073096d3609bbd60f82148d128b555
Fixed
75f7c5a42fa1483f5912279a749417c284ad708f
Fixed
6d4ca872830e46fcca9c086bf19fa9bd2faf09d2
Fixed
a143f7835faa4fe0178448289feea4f84eeee8d6
Fixed
75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b
Fixed
8afb6c194f5781798d3ab3edf243cf5a24a9d1f9
Fixed
8978dff632519712d1fa432991e1f2e857f90239
Fixed
4262b12277a3e056c95fc49e9c4d7bd97035d16c
Fixed
7dcf371a35632f035baf77bcf2c129165f772ce4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98576.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0
Fixed
5.10.271
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.222
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98576.json"