CVE-2023-53189
Severity CVSS v4.0:
Pending analysis
Type:
CWE-191
Integer Underflow (Wrap or Wraparound)
Publication date:
15/09/2025
Last modified:
02/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ipv6/addrconf: fix a potential refcount underflow for idev<br />
<br />
Now in addrconf_mod_rs_timer(), reference idev depends on whether<br />
rs_timer is not pending. Then modify rs_timer timeout.<br />
<br />
There is a time gap in [1], during which if the pending rs_timer<br />
becomes not pending. It will miss to hold idev, but the rs_timer<br />
is activated. Thus rs_timer callback function addrconf_rs_timer()<br />
will be executed and put idev later without holding idev. A refcount<br />
underflow issue for idev can be caused by this.<br />
<br />
if (!timer_pending(&idev->rs_timer))<br />
in6_dev_hold(idev);<br />
rs_timer, jiffies + when);<br />
<br />
To fix the issue, hold idev if mod_timer() return 0.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.10.105 (including) | 4.14.322 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.291 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.251 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.188 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.121 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.40 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.4.5 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/06a0716949c22e2aefb648526580671197151acc
- https://git.kernel.org/stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495
- https://git.kernel.org/stable/c/2ad31ce40e8182860b631e37209e93e543790b7c
- https://git.kernel.org/stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7
- https://git.kernel.org/stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42
- https://git.kernel.org/stable/c/c6395e32935d35e6f935e7caf1c2dac5a95943b4
- https://git.kernel.org/stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a
- https://git.kernel.org/stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57



