openwrt/package/kernel
Jan Hoffmann ba7b5d23f6 ltq-adsl-mei: check status register before reading mailbox messages
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/19385
(cherry picked from commit 6889ea7b9a)
Link: https://github.com/openwrt/openwrt/pull/19839
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-24 15:30:57 +02:00
..
ath10k-ct ath10k-ct: remove "qcom,coexist-support" property type hack 2025-04-10 20:51:18 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250430 2025-06-06 12:34:56 +02:00
bcm63xx-cfe bcm63xx-cfe: update to latest version 2025-04-02 19:11:32 +02:00
bpf-headers bpf-headers: update to version 6.6 2024-09-20 23:17:43 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux cryptodev-linux: change home-page URL 2024-11-28 18:46:59 +00:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00
gpio-nct5104d treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00
lantiq ltq-adsl-mei: check status register before reading mailbox messages 2025-08-24 15:30:57 +02:00
leds-gca230718 package: kernel: leds-gca230718: fix build with Linux 6.6 2024-04-12 02:07:30 +01:00
leds-ws2812b kernel: ws2812b: use devm for mutex_init 2024-10-06 12:21:51 +02:00
linux kernel: add support for DesignWare I2C Platform controller 2025-06-12 13:51:03 +02:00
mac80211 mac80211: add patch to suppress PREP when mesh forwarding is disabled 2025-05-24 16:38:31 +02:00
mt76 mt76: update to Git HEAD (2025-08-13) 2025-08-13 17:33:08 +02:00
mt7621-qtn-rgmii treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
mwlwifi mwlwifi: update to version 10.4.11-20250206 2025-03-15 12:13:56 +01:00
nat46 treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
qca-nss-dp kernel: qca-nss-dp: add back printing attached PHY-s 2024-05-21 12:29:33 +02:00
qca-ssdk kernel: qca-ssdk: set OF node for the SFP PHY 2024-07-09 12:33:17 +02:00
r8101 kernel: r8101: load module at boot time 2025-04-23 10:22:22 +02:00
r8125 kernel: r8125: update to v9.016.00 2025-06-09 08:03:25 +02:00
r8126 kernel: r8126: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 10:25:10 +02:00
r8127 kernel: r8127: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 10:25:24 +02:00
r8168 kernel: r8168: add RSS variant 2025-04-23 10:25:39 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: fix build with mac80211 6.9.9 backport 2024-07-13 14:25:36 +02:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
ubnt-ledbar ubnt-ledbar: fix compilation error 2024-10-08 22:24:54 +02:00
ubootenv-nvram treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00