openwrt/target/linux
Markus Stockhausen dc9fca1fd1 realtek: 6.6: harden fw_init_cmdline()
Some devices (e.g. HP JG924A) hand over other than expected kernel boot
arguments. Looking at these one can see:

fw_init_cmdline: fw_arg0=00020000
fw_init_cmdline: fw_arg1=00060000
fw_init_cmdline: fw_arg2=fffdffff
fw_init_cmdline: fw_arg3=0000416c

Especially fw_arg2 should be the pointer to the environment and it looks
very suspicous. It is not aligned and the address is outside KSEG0 and
KSEG1. Booting the device will result in a hang. Do better at verifying
the address.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Suggested-by: Bjørn Mork <bjorn@mork.no>
2024-09-14 20:08:57 +02:00
..
airoha airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx kernel: rtl8367b: use realtek,extif property 2024-08-06 00:34:14 +02:00
archs38 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
armsr kernel: bump 6.1 to 6.1.107 2024-08-31 20:11:41 +02:00
at91 at91: 5.15: remove old config and patch files 2024-04-28 17:50:37 +02:00
ath79 kernel: bump 6.6 to 6.6.48 2024-08-31 20:08:13 +02:00
bcm27xx kernel: bump 6.6 to 6.6.50 2024-09-08 21:29:13 +02:00
bcm47xx generic: 6.6: add backported bmips CBR patches 2024-08-06 14:06:09 +02:00
bcm53xx bcm53xx: drop 6.1 support 2024-09-09 14:29:58 +02:00
bcm4908 bcm4908: drop 6.1 support 2024-08-30 11:39:44 +02:00
bmips bmips: add support for TP-Link TD-W8968 V3 2024-08-24 20:35:30 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
generic kernel: backport nvmem changes from v6.12 2024-09-12 08:59:36 +02:00
imx kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
ipq40xx ipq40xx: define config-names for Aruba boards 2024-09-11 00:37:34 +02:00
ipq806x treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
lantiq treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
layerscape kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
loongarch64 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
malta kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
mediatek mediatek: apply pending PHY driver fixes 2024-09-12 15:43:05 +02:00
mpc85xx mpc85xx: add static to init functions 2024-09-07 22:24:07 +02:00
mvebu mvebu: GL-MV1000: let u-boot-env be writable again 2024-08-06 21:46:25 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: set Linux 6.6 as the default kernel 2024-09-09 18:24:34 +02:00
omap kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
pistachio kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
qoriq kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
qualcommax ipq807x: add support for TP-Link EAP660 HD v1 2024-09-08 12:01:19 +02:00
ramips ramips: mt76x8: add missing model string to Yuncore M300 2024-09-11 00:17:05 +02:00
realtek realtek: 6.6: harden fw_init_cmdline() 2024-09-14 20:08:57 +02:00
rockchip treewide: update contact information 2024-09-11 00:37:34 +02:00
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive starfive: drop 6.1 support 2024-09-10 12:04:09 +02:00
sunxi kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
tegra tegra: promote kernel 6.6 as default 2024-07-13 14:29:16 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00
zynq zynq: drop 6.1 support 2024-08-03 11:36:59 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00