{"id":"CVE-2026-80640","state":"PUBLISHED","title":"cxl/fwctl: Fix __fortify_panic","description":"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]","publishedAt":"2026-08-28T06:48:52.650Z","updatedAt":"2026-08-28T06:48:52.650Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"b8d15e85596ad8993d42e0703a9741961a2f03eb","versionType":"git"},{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"18c67ecc5dafe14055edcea53f36f4e31df1816b","versionType":"git"},{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"6c9d2e87df40d606f1c85143e9acb1ecff463d5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]}],"references":["https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb","https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b","https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80640.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80640","state":"PUBLISHED","datePublished":"2026-08-28T06:48:52.650Z","dateUpdated":"2026-08-28T06:48:52.650Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.778Z"},"containers":{"cna":{"title":"cxl/fwctl: Fix __fortify_panic","descriptions":[{"lang":"en","value":"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]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"b8d15e85596ad8993d42e0703a9741961a2f03eb","versionType":"git"},{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"18c67ecc5dafe14055edcea53f36f4e31df1816b","versionType":"git"},{"version":"4d1c09cef2c244bd19467c016a3e56ba28ecc59d","status":"affected","lessThan":"6c9d2e87df40d606f1c85143e9acb1ecff463d5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb"},{"url":"https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b"},{"url":"https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-28T06:48:52.650Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}