cxl/fwctl: Fix __fortify_panic
In the Linux kernel, the following vulnerability has been resolved: cxl/fwctl: Fix __fortify_panic Fix a runtime assertion in cxlctl_get_supported_features(). Fortify complains that it is potentially overflowing the entries array per __counted_by_le(num_entries). Quiet the false positive by initializing @num_entries earlier. memcpy: detected buffer overflow: 48 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398 RIP: 0010:__fortify_report+0x50/0xa0 Call Trace: __fortify_panic+0xd/0xf cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.40, 7.1.5
- CVEs
- CVE-2026-80640
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:39 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: cxl/fwctl: Fix __fortify_panic Fix a runtime assertion in cxlctl_get_supported_features(). Fortify complains that it is potentially overflowing the entries array per __counted_by_le(num_entries). Quiet the false positive by initializing @num_entries earlier. memcpy: detected buffer overflow: 48 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398 RIP: 0010:__fortify_report+0x50/0xa0 Call Trace: __fortify_panic+0xd/0xf cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]
osv:CVE-2026-80640
Kernel
Fixed versions: 6.18.40, 7.1.5
Complete source record
{
"id": "439bf2ea92c838abaadb948d106c12566126efb9e61c5cf079738964c3e0e66f",
"url": "https://osv.dev/vulnerability/CVE-2026-80640",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cxl/fwctl: Fix __fortify_panic",
"summary": "In the Linux kernel, the following vulnerability has been resolved: cxl/fwctl: Fix __fortify_panic Fix a runtime assertion in cxlctl_get_supported_features(). Fortify complains that it is potentially overflowing the entries array per __counted_by_le(num_entries). Quiet the false positive by initializing @num_entries earlier. memcpy: detected buffer overflow: 48 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398 RIP: 0010:__fortify_report+0x50/0xa0 Call Trace: __fortify_panic+0xd/0xf cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]",
"evidence": "osv:CVE-2026-80640",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-80640",
"aliases": [
"CVE-2026-80640"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.15.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80640.json"
}
}
],
"modified": "2026-10-28T02:30:48.319904041Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b",
"https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e",
"https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80640",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80640",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 516686,
"published_at": "2026-08-28T06:48:52.65+00:00"
}