CVEBrief

Home / Linux / Linux / CVE-2025-38126

CVE-2025-38126: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-38126 is a divide by zero vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Linux from 4.5 until the fixed versions (CVE record by Linux). Fixed in 6.1.142, 6.6.94, 6.12.34, 6.15.3 and 1 more (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 28, 2026, 17:44 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
Linux from 4.5 until the fixed versions
CVE record by Linux
Fixed in
6.1.142, 6.6.94, 6.12.34, 6.15.3 and 1 more
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.22% in 30 days
higher than 13% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-38126?

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: make sure that ptp_rate is not 0 before configuring timestamping The stmmac platform drivers that do not open-code the clk_ptp_rate value after having retrieved the default one from the device-tree can end up with 0 in clk_ptp_rate (as clk_get_rate can return 0). It will eventually propagate up to PTP initialization when bringing up the interface, leading to a divide by 0: Division by zero in kernel. CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.30-00001-g48313bd5768a #22 Hardware name: STM32 (Device Tree Support) Call trace: unwind_backtrace from show_stack+0x18/0x1c show_stack from dump_stack_lvl+0x6c/0x8c dump_stack_lvl from Ldiv0_64+0x8/0x18 Ldiv0_64 from stmmac_init_tstamp_counter+0x190/0x1a4 stmmac_init_tstamp_counter from stmmac_hw_setup+0xc1c/0x111c stmmac_hw_setup from __stmmac_open+0x18c/0x434 __stmmac_open from stmmac_open+0x3c/0xbc stmmac_open from __dev_open+0xf4/0x1ac __dev_open from __dev_change_flags+0x1cc/0x224 __dev_change_flags from dev_change_flags+0x24/0x60 dev_change_flags from ip_auto_config+0x2e8/0x11a0 ip_auto_config from do_one_initcall+0x84/0x33c do_one_initcall from kernel_init_freeable+0x1b8/0x214 kernel_init_freeable from kernel_init+0x24/0x140 kernel_init from ret_from_fork+0x14/0x28 Exception stack(0xe0815fb0 to 0xe0815ff8) Prevent this division by 0 by adding an explicit check and error log about the actual issue. While at it, remove the same check from stmmac_ptp_register, which then becomes duplicate

From the CVE record by Linux, last updated November 5, 2026, 20:52 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 4.5 until the fixed versions6.1.142, 6.6.94, 6.12.34, 6.15.3, 6.16

As the CVE record by Linux states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 4.5 before 6.1.142operating system
linuxlinux kernelfrom 6.2 before 6.6.94operating system
linuxlinux kernelfrom 6.7 before 6.12.34operating system
linuxlinux kernelfrom 6.13 before 6.15.3operating system
debiandebian linux11.0operating system

NVD analysis (status Analyzed), last modified November 5, 2026, 21:18 UTC.

How severe is CVE-2025-38126?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-38126 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
EPSS
0.22% probability of exploitation activity in the next 30 days, percentile 12.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2025
Published
July 3, 2025, 08:35 UTC
CVE record updated
November 5, 2026, 20:52 UTC by Linux
NVD
Analyzed, last modified November 5, 2026, 21:18 UTC
Last checked
CVE list November 28, 2026, 17:44 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-38126

Is CVE-2025-38126 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2025-38126?

Linux from 4.5 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-38126?

6.1.142, 6.6.94, 6.12.34, 6.15.3 and 6.16, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-38126?

Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2025-38126?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.