Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize official source code #120

Merged
merged 12 commits into from
Aug 16, 2024
Merged

Synchronize official source code #120

merged 12 commits into from
Aug 16, 2024

Commits on Jul 28, 2024

  1. ltq-ptm: Fix netdev ioctls with kernel > 5.15

    .ndo_do_ioctl is not called for SIOCDEVPRIVATE any more, the kernel
    calls .ndo_siocdevprivate now.
    
    The function gets the data pointer from the callback directly, make use
    of it.
    
    See upstream Linux kernel commit:
    https://git.kernel.org/linus/b9067f5dc4a07c8e24e01a1b277c6722d91be39e
    
    Link: openwrt#16005
    (cherry picked from commit e33ebdd)
    Link: openwrt#16023
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    1478f64 View commit details
    Browse the repository at this point in the history
  2. ath79: Fix PHY access over ag71xx driver

    .ndo_do_ioctl is not called any more. For PHY MII ioctl handling, the
    kernel calls .ndo_eth_ioctl now.
    
    The SIOCSIFHWADDR and SIOCGIFHWADDR operation are handled in the generic
    code in the same way just with more input validation.
    
    See upstream Linux kernel commit:
    https://git.kernel.org/linus/a76053707dbf0dc020a73b4d90cd952409ef3691
    
    Reported-by: Cthulhu88 in https://forum.openwrt.org/t/ethernet-leds-control-for-tp-link-tl-wr1043nd-v2-v3/202378
    Link: openwrt#16005
    (cherry picked from commit f86273e)
    Link: openwrt#16023
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    e5233fa View commit details
    Browse the repository at this point in the history
  3. ramips: eth: Fix PHY access over mtk_eth_soc driver

    .ndo_do_ioctl is not called any more. For PHY MII ioctl handling, the
    kernel calls .ndo_eth_ioctl now.
    
    See upstream Linux kernel commit:
    https://git.kernel.org/linus/a76053707dbf0dc020a73b4d90cd952409ef3691
    
    Link: openwrt#16005
    (cherry picked from commit dbccc9c)
    Link: openwrt#16023
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    c4dc5db View commit details
    Browse the repository at this point in the history
  4. ipq40xx: eth: Fix PHY access over ipqess driver

    .ndo_do_ioctl is not called any more. For PHY MII ioctl handling, the
    kernel calls .ndo_eth_ioctl now.
    
    See upstream Linux kernel commit:
    https://git.kernel.org/linus/a76053707dbf0dc020a73b4d90cd952409ef3691
    
    Link: openwrt#16005
    (cherry picked from commit f0bb25a)
    Link: openwrt#16023
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    2e06418 View commit details
    Browse the repository at this point in the history
  5. ath25: eth: Fix PHY access over ar2313 driver

    .ndo_do_ioctl is not called any more. For PHY MII ioctl handling, the
    kernel calls .ndo_eth_ioctl now.
    
    See upstream Linux kernel commit:
    https://git.kernel.org/linus/a76053707dbf0dc020a73b4d90cd952409ef3691
    
    Link: openwrt#16023
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    6edde2b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. mac80211: Update to version 6.1.102-1

    Upstream removed SSB and BCMA, the drivers are now compiled against the
    in kernel versions. No need to patch this for OpenWrt.
    
    Link: openwrt#15983
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    f99dffc View commit details
    Browse the repository at this point in the history
  2. kernel: bump 5.15 to 5.15.164

    No manual changes needed.
    
    Link: openwrt#16027
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    hauke committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    07cb7cb View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. hostapd: fix SAE H2E security vulnerability

    This patch backports fixes for a security vulnerability impacting the
    hostapd implementation of SAE H2E.
    
    As upgrading hostapd would require more testing, the second mitigation
    step which involves backporting several patches was adopted as outlined
    in the official advisory[1].
    
    An explanation of the impact of the vulnerability is provided from the
    advisory[1]:
    
    This vulnerability allows the attacker to downgrade the negotiated group
    to another enabled group if both the AP and STA have enabled SAE H2E and
    multiple groups. It should be noted that the H2E option is not enabled
    by default and the attack is not applicable to the default option, i.e.,
    hunting-and-pecking, since it does not have any downgrade protection for
    group negotiation. In addition, the default configuration for enabled
    SAE groups in hostapd is to enable only a single group, so the
    vulnerability is not applicable unless hostapd has been explicitly
    configured to enable more groups for SAE.
    
    [1]: https://w1.fi/security/2024-2/sae-h2h-and-incomplete-downgrade-protection-for-group-negotiation.txt
    
    Signed-off-by: Rany Hany <rany_hany@riseup.net>
    Link: openwrt#16043
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    (cherry picked from commit db7f70f)
    rany2 authored and hauke committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e4625c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. kernel: ubootenv-nvram: driver for RAM backed environments

    The vendor U-Boot implementaion on Telenor branded ZyXEL EX5700
    devices does not store its environment on flash. It is instead
    kept in a memory region.  This is persistent over reboots, but
    not over power cycling.
    
    The dual partition failsafe system used by the vendor U-Boot
    requires the OS to modify a variable in this memory environment.
    This driver allows the ordinary uboot-envtools to access a
    memory region like it was a partition on NOR flash.
    
    The specific vendor U-Boot adds a "no-map" /reserved-memory
    section and a top level /ubootenv node pointing to the memory
    environment.  The driver uses this device specific fact to
    locate the region.  The matching and probing code will likely
    have to be adjusted for any other devices to be supported.
    
    Example partial device tree:
    
     / {
        ..
        ubootenv {
            memory-region = <&uenv>;
            compatible = "ubootenv";
        };
        ..
        reserved-memory {
            ..
            uenv: ubootenv@7ffe8000 {
                no-map;
                reg = <0 0x7ffe8000 0 0x4000>;
            };
    
    Signed-off-by: Bjørn Mork <bjorn@mork.no>
    (cherry picked from commit b2e810f)
    bmork authored and Rafał Miłecki committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c241885 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. mediatek: increase phy assert time for jdcloud re-cp-03

    According to RTL8221B's datasheet, the PHY requires at least 10ms
    for assert and 68ms (recommended) for de-assert. So increase the
    assert/de-assert time to 15ms and 68ms respectively.
    
    Fixes: c0c3234 ("mediatek: add support for JDCloud RE-CP-03")
    Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
    Link: openwrt#16106
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    (cherry picked from commit d1954aa)
    1715173329 authored and hauke committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    6fadcee View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. mediatek: enable rootwait for cmcc rax3000m emmc version

    Sometimes the mmc deivce may come up later than kernel attempts to
    mount rootfs, resulting kernel panic. Enable rootwait to fix it.
    
    Reported-by: Yangyu Chen <cyy@cyyself.name>
    Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
    Link: openwrt#15077
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    1715173329 authored and hauke committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    a591f9c View commit details
    Browse the repository at this point in the history
  2. mediatek: fix lan/wan macaddr for cmcc rax3000m

    The MAC address assigned to lan/wan was reversed on eMMC boards.
    
    Fixes: d3c1935 ("mediatek: add CMCC RAX3000M support")
    Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
    Link: openwrt#15077
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    1715173329 authored and hauke committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    cce5b49 View commit details
    Browse the repository at this point in the history