# CVE-2024-38607: macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"

- 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.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-19T13:48:17.096Z
- Modified: 2026-06-17T07:40:42.180Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"

The via-macii ADB driver calls request_irq() after disabling hard
interrupts. But disabling interrupts isn't necessary here because the
VIA shift register interrupt was masked during VIA1 initialization.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e4ff8bcfb2841fe4e17e5901578b632adb89036d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1e9c3f2caec548cfa7a65416ec4e6006e542f18e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 280619bbdeac186fb320fab3d61122d2a085def8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 010d4cb19bb13f423e3e746b824f314a9bf3e9a9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 787fb79efc15b3b86442ecf079b8148f173376d7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d43a8c7ec0841e0ff91a968770aeca83f0fd4c56; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5900a88e897e6deb1bdce09ee34167a81c2da89d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2907d409ce5946390f513976f0454888d37d1058; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d301a71c76ee4c384b4e03cdc320a55f5cf1df05; 2.6.12 (not affected: before 2.6.12; from 4.19.316 up to 4.19.*; from 5.4.278 up to 5.4.*; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 2.6.13 before 4.19.316; from 4.20 before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3; 2.6.12

## References

- <https://git.kernel.org/stable/c/e4ff8bcfb2841fe4e17e5901578b632adb89036d> (patch)
- <https://git.kernel.org/stable/c/1e9c3f2caec548cfa7a65416ec4e6006e542f18e> (patch)
- <https://git.kernel.org/stable/c/280619bbdeac186fb320fab3d61122d2a085def8> (patch)
- <https://git.kernel.org/stable/c/010d4cb19bb13f423e3e746b824f314a9bf3e9a9> (patch)
- <https://git.kernel.org/stable/c/787fb79efc15b3b86442ecf079b8148f173376d7> (patch)
- <https://git.kernel.org/stable/c/d43a8c7ec0841e0ff91a968770aeca83f0fd4c56> (patch)
- <https://git.kernel.org/stable/c/5900a88e897e6deb1bdce09ee34167a81c2da89d> (patch)
- <https://git.kernel.org/stable/c/2907d409ce5946390f513976f0454888d37d1058> (patch)
- <https://git.kernel.org/stable/c/d301a71c76ee4c384b4e03cdc320a55f5cf1df05> (patch)

## Sources

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

---

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