{"vuln_id":"CVE-2026-99795","aliases":[],"description":"kernel: kernel: Denial of Service via premature array access in CXL subsystem","published_at":"2026-11-20T05:51:54Z","modified_at":"2026-11-20T06:18:19Z","first_seen_at":"2026-11-21T19:15:15.261456Z","severity":"medium","severity_source":"redhat","cvss_score":4.4,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-617"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00219,"epss_percentile":0.1238,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99795"},"matched_alias":null,"items":[{"id":9612,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99795: In the Linux kernel, the following vulnerability has been resolved: cxl/features: Ensure that count is set before access to ent[] __counted_by() get_supported_…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Ensure that count is set before access to ent[] __counted_by()\n\nget_supported_features() assigns entries->num_features only after the\nmemcpy() loop that fills entries->ent[] has already run. Since ent[]\nis __counted_by(num_features), the compiler's bounds instrumentation\nsees a 0-length array during that loop and FORTIFY_SOURCE trips on\nthe memcpy. Set @num_features right after allocation, before any\nwrite into ent[], so the bound is correct for the whole lifetime of\nthe array.\n\nThis was found via a fortify panic:\n\n memcpy: detected buffer overflow: 384 byte write of buffer size 0\n WARNING: lib/string_helpers.c:1035 at __fortify_report+0x54/0xa0\n kernel BUG at lib/string_helpers.c:1043!\n Call trace:\n  __fortify_panic+0x10/0x18\n  get_supported_features.isra.0+0x4a0/0x4d0 [cxl_core]\n  devm_cxl_setup_features+0x84/0x120 [cxl_core]\n  cxl_pci_probe+0x254/0x5e0 [cxl_pci]\n\nSame class of bug, same fix shape as commit 6c9d2e87df40\n(\"cxl/fwctl: Fix __fortify_panic\"), which fixed the analogous issue\nin cxlctl_get_supported_features() but missed this one.\n\n[ dj: Fixed up title typo per Jonathan. ]\n\nReferences:\nhttps://git.kernel.org/stable/c/63714fa4033b51ce615be6f083be0b19847d0d1e\nhttps://git.kernel.org/stable/c/c1031c2474f73261d8d5e4deef2b5dc20fb964f5\nhttps://git.kernel.org/stable/c/deb8b87c027db150de626a5808f648b1e52d90a1","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99795","published_at":"2026-11-20T06:18:19Z","updated_at":"2026-11-20T06:18:19Z","fetched_at":"2026-11-21T19:15:31.485166Z","severity":"medium","cvss_score":4.4,"epss":0.00219,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99795","vuln_ids":["CVE-2026-99795"],"tags":[],"cluster_id":566,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9612","html":"https://vulnwatch.ve1ve2.com/item/9612"}},{"id":827,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99795: kernel: kernel: Denial of Service via premature array access in CXL subsystem","summary":"kernel: kernel: Denial of Service via premature array access in CXL subsystem","url":"https://access.redhat.com/security/cve/cve-2026-99795","published_at":"2026-11-20T05:51:54Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.892925Z","severity":"medium","cvss_score":4.4,"epss":0.00219,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99795","vuln_ids":["CVE-2026-99795"],"tags":["redhat"],"cluster_id":566,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/827","html":"https://vulnwatch.ve1ve2.com/item/827"}}]}