Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-74603

ptp: ocp: Fix board ID over-read

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < 72ef3ce80078199bfad32f98d055f44ba7cd0c3daffected
  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < 3d965811be78473654e6e8cc8e4fb7b6b87aa6c1affected
  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < f92558bbe78d6284fedd053900f82a70f0aa8707affected
  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < 5fd91dd4a143479b0575fb1f202ec1c501e71fd5affected
  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < f8d7e5751267637190eff887c971d5b468106213affected
  • 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 to < 6b69f2ef10cdb018c0b127a7cab88e590bbddba4affected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.1.183 to ≤ 6.1.*unaffected
  • 6.6.152 to ≤ 6.6.*unaffected
  • 6.12.104 to ≤ 6.12.*unaffected
  • 6.18.45 to ≤ 6.18.*unaffected
  • 7.1.9 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References