Vulnerability · Published Jun 20, 2024 · Assigned by Linux

CVE-2022-48742rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 85.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() While looking at one unrelated syzbot bug, I found the replay logic in __rtnl_newlink() to potentially trigger use-after-free. It is better to clear master_dev and m_ops inside the loop, in case we have to replay it.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.16.7-1DEBIAN-CVE-2022-48742
Debian:13linux5.16.7-1DEBIAN-CVE-2022-48742
Debian:14linux5.16.7-1DEBIAN-CVE-2022-48742
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2022-48742
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2022-48742
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2022-48742

Affected products (as reported)

VendorProductVersions
Linux Linux ba7d49b1f0f8e5f24294a880ed576964059af5ef – before 2cf180360d66bd657e606c1217e0e668e6faa303ba7d49b1f0f8e5f24294a880ed576964059af5ef – before 7d9211678c0f0624f74cdff36117ab8316697bb8ba7d49b1f0f8e5f24294a880ed576964059af5ef – before a01e60a1ec6bef9be471fb7182a33c6d6f124e93ba7d49b1f0f8e5f24294a880ed576964059af5ef – before bd43771ee9759dd9dfae946bff190e2c5a120de5ba7d49b1f0f8e5f24294a880ed576964059af5ef – before 3bbe2019dd12b8d13671ee6cda055d49637b4c39ba7d49b1f0f8e5f24294a880ed576964059af5ef – before def5e7070079b2a214b3b1a2fbec623e6fbfe34aba7d49b1f0f8e5f24294a880ed576964059af5ef – before 36a9a0aee881940476b254e0352581401b23f210ba7d49b1f0f8e5f24294a880ed576964059af5ef – before c6f6f2444bdbe0079e41914a35081530d0409963
Linux Linux 3.14

References