ZeroHour

CVE-2026-80992

moderate

NULL-Pointer PTP Clock Dereference in Linux Kernel Renesas RAVB Ethernet Driver

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

The Linux kernel's ravb driver (Renesas Ethernet AVB hardware, e.g. R-Car and RZ SoCs) dereferences an invalid PTP hardware clock pointer when the clock's index is queried before the network interface has first been opened, and a failed clock registration can leave an error pointer in priv->ptp.clock that is dereferenced the same way. A low-privileged local user on an affected system can trigger this, for example by issuing a timestamping/PHC query (such as ethtool -T) on a ravb interface that has not been brought up, causing a kernel oops or panic and a denial of service. The CVSS 3.1 score of 7.8 (high, local attack vector) overstates the practical impact, since a NULL/error-pointer dereference yields a crash rather than privilege escalation or data theft. The fix caches the PHC index separately, reports -1 while no clock is registered, and normalizes registration errors to NULL while preserving the static timestamping capabilities. No public proof-of-concept exists, the flaw is not on the CISA KEV, and no exploitation is known.

What to do: Apply a kernel that includes the upstream ravb fix (separate PHC index cache reporting -1 when no clock is registered, and registration errors normalized to NULL) via your distribution or vendor's stable-kernel advisory. Until patched, restrict untrusted local code execution on Renesas R-Car/RZ platforms and avoid querying PTP/timestamping info on a ravb interface before it has been opened. Confirm with your kernel vendor which release first contains this commit.

Affected
Linux kernel (net: ravb — Renesas Ethernet AVB driver, drivers/net/ethernet/renesas/ravb* and ravb_ptp.c)
Estimated exposure
moderateOrder of magnitude: tens of thousands of Renesas R-Car/RZ-G2L-based embedded, industrial, and automotive devices, rough estimate only — The ravb driver is specific to Renesas R-Car and RZ SoCs common in automotive infotainment and embedded boards, but no public device counts exist and practical risk requires unprivileged local code execution on that specific hardware.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

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

In the news

No ingested article mentions this CVE yet.