KernelScan.io

HIGH Introduced in 4.2

ravb PTPClock Deref

CVE-2026-80992

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI5.4MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: net: ravb: avoid dereferencing an invalid PTP clock The PTP clock is unavailable before the first open, so querying its index can dereference a NULL pointer. Registration failures can also leave an error pointer in priv->ptp.clock. Cache the PHC index separately and report -1 while no clock is registered. Normalize registration errors to NULL and preserve the static timestamping capabilities.

02

Engine v0.6.0

Risk summary

A local user with network administration privileges on a system with Renesas Ethernet AVB hardware can crash the kernel by querying timestamping capabilities before the device is opened or after a PTP clock registration failure. The impact is denial of service only — no data disclosure or corruption. Systems without Renesas AVB Ethernet hardware are not affected.

Affecteddrivers/net/ethernet/renesas/ravb_ptp.c (Renesas Ethernet AVB PTP driver)

Vulnerability analysis

The driver handles timestamping information using a clock reference that may not be valid before the network device is first opened, or if clock setup fails. When software queries this timestamping capability, the driver can follow that invalid reference and crash the kernel. The corrected code keeps the clock identifier in its own variable that safely indicates no clock is present until registration succeeds, and treats failed registrations as absent so they are not used. A local user with network administration privileges can trigger this flaw on a system that includes the Renesas AVB Ethernet hardware.

03

BranchIntroducedFixed inPatch commit
6.14.26.1.18829ffd972531f
6.124.26.12.109fc710f89a644
6.184.26.18.508d4d06d6e2b5
6.64.26.6.157bf3308416a2b
7.24.27.2.40aaa53936419
mainline4.27.31f77af0aaf27
cip/6.14.26.1.189-cip6129ffd972531f
cip/6.1-rt4.26.1.189-cip61-rt3229ffd972531f
cip/6.124.26.12.111-cip32fc710f89a644

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Affected — no CIP fix yet (latest 5.10.271-cip78)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.268-cip77-rt34)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)