← CVE Intelligence

CVE-2025-39856

net: ethernet: ti: am65-cpsw-nuss: Fix null pointer dereference for ndev PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix null pointer dereference for ndev In the TX completion packet stage of TI SoCs with CPSW2G instance, which has single external ethernet port, ndev is accessed without being initialized if no TX packets have been processed. It results into null pointer dereference, causing kernel to crash. Fix this by having a check on the number of TX packets which have been processed.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 9a369ae3d1431a83589dde57323a04692dd7fc12 before 485302905bada953aadfe063320d73c892a66cbb; affected 9a369ae3d1431a83589dde57323a04692dd7fc12 before a6099f263e1f408bcc7913c9df24b0677164fc5d
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.16.6 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.