CVE-2023-53189
ipv6/addrconf: fix a potential refcount underflow for idev
Check your servers for CVE-2023-53189
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-53189 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:
ipv6/addrconf: fix a potential refcount underflow for idev
Now in addrconf_mod_rs_timer(), reference idev depends on whether rs_timer is not pending. Then modify rs_timer timeout.
There is a time gap in [1], during which if the pending rs_timer becomes not pending. It will miss to hold idev, but the rs_timer is activated. Thus rs_timer callback function addrconf_rs_timer() will be executed and put idev later without holding idev. A refcount underflow issue for idev can be caused by this.
if (!timer_pending(&idev->rs_timer)) in6_dev_hold(idev); <--------------[1] mod_timer(&idev->rs_timer, jiffies + when);
To fix the issue, hold idev if mod_timer() return 0.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.35% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before c6395e32935d35e6f935e7caf1c2dac5a95943b4 affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before df62fdcd004afa72ecbed0e862ebb983acd3aa57 affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before c7eeba47058532f6077d6a658e38b6698f6ae71a affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before 2ad31ce40e8182860b631e37209e93e543790b7c affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before 82abd1c37d3bf2a2658b34772c17a25a6f9cca42 affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before 436b7cc7eae7851c184b671ed7a4a64c750b86f7 affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before 1f656e483eb4733d62f18dfb206a49b78f60f495 affected from b7b1bfce0bb68bd8f6e62a28295922785cc63781, before 06a0716949c22e2aefb648526580671197151acc affected 973d5956f754cfc306f5e274d71503498f4b0324 affected from 3.10.105, before 3.11
Other versions: unaffected
|
| Linux |
affected 3.11 unaffected before 3.11 unaffected from 4.14.322 up to and including 4.14.* unaffected from 4.19.291 up to and including 4.19.* unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.40 up to and including 6.1.* unaffected from 6.4.5 up to and including 6.4.* unaffected 6.5 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-53189 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53189
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-53189
trivy image --scanners vuln IMAGE | grep CVE-2023-53189
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/c6395e32935d35e6f935e7caf1c2dac5a95943b4 git.kernel.org
- https://git.kernel.org/stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57 git.kernel.org
- https://git.kernel.org/stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a git.kernel.org
- https://git.kernel.org/stable/c/2ad31ce40e8182860b631e37209e93e543790b7c git.kernel.org
- https://git.kernel.org/stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42 git.kernel.org
- https://git.kernel.org/stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7 git.kernel.org
- https://git.kernel.org/stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495 git.kernel.org
- https://git.kernel.org/stable/c/06a0716949c22e2aefb648526580671197151acc git.kernel.org
Source: the record CVE-2023-53189 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse