nfc: llcp: fix slab-out-of-bounds reads when logging service names (Linux Linux)

CVE-2026-98576
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 75f7c5a42fa1483f5912279a749417c284ad708f
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 6d4ca872830e46fcca9c086bf19fa9bd2faf09d2
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < a143f7835faa4fe0178448289feea4f84eeee8d6
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 8afb6c194f5781798d3ab3edf243cf5a24a9d1f9
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 8978dff632519712d1fa432991e1f2e857f90239
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 4262b12277a3e056c95fc49e9c4d7bd97035d16c
affectée : ≥ d9b8d8e19b073096d3609bbd60f82148d128b555 < 7dcf371a35632f035baf77bcf2c129165f772ce4
Autres versions : non affectée
Linux · Linux
affectée : 3.10
non affectée : ≥ 0 < 3.10
non affectée : ≥ 5.10.271 ≤ 5.10.*
non affectée : ≥ 5.15.222 ≤ 5.15.*
non affectée : ≥ 6.1.189 ≤ 6.1.*
non affectée : ≥ 6.6.158 ≤ 6.6.*
non affectée : ≥ 6.12.112 ≤ 6.12.*
non affectée : ≥ 6.18.55 ≤ 6.18.*
non affectée : ≥ 7.2.9 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD