{"id":"CVE-2026-80640","summary":"cxl/fwctl: Fix __fortify_panic","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/fwctl: Fix __fortify_panic\n\nFix a runtime assertion in cxlctl_get_supported_features(). Fortify\ncomplains that it is potentially overflowing the entries array per\n__counted_by_le(num_entries). Quiet the false positive by initializing\n@num_entries earlier.\n\n memcpy: detected buffer overflow: 48 byte write of buffer size 0\n WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398\n RIP: 0010:__fortify_report+0x50/0xa0\n Call Trace:\n  __fortify_panic+0xd/0xf\n  cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]","modified":"2026-08-30T03:48:20.872088708Z","published":"2026-08-28T06:48:52.650Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80640"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d"},{"fixed":"b8d15e85596ad8993d42e0703a9741961a2f03eb"},{"fixed":"18c67ecc5dafe14055edcea53f36f4e31df1816b"},{"fixed":"6c9d2e87df40d606f1c85143e9acb1ecff463d5e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80640.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80640.json"}}],"schema_version":"1.9.0"}