CVE-2024-35915

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

8.8 high EPSS 0.32%

Published 19 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-35915

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35915 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 11387b2effbb55f58dc2111ef4b4b896f2756240
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 03fe259649a551d336a7f20919b641ea100e3fff
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before ac68d9fa09e410fa3ed20fb721d56aa558695e16
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before a946ebee45b09294c8b0b0e77410b763c4d2817a
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 8948e30de81faee87eeee01ef42a1f6008f5a83a
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before d24b03535e5eb82e025219c2f632b485409c898f
Other versions: unaffected
Linux
affected 3.2
unaffected before 3.2
unaffected from 4.19.312 up to and including 4.19.*
unaffected from 5.4.274 up to and including 5.4.*
unaffected from 5.10.215 up to and including 5.10.*
unaffected from 5.15.154 up to and including 5.15.*
unaffected from 6.1.85 up to and including 6.1.*
unaffected from 6.6.26 up to and including 6.6.*
unaffected from 6.8.5 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35915 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35915

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-35915
trivy image --scanners vuln IMAGE | grep CVE-2024-35915

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-35915 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.