SecurityContext

CVE-2025-38183: Linux kernel lan743x - Out of Bounds Write

  • Cve: CVE-2025-38183
  • Name: Linux kernel lan743x - Out of Bounds Write
  • Description: In the Linux kernel, the following vulnerability has been resolved: net: lan743x: fix potential out-of-bounds write in lan743x_ptp_io_event_clock_get() Before calling lan743x_ptp_io_event_clock_get(), the 'channel' value is checked against the maximum value of PCI11X1X_PTP_IO_MAX_CHANNELS(8). This seems correct and aligns with the PTP interrupt status register (PTP_INT_STS) specifications. However, lan743x_ptp_io_event_clock_get() writes to ptp->extts[] with only LAN743X_PTP_N_EXTTS(4) elements, using channel as an index: lan743x_ptp_io_event_clock_get(..., u8 channel,...) { ... /* Update Local timestamp */ extts = &ptp->extts[channel]; extts->ts.tv_sec = sec; ... } To avoid an out-of-bounds write and utilize all the supported GPIO inputs, set LAN743X_PTP_N_EXTTS to 8. Detected using the static analysis tool - Svace.
  • Impact: Attackers can cause memory corruption leading to system instability or potential code execution.
  • Remediation: Update to the latest Linux kernel version with LAN743X_PTP_N_EXTTS set to 8.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00192
  • Epss percentile: 0.08769
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-07-04T14:15:25Z
  • Age in days: 508
  • Modified at: 2026-06-17T09:16:20Z
  • Patch available: yes
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-38183
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/41017bd66c533f7af912c58273c7dfd5de0065d4Patch
https://git.kernel.org/stable/c/4da0d23516857230b8e9b3022e25422ee2e2ba80Patch
https://git.kernel.org/stable/c/66bba1fd5bad548c03f7e42669a59f3f4d8211ccPatch
https://git.kernel.org/stable/c/e353b0854d3a1a31cb061df8d022fbfea53a0f24Patch
https://git.kernel.org/stable/c/e8d48201a132f4aab31351c19a802c5a5ae820faPatch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.16 rc1; = 6.16 rc2; >= 6.13, < 6.15.4; >= 6.7, < 6.12.35; >= 6.2, < 6.6.95; >= 5.18, < 6.1.142nonvd/v1/products/linux/linux_kernel
debian:debian_linux= 11.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports