{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2024-42284",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2024-42284"
  ],
  "published": "2024-08-17T09:11:20Z",
  "summary": "tipc: Return non-zero value from tipc_udp_addr2str() on error",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: Return non-zero value from tipc_udp_addr2str() on error\n\ntipc_udp_addr2str() should return non-zero value if the UDP media\naddress is invalid. Otherwise, a buffer overflow access can occur in\ntipc_media_addr_printf(). Fix this by returning 1 on an invalid UDP\nmedia address.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.103",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-42284"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7ec3335dd89c8d169e9650e4bac64fde71fdf15b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/253405541be2f15ffebdeac2f4cf4b7e9144d12f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/aa38bf74899de07cf70b50cd17f8ad45fb6654c8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5eea127675450583680c8170358bcba43227bd69"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/728734352743a78b4c5a7285b282127696a4a813"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/76ddf84a52f0d8ec3f5db6ccce08faf202a17d28"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2abe350db1aa599eeebc6892237d0bce0f1de62a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fa96c6baef1b5385e2f0c0677b32b3839e716076"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:52:36Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 9.1,
      "cvss_v3_severity": "Critical",
      "scenario": "AV:N - The malformed media address is parsed straight out of a TIPC LINK_CONFIG discovery packet received on the UDP bearer socket (port 6118), which accepts routable unicast/replicast traffic from arbitrary sources with no peer-address check in tipc_udp_recv(). A remote host can therefore reach the vulnerable code with a single crafted UDP datagram.\nAC:L - One crafted packet with proto set to any value other than ETH_P_IP/ETH_P_IPV6 and msg_prevnode=0 deterministically reaches disc_dupl_alert() and the uninitialized-buffer read; there is no race, no memory-layout dependency, and no condition outside the attacker's control.\nPR:N - TIPC neighbor discovery is processed before any link is established and, with the default configuration (no CONFIG_TIPC_CRYPTO keys), involves no authentication whatsoever. The attacker needs no account or credentials on the target.\nUI:N - The victim node processes incoming discovery messages automatically in softirq context; no administrator or user action is required beyond having the UDP bearer already enabled.\nS:U - The out-of-bounds read and the leaked data both stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The %s conversion reads an uninitialized 60-byte stack buffer past its end until a NUL byte, and the harvested kernel stack contents are printed into the kernel log via pr_warn \u2014 an unbounded stack out-of-bounds read that can disclose kernel pointers and defeat KASLR.\nI:N - No out-of-bounds or attacker-controlled write occurs; every scnprintf() destination remains correctly length-bounded, so no kernel data is modified.\nA:H - The unbounded stack read can fault into the VMAP_STACK guard page and immediately panics KASAN/panic_on_warn kernels as a stack-out-of-bounds report, and the trigger is a non-ratelimited pr_warn that a remote attacker can drive repeatedly."
    }
  }
}
