CVE-2022-48784
kernel: cfg80211: fix race in netlink owner interface destruction
Overview
Description
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: OX vulnerability database
Severity
4.7 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-362
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 32 fixes
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +25 | eol |
| 8 | bpftool +45 | wont fix |
| 9 | bpftool +106 | wont fix |
SUSE Linux Enterprise 2 releases · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | kernel-livepatch-5-14-21-150400-24-128-default | 1-150400.9.3.1 | SUSE-SU-2024:2929-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.128.1 | SUSE-SU-2024:2929-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.128.1.150400.24.62.1 | SUSE-SU-2024:2929-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-13-64-rt | 1-150500.11.3.1 | SUSE-SU-2024:2894-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-73-default | 1-150500.11.3.1 | SUSE-SU-2024:2939-1 |
| 15.5 | kernel-azure +4 | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
3 more rows
SUSE Linux Enterprise Micro 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.88.1 | SUSE-SU-2024:2902-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.128.1 | SUSE-SU-2024:2929-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.128.1.150400.24.62.1 | SUSE-SU-2024:2929-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.88.1 | SUSE-SU-2024:2902-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.128.1 | SUSE-SU-2024:2929-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.128.1.150400.24.62.1 | SUSE-SU-2024:2929-1 |
3 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | linux | 5.16.11-1 |
| 13 | linux | 5.16.11-1 |
| 14 | linux | 5.16.11-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 5.16.11-1 |
openSUSE Leap Micro 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | kernel-rt | 5.14.21-150500.13.64.1 | SUSE-SU-2024:2894-1 |
| 5.5 | kernel-default | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| 5.5 | kernel-default-base | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-linux | 5.16.11-1 |
| 13 | rootio-linux | 5.16.11-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | linux-intel-iotg-5-15 | 5.15.0-1008.11~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1008.11~20.04.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-48784
- git.kernel.org https://git.kernel.org/linus/f0a6fd1527067da537e9c48390237488719948ed (5.17-rc5)
- git.kernel.org https://git.kernel.org/stable/c/241e633cb379c4f332fc1baf2abec95ec840cbeb
- git.kernel.org https://git.kernel.org/stable/c/c979f792a2baf6d0f3419587668a1a6eba46a3d2
- git.kernel.org https://git.kernel.org/stable/c/f0a6fd1527067da537e9c48390237488719948ed
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024071634-CVE-2022-48784-f061@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-48784
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-48784
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.