cxl/test: Fix __fortify_panic
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 08326b92c7a414a73b5b308d1daf0e91e0134dfc and Kernel 8c4f27a7f364eab514d2fa55c11f39d505122f1b.
In the Linux kernel, the following vulnerability has been resolved: cxl/test: Fix __fortify_panic Fix a runtime assertion in setup_xor_mapping(). Fortify complains that it is potentially overflowing the xormaps array per __counted_by(nr_maps). Quiet the false positive by initializing @nr_maps earlier. memcpy: detected buffer overflow: 32 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#8: modprobe/2728 Call Trace: __fortify_panic+0xd/0xf setup_xor_mapping+0x6c/0xa0 [cxl_translate] [ dj: Fixed up @nr_entries to @nr_maps in commit log. ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=06377c54a133621d61fa76cdcea85077c5b958f4 <08326b92c7a414a73b5b308d1daf0e91e0134dfc, >=06377c54a133621d61fa76cdcea85077c5b958f4 <8c4f27a7f364eab514d2fa55c11f39d505122f1b | 08326b92c7a414a73b5b308d1daf0e91e0134dfc, 8c4f27a7f364eab514d2fa55c11f39d505122f1b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket