{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2023-52768",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2023-52768"
  ],
  "published": "2024-05-21T15:34:20Z",
  "summary": "wifi: wilc1000: use vmm_table as array in wilc struct",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: use vmm_table as array in wilc struct\n\nEnabling KASAN and running some iperf tests raises some memory issues with\nvmm_table:\n\nBUG: KASAN: slab-out-of-bounds in wilc_wlan_handle_txq+0x6ac/0xdb4\nWrite of size 4 at addr c3a61540 by task wlan0-tx/95\n\nKASAN detects that we are writing data beyond range allocated to vmm_table.\nThere is indeed a mismatch between the size passed to allocator in\nwilc_wlan_init, and the range of possible indexes used later: allocation\nsize is missing a multiplication by sizeof(u32)",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.64",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-52768"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/541b3757fd443a68ed8d25968eae511a8275e7c8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4b0d6ddb6466d10df878a7787f175a0e4adc3e27"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3ce1c2c3999b232258f7aabab311d47dda75605c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/05ac1a198a63ad66bf5ae8b7321407c102d40ef3"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:24:39Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The bug is in the local TX batching path (wilc_mac_xmit \u2192 wilc_wlan_handle_txq), not in parsing over-the-air frames; an attacker must generate outbound traffic on the wilc1000 netdev rather than inject Wi\u2011Fi/network protocol input.\nAC:L - Queuing \u226517 TX packets (indices past the 16 u32s that fit in the 64-byte allocation) reliably overflows the slab, as demonstrated by the iperf/KASAN report; the attacker fully controls packet rate and sizes with no race or uncontrollable layout required to trigger the write.\nPR:L - Once the interface is up, any unprivileged local user can send ordinary sockets traffic that hits ndo_start_xmit/wilc_mac_xmit; no CAP_NET_ADMIN or root is required on the vulnerable TX path.\nUI:N - The attacker triggers the overflow solely by transmitting packets themselves; no separate victim action such as mounting a device or opening a crafted file is needed.\nS:U - The slab out-of-bounds write corrupts host kernel heap within the same security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - A ~192-byte heap overflow into adjacent slab objects is memory corruption that can be leveraged for information disclosure (e.g., corrupted lengths/pointers later read), so Confidentiality is High per OOB-write guidance.\nI:H - The out-of-bounds writes of attacker-influenced packet-size fields into adjacent heap objects provide a classic integrity/control-flow hijack primitive for arbitrary kernel write and code execution.\nA:H - Writing past the undersized kmalloc(64) object corrupts adjacent slab memory and can oops/panic the kernel (as KASAN already flags), fully denying availability."
    }
  }
}
