VDB

CVE-2023-54065

CVE-2023-54065 PUBLISHED

In the Linux kernel, the following vulnerability has been resolved: net: dsa: realtek: fix out-of-bounds access The probe function sets priv->chip_data to (void *)priv + sizeof(*priv) with the expectation that priv has enough trailing space. However, only realtek-smi actually allocated this chip_data space. Do likewise in realtek-mdio to fix out-of-bounds accesses. These accesses likely went unnoticed so far, because of an (unused) buf[4096] member in struct realtek_priv, which caused kmalloc to round up the allocated buffer to a big enough size, so nothing of value was overwritten. With a different allocator (like in the barebox bootloader port of the driver) or with KASAN, the memory corruption becomes quickly apparent.

EPSS 0.02% · 7.0th percentile

Risk Scores

EPSS Score
0.02%
7.0th percentile

Affected Products

VendorProductVersions
linuxlinux_kernel5.18, 5.18, 5.18
LinuxLinuxaac94001067da183455d6d37959892744fa01d9d, aac94001067da183455d6d37959892744fa01d9d, 0

Timeline

  • Dec 24, 2025 CVE Published
  • Dec 24, 2025 PoC Published
  • Dec 25, 2025 EPSS Score
  • Dec 29, 2025 EPSS Score
  • Jan 1, 2026 EPSS Score
  • Jan 5, 2026 EPSS Score
  • Jan 9, 2026 EPSS Score
  • Jan 12, 2026 EPSS Score
  • Jan 16, 2026 EPSS Score
  • Jan 20, 2026 EPSS Score
  • Jan 23, 2026 EPSS Score
  • Jan 27, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›