Use-after-free in Linux kernel - CVE-2022-3977

 

Use-after-free in Linux kernel - CVE-2022-3977

Published: November 14, 2022


Vulnerability identifier: #VU69271
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-3977
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the mctp_sk_unhash(0 function in net/mctp/af_mctp.c. A local user can trigger a use-after-free error and escalate privileges on the system.



Affected software

Linux kernel
Ubuntu
linux-lowlatency (Ubuntu package)
linux (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-raspi (Ubuntu package)

How to mitigate CVE-2022-3977

Install updates from vendor's website.

linux-lowlatency (Ubuntu package) - update to 5.19.0-1014.15
linux (Ubuntu package) - update to 5.19.0-28.29
linux-ibm (Ubuntu package) - update to 5.19.0-1014.15
linux-oracle (Ubuntu package) - update to 5.19.0-1014.16
linux-azure (Ubuntu package) - update to 5.19.0-1016.17
linux-gcp (Ubuntu package) - update to 5.19.0-1014.15
linux-kvm (Ubuntu package) - update to 5.19.0-1015.16
linux-aws (Ubuntu package) - update to 5.19.0-1016.17
linux-raspi (Ubuntu package) - update to 5.19.0-1011.18

External References

Related Security Bulletins