Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: xilinx: formatter_pcm: pass aud_drv_data to irq handlers The irq handlers take a struct device pointer and call dev_get_drvdata() to obtain the driver data. However, the driver data is only set at the end of probe, after devm_request_irq(), so an interrupt taken in between causes the handlers to pass a NULL pointer to readl() and crash. Pass the private data directly as the devm_request_irq() argument instead of the device pointer, matching what the handlers expect.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before 7d857aec162fb02d10ce326aecc1ac7509c31f43; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before a85315f2eb06adc5597a7103e1910fc7d0d35ffd; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before 721cfeb0b9572084435695ae535411b921d1ea68; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before b4ef887bee4d3c177adac5d1eab8b2de31b08ac3; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before 0d58a70b6dc7b65772e3ef7c43beb91882cf9ed5; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before f51a540b14eecb8667bbe450192318271b87631e; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before 09e4c486348e176c083f8bee9169ae8f408cf8d1; affected 6f6c3c36f0917be24587eeba818ab4fdfcb5465a before f12afefb7b01f94d6d66d397f323a9914edbf70e |
| Linux / Linux | affected 5.1; unaffected 0 before 5.1; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 through 5.15.*; unaffected 6.1.184 through 6.1.*; unaffected 6.6.153 through 6.6.*; unaffected 6.12.105 through 6.12.*; unaffected 6.18.46 through 6.18.*; unaffected 7.1.10 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7d857aec162fb02d10ce326aecc1ac7509c31f43
- https://git.kernel.org/stable/c/a85315f2eb06adc5597a7103e1910fc7d0d35ffd
- https://git.kernel.org/stable/c/721cfeb0b9572084435695ae535411b921d1ea68
- https://git.kernel.org/stable/c/b4ef887bee4d3c177adac5d1eab8b2de31b08ac3
- https://git.kernel.org/stable/c/0d58a70b6dc7b65772e3ef7c43beb91882cf9ed5
- https://git.kernel.org/stable/c/f51a540b14eecb8667bbe450192318271b87631e
- https://git.kernel.org/stable/c/09e4c486348e176c083f8bee9169ae8f408cf8d1
- https://git.kernel.org/stable/c/f12afefb7b01f94d6d66d397f323a9914edbf70e