CVE-2023-53189 (GCVE-0-2023-53189)
Vulnerability from cvelistv5
Published
2025-09-15 14:05
Modified
2025-09-15 14:05
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
Vendor | Product | Version | |||||||
---|---|---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: b7b1bfce0bb68bd8f6e62a28295922785cc63781 Version: 973d5956f754cfc306f5e274d71503498f4b0324 |
||||||
|
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "net/ipv6/addrconf.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "c6395e32935d35e6f935e7caf1c2dac5a95943b4", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "df62fdcd004afa72ecbed0e862ebb983acd3aa57", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "c7eeba47058532f6077d6a658e38b6698f6ae71a", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "2ad31ce40e8182860b631e37209e93e543790b7c", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "82abd1c37d3bf2a2658b34772c17a25a6f9cca42", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "436b7cc7eae7851c184b671ed7a4a64c750b86f7", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "1f656e483eb4733d62f18dfb206a49b78f60f495", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "lessThan": "06a0716949c22e2aefb648526580671197151acc", "status": "affected", "version": "b7b1bfce0bb68bd8f6e62a28295922785cc63781", "versionType": "git" }, { "status": "affected", "version": "973d5956f754cfc306f5e274d71503498f4b0324", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "net/ipv6/addrconf.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "3.11" }, { "lessThan": "3.11", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "4.14.*", "status": "unaffected", "version": "4.14.322", "versionType": "semver" }, { "lessThanOrEqual": "4.19.*", "status": "unaffected", "version": "4.19.291", "versionType": "semver" }, { "lessThanOrEqual": "5.4.*", "status": "unaffected", "version": "5.4.251", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.188", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.121", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.40", "versionType": "semver" }, { "lessThanOrEqual": "6.4.*", "status": "unaffected", "version": "6.4.5", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.5", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.14.322", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.19.291", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.4.251", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.188", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15.121", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1.40", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.4.5", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.5", "versionStartIncluding": "3.11", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.10.105", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6/addrconf: fix a potential refcount underflow for idev\n\nNow in addrconf_mod_rs_timer(), reference idev depends on whether\nrs_timer is not pending. Then modify rs_timer timeout.\n\nThere is a time gap in [1], during which if the pending rs_timer\nbecomes not pending. It will miss to hold idev, but the rs_timer\nis activated. Thus rs_timer callback function addrconf_rs_timer()\nwill be executed and put idev later without holding idev. A refcount\nunderflow issue for idev can be caused by this.\n\n\tif (!timer_pending(\u0026idev-\u003ers_timer))\n\t\tin6_dev_hold(idev);\n\t\t \u003c--------------[1]\n\tmod_timer(\u0026idev-\u003ers_timer, jiffies + when);\n\nTo fix the issue, hold idev if mod_timer() return 0." } ], "providerMetadata": { "dateUpdated": "2025-09-15T14:05:26.685Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/c6395e32935d35e6f935e7caf1c2dac5a95943b4" }, { "url": "https://git.kernel.org/stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57" }, { "url": "https://git.kernel.org/stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a" }, { "url": "https://git.kernel.org/stable/c/2ad31ce40e8182860b631e37209e93e543790b7c" }, { "url": "https://git.kernel.org/stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42" }, { "url": "https://git.kernel.org/stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7" }, { "url": "https://git.kernel.org/stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495" }, { "url": "https://git.kernel.org/stable/c/06a0716949c22e2aefb648526580671197151acc" } ], "title": "ipv6/addrconf: fix a potential refcount underflow for idev", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2023-53189", "datePublished": "2025-09-15T14:05:26.685Z", "dateReserved": "2025-09-15T13:59:19.066Z", "dateUpdated": "2025-09-15T14:05:26.685Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-53189\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T14:15:41.150\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nipv6/addrconf: fix a potential refcount underflow for idev\\n\\nNow in addrconf_mod_rs_timer(), reference idev depends on whether\\nrs_timer is not pending. Then modify rs_timer timeout.\\n\\nThere is a time gap in [1], during which if the pending rs_timer\\nbecomes not pending. It will miss to hold idev, but the rs_timer\\nis activated. Thus rs_timer callback function addrconf_rs_timer()\\nwill be executed and put idev later without holding idev. A refcount\\nunderflow issue for idev can be caused by this.\\n\\n\\tif (!timer_pending(\u0026idev-\u003ers_timer))\\n\\t\\tin6_dev_hold(idev);\\n\\t\\t \u003c--------------[1]\\n\\tmod_timer(\u0026idev-\u003ers_timer, jiffies + when);\\n\\nTo fix the issue, hold idev if mod_timer() return 0.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/06a0716949c22e2aefb648526580671197151acc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2ad31ce40e8182860b631e37209e93e543790b7c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c6395e32935d35e6f935e7caf1c2dac5a95943b4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…