CVE-2023-52832
wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
Check your servers for CVE-2023-52832
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52832 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
We can get a UBSAN warning if ieee80211_get_tx_power() returns the INT_MIN value mac80211 internally uses for "unset power level".
UBSAN: signed-integer-overflow in net/wireless/nl80211.c:3816:5 -2147483648 * 100 cannot be represented in type 'int' CPU: 0 PID: 20433 Comm: insmod Tainted: G WC OE Call Trace: dump_stack+0x74/0x92 ubsan_epilogue+0x9/0x50 handle_overflow+0x8d/0xd0 __ubsan_handle_mul_overflow+0xe/0x10 nl80211_send_iface+0x688/0x6b0 [cfg80211] [...] cfg80211_register_wdev+0x78/0xb0 [cfg80211] cfg80211_netdev_notifier_call+0x200/0x620 [cfg80211] [...] ieee80211_if_add+0x60e/0x8f0 [mac80211] ieee80211_register_hw+0xda5/0x1170 [mac80211]
In this case, simply return an error instead, to indicate that no data is available.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 77.7% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 21 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-920 Improper Restriction of Power Consumption
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before 717de20abdcd1d4993fa450e28b8086a352620ea affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before 21a0f310a9f3bfd2b4cf4f382430e638607db846 affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before 2be24c47ac19bf639c48c082486c08888bd603c6 affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before adc2474d823fe81d8da759207f4f1d3691aa775a affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before 5a94cffe90e20e8fade0b9abd4370bd671fe87c7 affected from db6d9e9e8b48b7ab68c61553eb5fa68534dd0fde, before e160ab85166e77347d0cbe5149045cb25e83937f
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.202 up to and including 5.10.* unaffected from 5.15.140 up to and including 5.15.* unaffected from 6.1.64 up to and including 6.1.* unaffected from 6.5.13 up to and including 6.5.* unaffected from 6.6.3 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52832 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52832
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52832
trivy image --scanners vuln IMAGE | grep CVE-2023-52832
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/717de20abdcd1d4993fa450e28b8086a352620ea git.kernel.org
- https://git.kernel.org/stable/c/21a0f310a9f3bfd2b4cf4f382430e638607db846 git.kernel.org
- https://git.kernel.org/stable/c/2be24c47ac19bf639c48c082486c08888bd603c6 git.kernel.org
- https://git.kernel.org/stable/c/adc2474d823fe81d8da759207f4f1d3691aa775a git.kernel.org
- https://git.kernel.org/stable/c/5a94cffe90e20e8fade0b9abd4370bd671fe87c7 git.kernel.org
- https://git.kernel.org/stable/c/e160ab85166e77347d0cbe5149045cb25e83937f git.kernel.org
- https://git.kernel.org/stable/c/1571120c44dbe5757aee1612c5b6097cdc42710f git.kernel.org
- https://git.kernel.org/stable/c/298e767362cade639b7121ecb3cc5345b6529f62 git.kernel.org
- https://git.kernel.org/stable/c/efeae5f4972f75d50002bc50eb112ab9e7069b18 git.kernel.org
Source: the record CVE-2023-52832 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse