parisc: eisa: Fix infinite loop when parsing invalid IRQ value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 3e2691eeee83a819125dba3f42c74e1b6730d5cd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
parisc: eisa: Fix infinite loop when parsing invalid IRQ value
When an invalid value is passed via the "eisa_irq_edge=" kernel command line parameter (e.g. "eisa_irq_edge=16,5"), eisa_irq_setup() prints an error message and continues without advancing the current position. As a result the same invalid value is parsed again and again, causing an infinite loop while the kernel boots.
Advance to the next comma-separated entry, or stop parsing when there is no next entry, before continuing so that the remaining entries are processed normally.
From the CVE record · Linux
The Linux kernel’s parisc EISA IRQ parser can enter an infinite loop when the eisa_irq_edge= boot parameter contains an invalid value. Someone able to set that kernel command-line parameter can cause the kernel to hang during boot; the input does not establish a network attack path.
Engineers running the Linux kernel on parisc systems that use the eisa_irq_edge= boot parameter should check their installations; affected versions are not specified.