ipv6/addrconf: fix a potential refcount underflow for idev
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.11, 4.14.322, 4.19.291, 5.4.251, 5.10.188, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in c6395e32935d35e6f935e7caf1c2dac5a95943b4; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in df62fdcd004afa72ecbed0e862ebb983acd3aa57; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in c7eeba47058532f6077d6a658e38b6698f6ae71a; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in 2ad31ce40e8182860b631e37209e93e543790b7c; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in 82abd1c37d3bf2a2658b34772c17a25a6f9cca42; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in 436b7cc7eae7851c184b671ed7a4a64c750b86f7; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in 1f656e483eb4733d62f18dfb206a49b78f60f495; From b7b1bfce0bb68bd8f6e62a28295922785cc63781 · fixed in 06a0716949c22e2aefb648526580671197151acc; From 3.10.105 · fixed in 3.11
- Linux Linux
3.11
- KernelLinux
From 3.11.0 · fixed in 4.14.322; From 4.15.0 · fixed in 4.19.291; From 4.20.0 · fixed in 5.4.251; From 5.5.0 · fixed in 5.10.188; From 5.11.0 · fixed in 5.15.121; From 5.16.0 · fixed in 6.1.40; From 6.2.0 · fixed in 6.4.5
References 8
git.kernel.org
- stable/c/c6395e32935d35e6f935e7caf1c2dac5a95943b4
- stable/c/df62fdcd004afa72ecbed0e862ebb983acd3aa57
- stable/c/c7eeba47058532f6077d6a658e38b6698f6ae71a
- stable/c/2ad31ce40e8182860b631e37209e93e543790b7c
- stable/c/82abd1c37d3bf2a2658b34772c17a25a6f9cca42
- stable/c/436b7cc7eae7851c184b671ed7a4a64c750b86f7
- stable/c/1f656e483eb4733d62f18dfb206a49b78f60f495
- stable/c/06a0716949c22e2aefb648526580671197151acc