Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47073
HistoryMar 01, 2024 - 9:15 p.m.

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

2024-03-0121:15:11
Linux
github.com
3
linux kernel
fix
dell-smbios-wmi
driver unregistering

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "1a258e670434",
        "lessThan": "75cfc833da4a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a258e670434",
        "lessThan": "6fa78a6b9a3b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a258e670434",
        "lessThan": "0cf036a0d325",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a258e670434",
        "lessThan": "8d746ea7c687",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a258e670434",
        "lessThan": "3a53587423d2",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/dell/dell-smbios-wmi.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.15",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "4.19.192",
        "versionType": "custom",
        "lessThanOrEqual": "4.19.*"
      },
      {
        "status": "unaffected",
        "version": "5.4.122",
        "versionType": "custom",
        "lessThanOrEqual": "5.4.*"
      },
      {
        "status": "unaffected",
        "version": "5.10.40",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.12.7",
        "versionType": "custom",
        "lessThanOrEqual": "5.12.*"
      },
      {
        "status": "unaffected",
        "version": "5.13",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/dell/dell-smbios-wmi.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial