# CVE-2024-42124: scsi: qedf: Make qedf_execute_tmf() non-preemptible

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-07-30T07:46:16.052Z
- Modified: 2026-06-17T07:48:53.110Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from 61d8658b4a435eac729966cc94cdda077a8df5cd before 4f314aadeed8cdf42c8cf30769425b5e44702748; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 5ceb40cdee721e13cbe15a0515cacf984e11236b; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 0a8a91932b2772e75bf3f6d133ca4225d1d3e920; from 61d8658b4a435eac729966cc94cdda077a8df5cd before fa49c65a1cec6a3901ef884fdb24d98068b63493; from 61d8658b4a435eac729966cc94cdda077a8df5cd before b6ded5316ec56e973dcf5f9997945aad01a9f062; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 2b9c7787cfcd1e76d873a78f16cf45bfa4b100ea; from 61d8658b4a435eac729966cc94cdda077a8df5cd before 0d8b637c9c5eeaa1a4e3dfb336f3ff918eb64fec; 4.11 (not affected: before 4.11; from 5.4.280 up to 5.4.*; from 5.10.222 up to 5.10.*; from 5.15.163 up to 5.15.*; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.11 before 5.4.280; from 5.5 before 5.10.222; from 5.11 before 5.15.163; from 5.16 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9

## References

- <https://git.kernel.org/stable/c/4f314aadeed8cdf42c8cf30769425b5e44702748> (patch)
- <https://git.kernel.org/stable/c/5ceb40cdee721e13cbe15a0515cacf984e11236b> (patch)
- <https://git.kernel.org/stable/c/0a8a91932b2772e75bf3f6d133ca4225d1d3e920> (patch)
- <https://git.kernel.org/stable/c/fa49c65a1cec6a3901ef884fdb24d98068b63493> (patch)
- <https://git.kernel.org/stable/c/b6ded5316ec56e973dcf5f9997945aad01a9f062> (patch)
- <https://git.kernel.org/stable/c/2b9c7787cfcd1e76d873a78f16cf45bfa4b100ea> (patch)
- <https://git.kernel.org/stable/c/0d8b637c9c5eeaa1a4e3dfb336f3ff918eb64fec> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42124](https://www.cve.org/CVERecord?id=CVE-2024-42124), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42124](https://nvd.nist.gov/vuln/detail/CVE-2024-42124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42124 · Whole record: https://cve.day/CVE-2024-42124.json · Rebuilt by cve.day 2026-11-25T22:58:43.407Z
