{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "980cd426a25747daf8ed25e2a1904b2d26ffbb3d"
            },
            {
              "fixed": "0a5f411becfb7c57aa89827213d31ef23a03d75a"
            },
            {
              "fixed": "bc851db06045a40c18233dd76ef0562d7f8bb6db"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.0.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46305.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc\n\nThe return value of kzalloc_flex() is used without\nensuring that the allocation succeeded, and the\npointer is dereferenced unconditionally.\n\nGuard the access to the allocated structure to\navoid a potential NULL pointer dereference if the\nallocation fails.",
  "id": "CVE-2026-46305",
  "modified": "2026-07-10T03:53:55.105570050Z",
  "published": "2026-06-08T15:46:32.831Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46305.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46305"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc"
}