Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: s390/ism: folio_put() after error dmb->cpu_addr was allocated via folio_alloc(). Use folio_put() instead of kfree() in the error exit of ism_alloc_dmb() to avoid slab allocator corruption. While at it, reset dmb->cpu_addr after folio_put to avoid unintentional UAF by future callers.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 121fb75414ab8debafd548bded9d888cd5a8f165 before 90f6f5cb331af52b14c0f309fb27dc243e8e2982; affected 83781384a96b95e2b6403d3c8a002b2c89031770 before 890e2ef726904d1d8328e4b9f5090eeb8761b9d1; affected 83781384a96b95e2b6403d3c8a002b2c89031770 before eebb6a9017b55ac05be770cf7b89f9da49505ae7; affected 83781384a96b95e2b6403d3c8a002b2c89031770 before 60983356fab0c1171c5cb1b56a36349ebadc608e; affected 83781384a96b95e2b6403d3c8a002b2c89031770 before 907a56ab3eb8a58500a58daa76087f17bb2b6826; affected f3e23edc4917f72139b805f208aeadf23376a0b5; affected 6.6.29 before 6.6.158; affected 6.8.8 before 6.9 |
| Linux / Linux | affected 6.9; unaffected 0 before 6.9; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/90f6f5cb331af52b14c0f309fb27dc243e8e2982
- https://git.kernel.org/stable/c/890e2ef726904d1d8328e4b9f5090eeb8761b9d1
- https://git.kernel.org/stable/c/eebb6a9017b55ac05be770cf7b89f9da49505ae7
- https://git.kernel.org/stable/c/60983356fab0c1171c5cb1b56a36349ebadc608e
- https://git.kernel.org/stable/c/907a56ab3eb8a58500a58daa76087f17bb2b6826