CVE-2023-53189
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-191
- Record status
- Modified
Affected
- Linux Kernel < 4.14.322
- Linux Kernel < 4.19.291
- Linux Kernel < 5.4.251
- Linux Kernel < 5.10.188
- Linux Kernel < 5.15.121
- Linux Kernel < 6.1.40
- Linux Kernel < 6.4.5
- Linux Kernel 6.5
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-53189.md and follow it. Check whether this project is affected by CVE-2023-53189. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
References
- 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