[openwrt/openwrt] ramips: disable CONFIG_LIST_HARDENED on MT7620

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 16 01:22:28 PDT 2024


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/74238413b13dbf58d9da6836f9a41179d6bcb02e

commit 74238413b13dbf58d9da6836f9a41179d6bcb02e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Oct 16 09:55:18 2024 +0200

    ramips: disable CONFIG_LIST_HARDENED on MT7620
    
    In #16396, crashes were reported on MT7620, which were introduced by enabling
    CONFIG_LIST_HARDENED. The cause seems to be random memory corruption somewhere
    in the kernel. Unfortunately the crash traces do not point to the real cause
    of the crash in any way.
    Since MT7620 is really ancient hardware that likely only has few users left,
    I don't expect that anybody will invest a significant amount of time to track
    down the real cause. Because of that, let's disable CONFIG_LIST_HARDENED on
    this target only, and leave it enabled on all other platforms.
    
    Fixes: #16396
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/ramips/mt7620/config-6.6 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/mt7620/config-6.6 b/target/linux/ramips/mt7620/config-6.6
index 20bba0c5a4..606fc51eef 100644
--- a/target/linux/ramips/mt7620/config-6.6
+++ b/target/linux/ramips/mt7620/config-6.6
@@ -102,6 +102,7 @@ CONFIG_IRQ_INTC=y
 CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_LIBFDT=y
+# CONFIG_LIST_HARDENED is not set
 CONFIG_LOCK_DEBUGGING_SUPPORT=y
 CONFIG_MARVELL_PHY=y
 CONFIG_MDIO_BUS=y




More information about the lede-commits mailing list