CVE-2024-35915

nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet

MEDIUM
5.5
CVSS Score
Published: May 19, 2024 at 08:35 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet syzbot reported the following uninit-value access issue [1][2]: nci_rx_work() parses and processes received packet. When the payload length is zero, each message type handler reads uninitialized payload and KMSAN detects this issue. The receipt of a packet with a zero-size payload is considered unexpected, and therefore, such packets should be silently discarded. This patch resolved this issue by checking payload size before calling each message type handler codes.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.2 ≤ v < 4.19.3124.20 ≤ v < 5.4.2745.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.855.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.266.7 ≤ v < 6.8.56.96.9 rc16a2968aaf50c7a22fced77a5e24aa636281efca8
Vendor states this is fixed in 11387b2effbb55f58dc2111ef4b4b896f2756240 (fixed)
Vendor states this is fixed in 3fe259649a551d336a7f20919b641ea100e3fff (fixed)
Vendor states this is fixed in 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c (fixed)
Vendor states this is fixed in 8948e30de81faee87eeee01ef42a1f6008f5a83a (fixed)
Vendor states this is fixed in a946ebee45b09294c8b0b0e77410b763c4d2817a (fixed)
Vendor states this is fixed in ac68d9fa09e410fa3ed20fb721d56aa558695e16 (fixed)
Vendor states this is fixed in b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7 (fixed)
Vendor states this is fixed in d24b03535e5eb82e025219c2f632b485409c898f (fixed)
Vendor states this is fixed in 3.2 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.85 (unaffected)
Vendor states this is fixed in 6.6.26 (unaffected)
Vendor states this is fixed in 6.8.5 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03fe259649a551d336a7f20919b641ea100e3fff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/11387b2effbb55f58dc2111ef4b4b896f2756240
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8948e30de81faee87eeee01ef42a1f6008f5a83a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a946ebee45b09294c8b0b0e77410b763c4d2817a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac68d9fa09e410fa3ed20fb721d56aa558695e16
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d24b03535e5eb82e025219c2f632b485409c898f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card