net: bcmgenet: restore the hardware filters on open
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: net: bcmgenet: restore the hardware filters on open bcmgenet_hfb_init() runs INIT_LIST_HEAD() on priv->rxnfc_list, which drops every rule off the list, and bcmgenet_open() calls it on each ifup. Every rule the user configured is silently lost: ethtool -N eth0 flow-type ether dst $MAC action 0 Added rule with ID 0 ethtool -n eth0 | grep -c Filter: 1 ip link set eth0 down && ip link set eth0 up ethtool -n eth0 | grep -c Filter: 0 Initialise the lists once at probe and restore the rules on open, as bcmgenet_resume() already does.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3e370952287c55e5fd240cb8bb41ef8acff8829d · fixed in 56db7ec462d6a2b886e299ad835109c089606969; From 3e370952287c55e5fd240cb8bb41ef8acff8829d · fixed in 906140955c8debde65afe12e594e04c49a61b0d9; From 3e370952287c55e5fd240cb8bb41ef8acff8829d · fixed in 23ca4ddc4fce2c233a49e9fd34d4b5b02bd7324e
- Linux Linux
5.8
- KernelLinux
From 5.8.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8