Linux
scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE
In the Linux kernel, the following vulnerability has been resolved: scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE In the iblock_execute_pr_out() function, PRO_PREEMPT, PRO_PREEMPT_AND_ABORT, and PRO_RELEASE all perform callback capability checks through ops->pr_clear. The error check allows unimplemented hooks to pass through the gate, resulting dereferencing a NULL function pointer. Check whether the hooks that need to be called are supported.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 394f811848827ad23d2b43e94e5d72a24cfbc39f, < 3c60a8b4037dc35e365658fcbcb349a5d742ff49
- >= 394f811848827ad23d2b43e94e5d72a24cfbc39f, < a326b19cfb7775378b50acaa8d836ba44e29b4c2
- >= 394f811848827ad23d2b43e94e5d72a24cfbc39f, < bdd8a1297ef101bb5ac57e53b4fbe5e364afd8b1
- >= 394f811848827ad23d2b43e94e5d72a24cfbc39f, < f15bcf9a99b1b2683fcfa005b9b3680b5600581f
- >= 394f811848827ad23d2b43e94e5d72a24cfbc39f, < 9c33222bd387312874fbe36ca8002e5c945b9653
Fixed in 3c60a8b4037dc35e365658fcbcb349a5d742ff49, a326b19cfb7775378b50acaa8d836ba44e29b4c2, bdd8a1297ef101bb5ac57e53b4fbe5e364afd8b1, f15bcf9a99b1b2683fcfa005b9b3680b5600581f, 9c33222bd387312874fbe36ca8002e5c945b9653
- 6.5
Fixed in 0, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 3c60a8b4037dc35e365658fcbcb349a5d742ff49 or a326b19cfb7775378b50acaa8d836ba44e29b4c2 or bdd8a1297ef101bb5ac57e53b4fbe5e364afd8b1 or f15bcf9a99b1b2683fcfa005b9b3680b5600581f or 9c33222bd387312874fbe36ca8002e5c945b9653 or later.
Upgrade Linux to 0 or 6.6.151 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.