Use After Free in Linux

CVE-2022-48787

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

iwlwifi: fix use-after-free

If no firmware was present at all (or, presumably, all of the
firmware files failed to parse), we end up unbinding by calling
device_release_driver(), which calls remove(), which then in
iwlwifi calls iwl_drv_stop(), freeing the 'drv' struct. However
the new code I added will still erroneously access it after it
was freed.

Set 'failure=false' in this case to avoid the access, all data
was already freed anyway.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 15.8th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 8e10749fa1a454c1e7214f36cec83241f5a36ef1, 1d7cc54137a4f28506dc7beac235b240b08f4e59, 0446cafa843e6db4982731c167e11c80d42be7e2
  • Linux Kernel

Weakness classification (CWE)

References