boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2024-50195MEDIUM
Linux Linux — posix-clock: Fix missing timespec64 check in pc_clock_settime()
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0023   14.6     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    0606f422b453f76c31ab2b1bd52943ff06a2dcf2 –  —
  Linux    2.6.39 –                                    4.19.323
TIMELINE
  Oct 21  Reserved by Linux
  Nov 8   Published (CNA: Linux)
  Aug 4   RESCORED — CVE-2024-50195 (Linux). CVSS 7.1 → 5.5 (NVD).
CWE-754 · CNA: Linux · CVSS v3.1 · 10 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: posix-clock: Fix missing timespec64 check in pc_clock_settime() As Andrew pointed out, it will make sense that the PTP core checked timespec64 struct's tv_sec and tv_nsec range before calling ptp->info->settime64(). As the man manual of clock_settime() said, if tp.tv_sec is negative or tp.tv_nsec is outside the range [0..999,999,999], it should return EINVAL, which include dynamic clocks which handles PTP clock, and the condition is consistent with timespec64_valid(). As Thomas suggested, timespec64_valid() only check the timespec is valid, but not ensure that the time is in a valid range, so check it ahead using timespec64_valid_strict() in pc_clock_settime() and return -EINVAL if not valid. There are some drivers that use tp->tv_sec and tp->tv_nsec directly to write registers without validity checks and assume that the higher layer has checked it, which is dangerous and will benefit from this, such as hclge_ptp_settime(), igb_ptp_settime_i210(), _rcar_gen4_ptp_settime(), and some drivers can remove the checks of itself.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
October 21, 2024ReservedReserved by Linux
November 8, 2024PublishedPublished (CNA: Linux)
August 4, 2026RESCOREDRESCORED — CVE-2024-50195 (Linux). CVSS 7.1 → 5.5 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux0606f422b453f76c31ab2b1bd52943ff06a2dcf2
LinuxLinux2.6.394.19.323

Weaknesses

CWE-754

References (10)

Related

Authoritative record: CVE-2024-50195 at cve.org

Vendors: linux

Weaknesses: CWE-754

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-50195 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.