Back to CVE catalog
CVE-2022-48784

cfg80211: fix race in netlink owner interface destruction

Linux Linux

At a glance

In the Linux kernel, the following vulnerability has been resolved: cfg80211: fix race in netlink owner interface destruction My previous fix here to fix the deadlock left a race where the exact same deadlock (see the original commit referenced below) can still happen if cfg80211_destroy_ifaces() already runs while nl80211_netlink_notify() is still marking some interfaces as nl_owner_dead. The race happens because we have two loops here - first we dev_close() all the netdevs, and then we destroy them. If we also have two netdevs (first one need only be a wdev though) then we can find one during the first iteration, close it, and go to the second iteration -- but then find two, and try to destroy also the one we didn't close yet. Fix this by only iterating once.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

4.7Medium
Published:
Updated:
EPSS:
0.172%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
≥ 5.12.1, < 5.13Show full version range for Linux
5.13
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 5.13; unaffected: ≥ 5.15.25, ≤ 5.15.*; unaffected: ≥ 5.16.11, ≤ 5.16.*; unaffected: ≥ 5.17

Git commit ranges (source code)

  • From commit ea6b2098dd02789f68770fd3d5a373732207be2f; before commit 241e633cb379c4f332fc1baf2abec95ec840cbeb
  • From commit ea6b2098dd02789f68770fd3d5a373732207be2f; before commit c979f792a2baf6d0f3419587668a1a6eba46a3d2
  • From commit ea6b2098dd02789f68770fd3d5a373732207be2f; before commit f0a6fd1527067da537e9c48390237488719948ed
  • Commit 2e4f97122f3a9df870dfe9671994136448890768
Vendor:linuxlinux kernelAffected versions:
≥ 5.12.1, < 5.15.25Show full version range for linux kernel
≥ 5.16, < 5.16.115.17
Vendor:redhatkernel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-abi-whitelists
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-abi-whitelists
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-bootwrapper
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-bootwrapper
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-debug
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-debug
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-debug-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-debug-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-doc
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-doc
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-firmware
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-firmware
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 353 · Page 1 of 36

CVSS scores and metrics7
[email protected] · NVD (Primary)Primary4.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
suse · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd · Wazuh CTI (cna)4.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
redhat · Wazuh CTI (adp)4.1 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
High
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
canonical · Wazuh CTI (adp)4.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)4.1 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
High
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
SUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences