Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: Fix NULL dereference on AIBV allocation failure The airq_iv_create() can return NULL on failure, but the return value was never checked. If it fails, zdev->aibv will be NULL and fail when dereferenced in kvm_zpci_set_airq(). Add a NULL check and free the previously allocated AISB bit and zdev->aisb on failure.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before 96099486b63985801c9c6ef22505e9aa635b2d20; affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before 0a95abe964400771ad82b027d7b84a0d183cd0db; affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before df947d85e164a50a29d43a96e814f69ab1d0f7ed; affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before e137d082325bbcae780087b57501d38585e625d9; affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before d1a103dc9016c25e7423ce5841a5cc2df76d59f3; affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc before 8bf09b9b7d3232806df95f409581f8a9fd99a3fa |
| Linux / Linux | affected 6.0; unaffected 0 before 6.0; unaffected 6.1.183 through 6.1.*; unaffected 6.6.151 through 6.6.*; unaffected 6.12.103 through 6.12.*; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/96099486b63985801c9c6ef22505e9aa635b2d20
- https://git.kernel.org/stable/c/0a95abe964400771ad82b027d7b84a0d183cd0db
- https://git.kernel.org/stable/c/df947d85e164a50a29d43a96e814f69ab1d0f7ed
- https://git.kernel.org/stable/c/e137d082325bbcae780087b57501d38585e625d9
- https://git.kernel.org/stable/c/d1a103dc9016c25e7423ce5841a5cc2df76d59f3
- https://git.kernel.org/stable/c/8bf09b9b7d3232806df95f409581f8a9fd99a3fa
ADP enrichment
No English description supplied.
No references supplied.