CVE-2023-53189

Source
https://cve.org/CVERecord?id=CVE-2023-53189
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53189.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53189
Downstream
Related
Published
2025-09-15T14:05:26.685Z
Modified
2026-03-20T12:33:00.145569Z
Summary
ipv6/addrconf: fix a potential refcount underflow for idev
Details

In the Linux kernel, the following vulnerability has been resolved:

ipv6/addrconf: fix a potential refcount underflow for idev

Now in addrconfmodrstimer(), reference idev depends on whether rstimer is not pending. Then modify rs_timer timeout.

There is a time gap in [1], during which if the pending rstimer becomes not pending. It will miss to hold idev, but the rstimer is activated. Thus rstimer callback function addrconfrs_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53189.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b7b1bfce0bb68bd8f6e62a28295922785cc63781
Fixed
c6395e32935d35e6f935e7caf1c2dac5a95943b4
Fixed
df62fdcd004afa72ecbed0e862ebb983acd3aa57
Fixed
c7eeba47058532f6077d6a658e38b6698f6ae71a
Fixed
2ad31ce40e8182860b631e37209e93e543790b7c
Fixed
82abd1c37d3bf2a2658b34772c17a25a6f9cca42
Fixed
436b7cc7eae7851c184b671ed7a4a64c750b86f7
Fixed
1f656e483eb4733d62f18dfb206a49b78f60f495
Fixed
06a0716949c22e2aefb648526580671197151acc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
973d5956f754cfc306f5e274d71503498f4b0324

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53189.json"