CVE-2025-38422 net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices

High 7.8 Published Updated

A memory corruption vulnerability in the Linux kernel's lan743x network driver allows out-of-bounds reads and writes due to incorrect EEPROM size definitions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38422?

CVE-2025-38422 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 25 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices

Maximum OTP and EEPROM size for hearthstone PCI1xxxx devices are 8 Kb and 64 Kb respectively. Adjust max size definitions and return correct EEPROM length based on device. Also prevent out-of-bound read/write.

Which versions are affected by CVE-2025-38422?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38422?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-38422 being exploited?

There is no known exploitation of CVE-2025-38422 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-73040, BELL-CVE-2025-38422, DEBIAN-CVE-2025-38422, GHSA-5x6v-ph8q-fg62, ROOT-OS-DEBIAN-11-CVE-2025-38422, ROOT-OS-DEBIAN-12-CVE-2025-38422 and 3 more.

Is CVE-2025-38422 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free