FlawAtlas
Search the atlas
CVE-2025-38110 Not scored

net/mdiobus: Fix potential out-of-bounds clause 45 read/write access

In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds clause 45 read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via C45 (clause 45) mdiobus, there is no verification of parameters passed to the ioctl and it accepts any mdio address. Currently there is support for 32 addresses in kernel via PHY_MAX_ADDR define, but it is possible to pass higher value than that via ioctl. While read/write operation should generally fail in this case, mdiobus provides stats array, where wrong address may allow out-of-bounds read/write. Fix that by adding address verification before C45 read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.

Exploit probability 0.2%
Published July 3, 2025
Required by Not available
Last source change July 15, 2026

02 / AFFECTED SOFTWARE

Affected packages

Linux Kernel
Unknown Unknown

03 / CONNECTIONS

Connected vulnerabilities

related ALSA-2025:11855
related ALSA-2025:11861
related OPENSUSE-SU-2025:20081-1
related SUSE-SU-2025:02853-1
related SUSE-SU-2025:02923-1
related SUSE-SU-2025:02969-1
related SUSE-SU-2025:02996-1
related SUSE-SU-2025:02997-1
related SUSE-SU-2025:03011-1
related SUSE-SU-2025:03023-1
related SUSE-SU-2025:03636-1
related SUSE-SU-2025:03638-1
related SUSE-SU-2025:03650-1
related SUSE-SU-2025:20577-1
related SUSE-SU-2025:20586-1
related SUSE-SU-2025:20601-1
related SUSE-SU-2025:20602-1
related SUSE-SU-2025:20873-1
related SUSE-SU-2025:20874-1
related SUSE-SU-2025:20875-1
related SUSE-SU-2025:20876-1
related SUSE-SU-2025:20877-1
related SUSE-SU-2025:20878-1
related SUSE-SU-2025:20881-1
related SUSE-SU-2025:20882-1
related SUSE-SU-2025:20883-1
related SUSE-SU-2025:20884-1
related SUSE-SU-2025:20885-1
related SUSE-SU-2025:20886-1
related SUSE-SU-2025:20887-1
related SUSE-SU-2025:20890-1
related SUSE-SU-2025:20891-1
related SUSE-SU-2025:20902-1
related SUSE-SU-2025:20903-1
related SUSE-SU-2025:20904-1
related SUSE-SU-2025:20905-1
related SUSE-SU-2025:20907-1
related SUSE-SU-2025:20909-1
related SUSE-SU-2025:20912-1
related SUSE-SU-2025:20913-1
related SUSE-SU-2025:20914-1
related SUSE-SU-2025:20915-1
related SUSE-SU-2025:20916-1
related SUSE-SU-2025:20917-1
related SUSE-SU-2025:20920-1
related SUSE-SU-2025:21074-1
related SUSE-SU-2025:21139-1
related SUSE-SU-2025:21179-1
related SUSE-SU-2025:3742-1
related SUSE-SU-2025:3748-1
related SUSE-SU-2025:3755-1
related SUSE-SU-2025:3762-1
related SUSE-SU-2025:3765-1
related SUSE-SU-2025:3768-1
related SUSE-SU-2025:3771-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-38110

In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds clause 45 read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via C45 (clause 45) mdiobus, there is no verification of parameters passed to the ioctl and it accepts any mdio address. Currently there is support for 32 addresses in kernel via PHY_MAX_ADDR define, but it is possible to pass higher value than that via ioctl. While read/write operation should generally fail in this case, mdiobus provides stats array, where wrong address may allow out-of-bounds read/write. Fix that by adding address verification before C45 read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.

View original source

05 / REFERENCES

Further evidence