# CVE-2023-53189: ipv6/addrconf: fix a potential refcount underflow for idev

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-15T14:05:26.685Z
- Modified: 2026-10-15T22:17:39.233Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before c6395e32935d35e6f935e7caf1c2dac5a95943b4; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before df62fdcd004afa72ecbed0e862ebb983acd3aa57; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before c7eeba47058532f6077d6a658e38b6698f6ae71a; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before 2ad31ce40e8182860b631e37209e93e543790b7c; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before 82abd1c37d3bf2a2658b34772c17a25a6f9cca42; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before 436b7cc7eae7851c184b671ed7a4a64c750b86f7; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before 1f656e483eb4733d62f18dfb206a49b78f60f495; from b7b1bfce0bb68bd8f6e62a28295922785cc63781 before 06a0716949c22e2aefb648526580671197151acc; 973d5956f754cfc306f5e274d71503498f4b0324; from 3.10.105 before 3.11; 3.11 (not affected: before 3.11; from 4.14.322 up to 4.14.*; from 4.19.291 up to 4.19.*; from 5.4.251 up to 5.4.*; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 3.10.105 before 4.14.322; from 4.15 before 4.19.291; from 4.20 before 5.4.251; from 5.5 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.40; from 6.2 before 6.4.5; 6.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c6395e32935d35e6f935e7caf1c2dac5a95943b4> (patch)
- <https://git.kernel.org/stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57> (patch)
- <https://git.kernel.org/stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a> (patch)
- <https://git.kernel.org/stable/c/2ad31ce40e8182860b631e37209e93e543790b7c> (patch)
- <https://git.kernel.org/stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42> (patch)
- <https://git.kernel.org/stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7> (patch)
- <https://git.kernel.org/stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495> (patch)
- <https://git.kernel.org/stable/c/06a0716949c22e2aefb648526580671197151acc> (patch)

## Sources

- CVE List: [CVE-2023-53189](https://www.cve.org/CVERecord?id=CVE-2023-53189), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53189](https://nvd.nist.gov/vuln/detail/CVE-2023-53189), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-53189 · Whole record: https://cve.day/CVE-2023-53189.json · Rebuilt by cve.day 2026-11-25T22:58:34.765Z
