CVE-2022-48742
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48742 is a vulnerability discovered in the Linux kernel's rtnetlink functionality. The issue involves a potential use-after-free vulnerability in the _rtnlnewlink() function where the replay logic could trigger unsafe memory access. The vulnerability affects Linux kernel versions from 3.14 through 5.16.6 (NVD).

Technical details

The vulnerability exists in the rtnetlink subsystem of the Linux kernel where masterdev and mops variables were not properly refreshed inside the replay loop in _rtnlnewlink() function. This could lead to a use-after-free condition when the code needs to replay the operation. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access required with low complexity (NVD).

Impact

The vulnerability could allow an attacker with local access to potentially trigger a use-after-free condition, which could lead to privilege escalation, information disclosure, or system crashes. The high CVSS score indicates potential for complete compromise of confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by clearing masterdev and mops variables inside the loop in the _rtnlnewlink() function. The fix involves adding initialization code to ensure these variables are properly refreshed before each iteration. Users should update to patched kernel versions that include the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39730HIGH7.5
  • Linux KernelLinux Kernel
  • linux-aws
NoYesSep 07, 2025
CVE-2025-39732HIGH7
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesSep 07, 2025
CVE-2025-39726MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesSep 05, 2025
CVE-2025-39727N/AN/A
  • Linux KernelLinux Kernel
  • linux-raspi
NoYesSep 07, 2025
CVE-2025-39725N/AN/A
  • Linux KernelLinux Kernel
  • kernel-firmware
NoYesSep 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management