CVE-2023-53189

ipv6/addrconf: fix a potential refcount underflow for idev

State
Published
Severity
7.8 High
Published
Sep 15, 2025
Updated
Oct 15, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before c6395e32935d35e6f935e7caf1c2dac5a95943b4Affected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before df62fdcd004afa72ecbed0e862ebb983acd3aa57Affected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before c7eeba47058532f6077d6a658e38b6698f6ae71aAffected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before 2ad31ce40e8182860b631e37209e93e543790b7cAffected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before 82abd1c37d3bf2a2658b34772c17a25a6f9cca42Affected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before 436b7cc7eae7851c184b671ed7a4a64c750b86f7Affected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before 1f656e483eb4733d62f18dfb206a49b78f60f495Affected
  • b7b1bfce0bb68bd8f6e62a28295922785cc63781 to before 06a0716949c22e2aefb648526580671197151accAffected
  • 973d5956f754cfc306f5e274d71503498f4b0324Affected
  • 3.10.105 to before 3.11Affected
LinuxLinux
  • 3.11Affected
  • before 3.11Not affected
  • 4.14.322 through 4.14.*Not affected
  • 4.19.291 through 4.19.*Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.40 through 6.1.*Not affected
  • 6.4.5 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.