In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG), indirect call targets are validated against the expected function pointer prototype to make sure the call target is valid to help mitigate ROP attacks. If they are not identical, there is a failure at run time, which manifests as either a kernel panic or thread getting killed. A proposed warning in clang aims to catch these at compile time, which reveals:
drivers/net/ethernet/ti/netcp_core.c:1944:21: error: incompatible function pointer types initializing 'netdev_tx_t (*)(struct sk_buff *, struct net_device *)' (aka 'enum netdev_tx (*)(struct sk_buff *, struct net_device *)') with an expression of type 'int (struct sk_buff *, struct net_device *)' [-Werror,-Wincompatible-function-pointer-types-strict] .ndo_start_xmit = netcp_ndo_start_xmit, ^~~~~~~~~~~~~~~~~~~~ 1 error generated.
->ndo_start_xmit() in 'struct net_device_ops' expects a return type of 'netdev_tx_t', not 'int'. Adjust the return type of netcp_ndo_start_xmit() to match the prototype's to resolve the warning and CFI failure.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Oct 6, 2025 | Oct 6, 2025 |
| Redhat_linux | — | Upgrade kernelUpgrade kernel-rtNo solution exists | Nov 14, 2025 | Oct 4, 2025 |
| Ubuntu | — | Upgrade linux-gcp-fipsUpgrade linux-hweUpgrade linux-kvmUpgrade linux-gcp-4.15Upgrade linux-gcp-5.4Upgrade linux-azure-5.15Upgrade linux-hwe-5.4Upgrade linux-xilinx-zynqmpUpgrade linux-azure-fde-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-awsUpgrade linux-azure-fipsUpgrade linux-hwe-5.15Upgrade linux-nvidiaUpgrade linux-azure-5.4Upgrade linux-iotUpgrade linux-gcpUpgrade linux-azureUpgrade linux-gkeopUpgrade linux-ibmUpgrade linux-oracleUpgrade linux-aws-fipsUpgrade linux-gcp-5.15Upgrade linux-azure-4.15Upgrade linux-intel-iot-realtimeUpgrade linux-aws-5.4Upgrade linux-intel-iotgUpgrade linux-raspiUpgrade linux-oracle-5.15Upgrade linux-bluefieldUpgrade linux-riscv-5.15Upgrade linux-aws-5.15Upgrade linux-fipsUpgrade linux-lowlatency-hwe-5.15Upgrade linux-realtimeUpgrade linux-raspi-5.4Upgrade linuxUpgrade linux-aws-hweUpgrade linux-lowlatencyUpgrade linux-ibm-5.4Upgrade linux-gkeUpgrade linux-nvidia-tegra-5.15Upgrade linux-oracle-5.4 | Oct 10, 2025 | Oct 4, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Oct 4, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub