s390/pci: Fix leak of uninitialized kernel data in SCLP report
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 126a7c227d8543e13903dd5622640c1f0fcc5a16, Kernel 332f2d867f64dd530517e9a58394e3eab454df12, Kernel 61ce6f9a527932f4482ebe00847490f17d63a0d1 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix leak of uninitialized kernel data in SCLP report While report_error_write() checks that the provided buffer is at least as large as the header struct, but not that it is large enough to contain the report with the length claimed by report->length. If user-space provides a short buffer, meaning a larger report->length than the actually written payload, up to around 4K of kernel data from past the kmalloc(len + 1) sized buffer allocated in kernfs_fop_write_iter() will leak into the SCLP report. However, as the entity processing the SCLP is privileged and able to access at least the page including the report, this does not leak data that entity could not access but it is still an out of bounds read and a malformed error report that should be rejected.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.7, >=368704a65be8620df795ccbeb44e025dafbc3e1f <126a7c227d8543e13903dd5622640c1f0fcc5a16, >=368704a65be8620df795ccbeb44e025dafbc3e1f <332f2d867f64dd530517e9a58394e3eab454df12, >=368704a65be8620df795ccbeb44e025dafbc3e1f <61ce6f9a527932f4482ebe00847490f17d63a0d1, >=368704a65be8620df795ccbeb44e025dafbc3e1f <8ac60ae2a307a50b599bf5d300b448d638f3ba29, >=368704a65be8620df795ccbeb44e025dafbc3e1f <ad1be38823d4b6dbc88648da296ca0c0f8824a55, >=368704a65be8620df795ccbeb44e025dafbc3e1f <ba5001db9bb23ff7d2ea328c405c287ffb07786f, >=368704a65be8620df795ccbeb44e025dafbc3e1f <eb10f25e32576bb3dbbea4457648614537f04211, >=368704a65be8620df795ccbeb44e025dafbc3e1f <ff31c34e921d11c7da3d7664ce495106267ca408 | 126a7c227d8543e13903dd5622640c1f0fcc5a16, 332f2d867f64dd530517e9a58394e3eab454df12, 61ce6f9a527932f4482ebe00847490f17d63a0d1, 8ac60ae2a307a50b599bf5d300b448d638f3ba29, ad1be38823d4b6dbc88648da296ca0c0f8824a55, ba5001db9bb23ff7d2ea328c405c287ffb07786f, eb10f25e32576bb3dbbea4457648614537f04211, ff31c34e921d11c7da3d7664ce495106267ca408 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket