In the Linux kernel, the following vulnerability has been resolved:
net: mdio: unexport __init-annotated mdio_bus_init()
EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic.
modpost used to detect it, but it has been broken for a decade.
Recently, I fixed modpost so it started to warn it again, then this showed up in linux-next builds.
There are two ways to fix it:
- Remove __init - Remove EXPORT_SYMBOL
I chose the latter for this case because the only in-tree call-site, drivers/net/phy/phy_device.c is never compiled as modular. (CONFIG_PHYLIB is boolean)
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-debuginfo-common-x86_64Upgrade kernel-develUpgrade kernel-debuginfoUpgrade kernelUpgrade kernel-tools-debuginfoUpgrade kernel-headersUpgrade kernel-livepatch-5.10.126-117.518Upgrade kernel-tools-develUpgrade kernel-livepatch-5.15.50-23.125Upgrade python-perf-debuginfoUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-livepatch-4.14.285-215.501Upgrade kernel-debuginfo-common-aarch64Upgrade python-perfUpgrade perfUpgrade perf-debuginfoUpgrade bpftool-debuginfo | May 21, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade kernel-tools-libsUpgrade kernelUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade python3-perf | Jul 11, 2025 | Feb 26, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade bpftoolUpgrade kernel-toolsUpgrade kernel-abi-stablelistsUpgrade python3-perfUpgrade kernel-tools-libsUpgrade kernel | Jul 1, 2025 | Feb 26, 2025 |
| Redhat_linux | — | Upgrade kernelNo solution existsUpgrade kernel-rt | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-hwe-5.4Upgrade linux-gcp-4.15Upgrade linux-aws-hweUpgrade linux-lowlatencyUpgrade linux-realtimeUpgrade linux-aws-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-hweUpgrade linux-kvmUpgrade linux-azure-fipsUpgrade linux-aws-fipsUpgrade linux-iotUpgrade linux-oracleUpgrade linux-gcp-5.15Upgrade linux-ibmUpgrade linux-lowlatency-hwe-5.15Upgrade linux-hwe-5.15Upgrade linux-raspiUpgrade linux-aws-5.15Upgrade linux-azure-5.4Upgrade linux-azureUpgrade linux-azure-4.15Upgrade linux-azure-5.15Upgrade linux-awsUpgrade linux-bluefieldUpgrade linux-gkeopUpgrade linux-ibm-5.4Upgrade linux-gcpUpgrade linuxUpgrade linux-raspi-5.4Upgrade linux-riscv-5.15Upgrade linux-nvidiaUpgrade linux-fipsUpgrade linux-oracle-5.15Upgrade linux-oracle-5.4Upgrade linux-gcp-fipsUpgrade linux-gcp-5.4Upgrade linux-intel-iotgUpgrade linux-gke | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub