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

ptp: ocp: Fix board ID over-read

The EEPROM board ID is a fixed 13-byte field and is not guaranteed to
contain a NUL terminator. Passing it directly to
devlink_info_version_fixed_put() treats it as a C string and may read
beyond the field.

Format at most OCP_BOARD_ID_LEN bytes into the existing local buffer
before reporting the ID. Use a precision limit because the snprintf()
output size alone does not bound the source string scan.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a flaw in the ptp OCP subsystem where the EEPROM board ID, a fixed 13‑byte field that is not guaranteed to be NUL terminated, is passed directly to a function that treats it as a C string. This can cause a buffer over‑read when the data contains non‑terminating characters, exposing adjacent kernel memory to the caller. The vulnerability is a classic buffer over‑read (CWE‑126) and also falls under invalid input handling (CWE‑20).

Affected Systems

The issue is present in the Linux kernel source. All kernel versions that include the ptp OCP board ID handling before the patch are potentially vulnerable. Because specific version ranges are not listed, any kernel built from the mainline repository prior to the application of the commit that introduces a precision limit and copies only OCP_BOARD_ID_LEN bytes may be affected.

Risk and Exploitability

The flaw allows a privileged user or an attacker with access to the devlink subsystem to read arbitrary memory adjacent to the board ID buffer. While code execution is not directly granted, the exposure of kernel memory could aid in side‑channel analysis or lead to further attacks. The EPSS score is not available, and the problem is not listed in the CISA KEV catalog, suggesting limited current exploitation activity but still warranting prompt mitigation.

Generated by OpenCVE AI on August 22, 2026 at 19:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that limits the board ID copy size and adds a precision limit, or rebuild your custom kernel with this commit.
  • Ensure any vendor‑specific or custom kernel builds include the latest ptp OCP revisions before deployment.
  • Restrict access to the devlink subsystem to privileged users, for example by enforcing SELinux or AppArmor policies to limit exposure of board ID data.

Generated by OpenCVE AI on August 22, 2026 at 19:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-126
CWE-20

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: Fix board ID over-read The EEPROM board ID is a fixed 13-byte field and is not guaranteed to contain a NUL terminator. Passing it directly to devlink_info_version_fixed_put() treats it as a C string and may read beyond the field. Format at most OCP_BOARD_ID_LEN bytes into the existing local buffer before reporting the ID. Use a precision limit because the snprintf() output size alone does not bound the source string scan.
Title ptp: ocp: Fix board ID over-read
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-08-22T15:31:51.544Z

Reserved: 2026-08-15T05:44:03.919Z

Link: CVE-2026-74603

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:32.750

Modified: 2026-08-22T16:16:32.750

Link: CVE-2026-74603

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T19:15:03Z

Weaknesses