CVE-2022-49027 iavf: Fix error handling in iavf_init_module()

Medium 5.5 Published Updated

A resource leak in the iavf driver's initialization error path can lead to memory exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49027?

CVE-2022-49027 is a medium-severity denial of service vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

iavf: Fix error handling in iavf_init_module()

The iavf_init_module() won't destroy workqueue when pci_register_driver() failed. Call destroy_workqueue() when pci_register_driver() failed to prevent the resource leak.

Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak")

Which versions are affected by CVE-2022-49027?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49027?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-49027 being exploited?

There is no known exploitation of CVE-2022-49027 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49027, GHSA-4h4p-36mp-83pj, UBUNTU-CVE-2022-49027.

Is CVE-2022-49027 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free