openwrt-6.x/package/kernel
Jan Hoffmann 6889ea7b9a 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
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-17 21:10:37 +02:00
..
ath10k-ct ath10k-ct: update to latest version 6.14 from 2025-04-30 2025-05-07 14:46:26 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250430 2025-06-06 12:34:01 +02:00
bcm63xx-cfe bcm63xx-cfe: install into image staging dir 2025-04-13 10:44:19 +02:00
bpf-headers bpf-headers: fix kernel-$(PKG_PATCHVER) location 2025-04-23 10:29:14 +02:00
button-hotplug
cryptodev-linux cryptodev-linux: fix sysctl warning for kernel 6.12 2025-06-12 10:57:22 +02:00
dtc/patches
gpio-button-hotplug gpio-button-hotplug: convert to .remove_new 2025-04-11 11:21:18 +02:00
gpio-nct5104d treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
lantiq ltq-adsl-mei: check status register before reading mailbox messages 2025-07-17 21:10:37 +02:00
leds-gca230718 kernel: leds-gca230718: remove _remove 2024-12-24 00:23:35 +01:00
leds-ws2812b kernel: ws2812b: use devm for mutex_init 2024-10-06 12:21:51 +02:00
linux kernel: package hid-alps module 2025-07-16 13:14:16 +01:00
mac80211 mac80211: fix wmac node names 2025-07-07 17:28:14 +02:00
mt76 mt76: update to Git HEAD (2025-07-07) 2025-07-07 19:40:34 +02:00
mt7621-qtn-rgmii treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
mwlwifi mwlwifi: add pending patch to fix compilation with kernel 6.12 2025-06-03 20:40:54 +02:00
nat46 nat46: bump to latest git HEAD 2025-04-23 2025-05-10 21:34:25 +02:00
qca-nss-dp qca-nss-dp: update for 6.12 compatibility 2025-05-16 17:57:40 +02:00
qca-ssdk qca-ssdk: update to Git HEAD (2025-05-30) 2025-06-02 22:59:05 +02:00
r8101 kernel: r8101: load module at boot time 2025-04-23 09:14:26 +02:00
r8125 kernel: r8125: update to v9.016.00 2025-06-09 08:02:21 +02:00
r8126 kernel: r8126: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 09:37:43 +02:00
r8127 kernel: r8127: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 09:38:04 +02:00
r8168 kernel: r8168: add RSS variant 2025-04-23 09:39:24 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct mac80211: update to version 6.14.11 2025-07-05 14:43:08 +02:00
trelay kernel: trelay: fix build warning on 6.12 kernel 2025-05-03 20:16:25 +02:00
ubnt-ledbar ubnt-ledbar: fix compilation error 2024-10-08 22:24:54 +02:00
ubootenv-nvram ubootenv-nvram: convert driver to .remove_new 2025-04-11 11:21:20 +02:00