CVE-2022-48742 json
rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
published 2024-06-20 2 y ago modified 2026-08-05 3 mo ago also EUVD-2022-53621
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.300, 4.14.265, 4.19.228, 5.4.177, 5.10.97, 5.15.20, 5.16.6, 5.17
- linux Debian 14, Debian 13, Debian 12 5.16.7-1
debian advisories DEBIAN-CVE-2022-48742
- linux Ubuntu 18.04 LTS 4.15.0-176.185
- linux Ubuntu 20.04 LTS 5.4.0-109.123
- linux-aws Ubuntu 18.04 LTS 4.15.0-1127.136
- linux-aws Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1020.22
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1113.116
ubuntu advisories UBUNTU-CVE-2022-48742
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLE High Performance Computing 15 SP5-ESPOS, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS 5.14.21-150500.55.91.1
- kernel-syms SLE High Performance Computing 15 SP5-ESPOS, SLES for SAP 15 SP5, SLES 15 SP5-LTSS +1 more 5.14.21-150500.55.91.1
- kernel-source SLE High Performance Computing 15 SP5-ESPOS, SLES for SAP 15 SP5, SLES 15 SP5-LTSS +1 more 5.14.21-150500.55.91.1
- kernel-default SLE Micro 5.5, SLE High Performance Computing 15 SP5-ESPOS, SLES for SAP 15 SP5 +3 more 5.14.21-150500.55.91.1
- kernel-obs-build SLE High Performance Computing 15 SP5-ESPOS, SLES for SAP 15 SP5, SLES 15 SP5-LTSS +1 more 5.14.21-150500.55.91.1
- kernel-default-base SLE Micro 5.5, SLE High Performance Computing 15 SP5-ESPOS, SLES for SAP 15 SP5 +2 more 5.14.21-150500.55.91.1.150500.6.41.1
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.82.1
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.82.1
suse advisories SUSE-SU-2025:0201-1SUSE-SU-2025:0201-2SUSE-SU-2025:0236-1SUSE-SU-2025:0229-1
- git.kernel.org/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303 commit
- git.kernel.org/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8 commit
- git.kernel.org/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93 commit
- git.kernel.org/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5 commit
- git.kernel.org/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39 commit
- git.kernel.org/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a commit
- git.kernel.org/stable/c/36a9a0aee881940476b254e0352581401b23f210 commit
- git.kernel.org/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48742 updated cvss 6.4
kernel: rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303
mailing-list, patch
-
git.kernel.org
/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8
mailing-list, patch
-
git.kernel.org
/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93
mailing-list, patch
-
git.kernel.org
/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5
mailing-list, patch
-
git.kernel.org
/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39
mailing-list, patch
-
git.kernel.org
/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a
mailing-list, patch
-
git.kernel.org
/stable/c/36a9a0aee881940476b254e0352581401b23f210
mailing-list, patch
-
git.kernel.org
/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963
mailing-list, patch
Sources
- CVE List CVE-2022-48742
- NVD CVE-2022-48742
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.