CVE-2021-47073 platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios

Medium 5.5 Published Updated

A logic error in the Dell SMBIOS WMI driver causes a kernel oops when the module is removed on unsupported systems, leading to 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-2021-47073?

CVE-2021-47073 is a medium-severity vulnerability in Linux kernel, published on 1 Mar 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:

platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios

init_dell_smbios_wmi() only registers the dell_smbios_wmi_driver on systems where the Dell WMI interface is supported. While exit_dell_smbios_wmi() unregisters it unconditionally, this leads to the following oops:

[ 175.722921] ------------[ cut here ]------------ [ 175.722925] Unexpected driver unregister! [ 175.722939] WARNING: CPU: 1 PID: 3630 at drivers/base/driver.c:194 driver_unregister+0x38/0x40 ... [ 175.723089] Call Trace: [ 175.723094] cleanup_module+0x5/0xedd [dell_smbios] ... [ 175.723148] ---[ end trace 064c34e1ad49509d ]---

Make the unregister happen on the same condition the register happens to fix this.

Which versions are affected by CVE-2021-47073?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47073?

Apply the vendor's patch.

Is CVE-2021-47073 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47073, GHSA-ccpq-qrrm-9f6q, UBUNTU-CVE-2021-47073.

Is CVE-2021-47073 in your software?

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

Check your SBOMs for free