# CVE-2026-98576: nfc: llcp: fix slab-out-of-bounds reads when logging service names

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-18T15:18:41.629Z
- Modified: 2026-10-19T10:19:16.730Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d9b8d8e19b073096d3609bbd60f82148d128b555 before 75f7c5a42fa1483f5912279a749417c284ad708f; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 6d4ca872830e46fcca9c086bf19fa9bd2faf09d2; from d9b8d8e19b073096d3609bbd60f82148d128b555 before a143f7835faa4fe0178448289feea4f84eeee8d6; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 8afb6c194f5781798d3ab3edf243cf5a24a9d1f9; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 8978dff632519712d1fa432991e1f2e857f90239; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 4262b12277a3e056c95fc49e9c4d7bd97035d16c; from d9b8d8e19b073096d3609bbd60f82148d128b555 before 7dcf371a35632f035baf77bcf2c129165f772ce4; 3.10 (not affected: before 3.10; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/75f7c5a42fa1483f5912279a749417c284ad708f>
- <https://git.kernel.org/stable/c/6d4ca872830e46fcca9c086bf19fa9bd2faf09d2>
- <https://git.kernel.org/stable/c/a143f7835faa4fe0178448289feea4f84eeee8d6>
- <https://git.kernel.org/stable/c/75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b>
- <https://git.kernel.org/stable/c/8afb6c194f5781798d3ab3edf243cf5a24a9d1f9>
- <https://git.kernel.org/stable/c/8978dff632519712d1fa432991e1f2e857f90239>
- <https://git.kernel.org/stable/c/4262b12277a3e056c95fc49e9c4d7bd97035d16c>
- <https://git.kernel.org/stable/c/7dcf371a35632f035baf77bcf2c129165f772ce4>

## Sources

- CVE List: [CVE-2026-98576](https://www.cve.org/CVERecord?id=CVE-2026-98576), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98576](https://nvd.nist.gov/vuln/detail/CVE-2026-98576), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98576 · Whole record: https://cve.day/CVE-2026-98576.json · Rebuilt by cve.day 2026-11-25T22:59:45.232Z
