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 | — | No solution existsUpgrade kernelUpgrade kernel-rt | Nov 14, 2025 | Oct 4, 2025 |
| Ubuntu | — | Upgrade linux-raspiUpgrade linux-riscv-5.15Upgrade linux-ibm-5.4Upgrade linux-aws-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-oracle-5.15Upgrade linux-fipsUpgrade linux-aws-5.4Upgrade linuxUpgrade linux-gkeUpgrade linux-bluefieldUpgrade linux-nvidia-tegra-5.15Upgrade linux-raspi-5.4Upgrade linux-intel-iotgUpgrade linux-lowlatencyUpgrade linux-realtimeUpgrade linux-oracle-5.4Upgrade linux-aws-hweUpgrade linux-azure-fde-5.15Upgrade linux-oracleUpgrade linux-xilinx-zynqmpUpgrade linux-gcpUpgrade linux-nvidiaUpgrade linux-azure-5.15Upgrade linux-hwe-5.15Upgrade linux-intel-iot-realtimeUpgrade linux-gcp-5.4Upgrade linux-aws-fipsUpgrade linux-awsUpgrade linux-gcp-fipsUpgrade linux-azure-5.4Upgrade linux-hweUpgrade linux-iotUpgrade linux-intel-iotg-5.15Upgrade linux-gkeopUpgrade linux-azure-fipsUpgrade linux-azure-4.15Upgrade linux-kvmUpgrade linux-gcp-4.15Upgrade linux-ibmUpgrade linux-azureUpgrade linux-gcp-5.15Upgrade linux-hwe-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