In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: make sure that ptp_rate is not 0 before configuring EST
If the ptp_rate recorded earlier in the driver happens to be 0, this bogus value will propagate up to EST configuration, where it will trigger a division by 0.
Prevent this division by 0 by adding the corresponding check and error code.
[
{
"id": "CVE-2025-38125-03ed1e20",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c",
"function": "est_configure"
},
"digest": {
"function_hash": "287686776648827627304720491914105893811",
"length": 1281.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5e3bfdba0dc419499b801937128957f77503761",
"signature_version": "v1"
},
{
"id": "CVE-2025-38125-1100bff2",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"103658034871485786424955826066221534095",
"13008574228978805697214472019672789961",
"301824210101689969123554581441649404401"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbefe2ffa7784525ec5d008ba87c7add19ec631a",
"signature_version": "v1"
},
{
"id": "CVE-2025-38125-2bc9b488",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c",
"function": "est_configure"
},
"digest": {
"function_hash": "287686776648827627304720491914105893811",
"length": 1281.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbefe2ffa7784525ec5d008ba87c7add19ec631a",
"signature_version": "v1"
},
{
"id": "CVE-2025-38125-ac5d94cb",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"103658034871485786424955826066221534095",
"13008574228978805697214472019672789961",
"301824210101689969123554581441649404401"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@451ee661d0f6272017fa012f99617101aa8ddf2c",
"signature_version": "v1"
},
{
"id": "CVE-2025-38125-bbd6ddd6",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"103658034871485786424955826066221534095",
"13008574228978805697214472019672789961",
"301824210101689969123554581441649404401"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5e3bfdba0dc419499b801937128957f77503761",
"signature_version": "v1"
},
{
"id": "CVE-2025-38125-ca76e2fb",
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_est.c",
"function": "est_configure"
},
"digest": {
"function_hash": "287686776648827627304720491914105893811",
"length": 1281.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@451ee661d0f6272017fa012f99617101aa8ddf2c",
"signature_version": "v1"
}
]