Description
In the Linux kernel, the following vulnerability has been resolved:

net: bcmgenet: fix NULL dereference in set_coalesce before first open

The Rx ring priv and index are only set in bcmgenet_init_rx_ring(),
which runs at open. Setting the Rx coalescing parameters on an interface
that was never opened, e.g. "ethtool -C eth0 rx-usecs 50", dereferences
a NULL ring->priv. The oops happens with RTNL held, so networking
stays stuck until a reboot:

Unable to handle kernel paging request at virtual address 0000000000002788
pc : bcmgenet_set_rx_coalesce.isra.0+0x10/0x88
lr : bcmgenet_set_coalesce+0xe8/0x180
Call trace:
bcmgenet_set_rx_coalesce.isra.0+0x10/0x88 (P)
__ethnl_set_coalesce.isra.0+0x490/0x570
ethnl_set_coalesce+0x48/0xc0
ethnl_default_set_doit+0xf4/0x230
genl_family_rcv_msg_doit+0xe8/0x160
genl_rcv_msg+0x220/0x2a0
netlink_rcv_skb+0x68/0x140
genl_rcv+0x40/0x60
netlink_unicast+0x338/0x3c0
netlink_sendmsg+0x19c/0x3f8
__sock_sendmsg+0x64/0xc0
__sys_sendto+0x124/0x198
__arm64_sys_sendto+0x30/0x48

Set priv and index at probe. Writing the registers while the interface
is down is harmless because open resets the MAC and
bcmgenet_init_rx_coalesce() reapplies the stored values.

It was observed on a Raspberry Pi CM4, but should apply to all other
genet devices.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel Crash (Denial of Service)
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel, attempting to configure the Rx coalescing parameters on a Broadcom bcmgenet network interface that has never been opened can trigger a NULL dereference inside the bcmgenet_set_rx_coalesce function, causing a kernel oops. The kernel panic halts networking functions and the system becomes inaccessible until a reboot, resulting in a denial‑of‑service impact for services relying on network connectivity. The flaw is directly caused by dereferencing an uninitialized pointer, a classic null pointer dereference violation.

Affected Systems

The vulnerability affects the Linux kernel’s bcmgenet driver, which is used on Broadcom‑based network devices. It has been observed on Raspberry Pi CM4 hardware but applies to all devices that include the bcmgenet network driver in the kernel, regardless of architecture. "

Risk and Exploitability

The flaw is exploitable only through the Netlink interface that controls ethtool settings, which typically requires elevated privileges (root or CAP_NET_ADMIN). Because the attacker must be able to run ethtool or Netlink commands, the attack vector is local privileged. The CVSS score is not provided, but the impact is a complete network outage and system reboot. The EPSS score is unavailable, and the vulnerability has not been listed in CISA’s KEV catalog, indicating no widely known exploits at this time.

Generated by OpenCVE AI on October 18, 2026 at 20:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the latest official release that contains the bcmgenet NULL dereference fix.
  • If an immediate kernel upgrade is not possible, apply the patch described in the linked Git commits to correct the NULL dereference.
  • Until the patch is applied, avoid setting Rx coalescing parameters on interfaces that are down; bring the interface up before configuring coalescing or remove any existing coalescing settings for unused interfaces.

Generated by OpenCVE AI on October 18, 2026 at 20:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: bcmgenet: fix NULL dereference in set_coalesce before first open The Rx ring priv and index are only set in bcmgenet_init_rx_ring(), which runs at open. Setting the Rx coalescing parameters on an interface that was never opened, e.g. "ethtool -C eth0 rx-usecs 50", dereferences a NULL ring->priv. The oops happens with RTNL held, so networking stays stuck until a reboot: Unable to handle kernel paging request at virtual address 0000000000002788 pc : bcmgenet_set_rx_coalesce.isra.0+0x10/0x88 lr : bcmgenet_set_coalesce+0xe8/0x180 Call trace: bcmgenet_set_rx_coalesce.isra.0+0x10/0x88 (P) __ethnl_set_coalesce.isra.0+0x490/0x570 ethnl_set_coalesce+0x48/0xc0 ethnl_default_set_doit+0xf4/0x230 genl_family_rcv_msg_doit+0xe8/0x160 genl_rcv_msg+0x220/0x2a0 netlink_rcv_skb+0x68/0x140 genl_rcv+0x40/0x60 netlink_unicast+0x338/0x3c0 netlink_sendmsg+0x19c/0x3f8 __sock_sendmsg+0x64/0xc0 __sys_sendto+0x124/0x198 __arm64_sys_sendto+0x30/0x48 Set priv and index at probe. Writing the registers while the interface is down is harmless because open resets the MAC and bcmgenet_init_rx_coalesce() reapplies the stored values. It was observed on a Raspberry Pi CM4, but should apply to all other genet devices.
Title net: bcmgenet: fix NULL dereference in set_coalesce before first open
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:48:43.367Z

Reserved: 2026-09-25T10:25:14.370Z

Link: CVE-2026-98798

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:33.807

Modified: 2026-10-18T16:17:33.807

Link: CVE-2026-98798

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T20:45:06Z

Weaknesses