CVE-2022-4744: Double Free

Published Dec 26, 2022
·
Updated

A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the registernetdevice function fails (NETDEVREGISTER notifier). This flaw allows a local user to crash or potentially escalate their privileges on the system.

Other sources

A flaw in the Linux Kernel found. If patch 158b515f703e ("tun: avoid double free in tunfreenetdev") not applied, then user can call registernetdevice() to fail that can lead to double free. One way to make a NETDEVREGISTER notifier fail is to create a device with name "default" or "all", which will be vetoed by devinetsysctlregister() because sysctldevnameisallowed() detects that the name is a reserved entry name in /proc/sys/net/ipv4/conf/.

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=158b515f703e

Red Hat

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a double-free flaw in the TUN/TAP device driver functionality. An attacker could exploit this vulnerability to gain elevated privileges.

IBM

Affected Software

9 affected componentsFixes available
redhat/kernel<0:5.14.0-162.22.2.el9_1
0:5.14.0-162.22.2.el9_1
redhat/kernel-rt<0:5.14.0-162.22.2.rt21.186.el9_1
0:5.14.0-162.22.2.rt21.186.el9_1
redhat/kernel<0:5.14.0-70.50.2.el9_0
0:5.14.0-70.50.2.el9_0
redhat/kernel-rt<0:5.14.0-70.50.2.rt21.122.el9_0
0:5.14.0-70.50.2.rt21.122.el9_0
redhat/kernel<5.16
5.16
Linux Linux kernel>=5.5<5.10.136
Linux Linux kernel>=5.11<5.15.12
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2

Remediation

Information

To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

Event History

Dec 26, 2022
Data Sourced
via Red Hat·12:16 PM
DescriptionSeverityAffected Software
Mar 20, 2023
CVE Published
10:00 AM
Mar 30, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-4744?

CVE-2022-4744 is categorized as a high severity vulnerability due to its potential to allow privilege escalation.

2

How do I fix CVE-2022-4744?

To fix CVE-2022-4744, you should update your Linux kernel to one of the remedied versions listed by Red Hat, such as 0:5.14.0-162.22.2.el9_1 or higher.

3

Who is affected by CVE-2022-4744?

CVE-2022-4744 affects Linux kernels and certain IBM Security Verify Governance versions, making users of these systems potentially vulnerable.

4

What kind of attack can CVE-2022-4744 enable?

CVE-2022-4744 can enable a local user to crash the system or escalate their privileges.

5

Is CVE-2022-4744 specific to certain Linux distributions?

Yes, CVE-2022-4744 primarily affects Red Hat-based distributions, including those using the kernel and kernel-rt packages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203