scsi: qedf: Make qedf_execute_tmf() non-preemptible
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd · < 2b9c7787cfcd1e76d873a78f16cf45bfa4b100ea| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: qedf: Make qedf_execute_tmf() non-preemptible
Stop calling smp_processor_id() from preemptible code in qedf_execute_tmf90. This results in BUG_ON() when running an RT kernel.
[ 659.343280] BUG: using smp_processor_id() in preemptible [00000000] code: sg_reset/3646 [ 659.343282] caller is qedf_execute_tmf+0x8b/0x360 [qedf]
From the CVE record · Linux
The Linux kernel’s qedf SCSI driver calls smp_processor_id() from preemptible code in qedf_execute_tmf(). On an RT kernel, this can trigger a BUG_ON() during sg_reset. The input does not establish whether an attacker can trigger it or what access would be required.
Engineers running Linux RT kernels with the qedf driver should check their kernel versions; affected versions were not provided.