Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.312, 5.10.215, 5.15.154, 5.4.274, 6.1.85, 6.6.26, 6.8.5
CVEs
CVE-2024-35915
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:38 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 19 May 2024, 08:35 UTC

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.

osv:CVE-2024-35915

Kernel

Fixed versions: 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.85, 6.6.26, 6.8.5

Complete source record
{
  "id": "769588480eca9e19c63631ea2ae4c29393e7e590d49f121e830a8bd20813b27e",
  "url": "https://osv.dev/vulnerability/CVE-2024-35915",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet",
    "summary": "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.",
    "evidence": "osv:CVE-2024-35915",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.312",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.274",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.215",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.154",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.85",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.26",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-35915",
      "aliases": [
        "CVE-2024-35915"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6a2968aaf50c7a22fced77a5e24aa636281efca8"
                },
                {
                  "fixed": "11387b2effbb55f58dc2111ef4b4b896f2756240"
                },
                {
                  "fixed": "03fe259649a551d336a7f20919b641ea100e3fff"
                },
                {
                  "fixed": "755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c"
                },
                {
                  "fixed": "ac68d9fa09e410fa3ed20fb721d56aa558695e16"
                },
                {
                  "fixed": "b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7"
                },
                {
                  "fixed": "a946ebee45b09294c8b0b0e77410b763c4d2817a"
                },
                {
                  "fixed": "8948e30de81faee87eeee01ef42a1f6008f5a83a"
                },
                {
                  "fixed": "d24b03535e5eb82e025219c2f632b485409c898f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35915.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.2.0"
                },
                {
                  "fixed": "4.19.312"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.274"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.215"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.154"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.85"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.26"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35915.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.344748973Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://git.kernel.org/stable/c/03fe259649a551d336a7f20919b641ea100e3fff",
        "https://git.kernel.org/stable/c/11387b2effbb55f58dc2111ef4b4b896f2756240",
        "https://git.kernel.org/stable/c/755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c",
        "https://git.kernel.org/stable/c/8948e30de81faee87eeee01ef42a1f6008f5a83a",
        "https://git.kernel.org/stable/c/a946ebee45b09294c8b0b0e77410b763c4d2817a",
        "https://git.kernel.org/stable/c/ac68d9fa09e410fa3ed20fb721d56aa558695e16",
        "https://git.kernel.org/stable/c/b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7",
        "https://git.kernel.org/stable/c/d24b03535e5eb82e025219c2f632b485409c898f",
        "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
        "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35915.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35915",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35915.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35915",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521033,
  "published_at": "2024-05-19T08:35:08.239+00:00"
}