macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < d43a8c7ec0841e0ff91a968770aeca83f0fd4c56| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s via-macii ADB driver calls request_irq() after disabling hard interrupts, triggering a sleeping-function warning in an invalid context. The input does not establish what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the via-macii ADB driver should check their versions; affected versions are not specified.