ipv6/addrconf: fix a potential refcount underflow for idev
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel df62fdcd004afa72ecbed0e862ebb983acd3aa57, Kernel 3.11, Kernel 06a0716949c22e2aefb648526580671197151acc and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <df62fdcd004afa72ecbed0e862ebb983acd3aa57, >=3.10.105 <3.11, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <06a0716949c22e2aefb648526580671197151acc, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <1f656e483eb4733d62f18dfb206a49b78f60f495, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <2ad31ce40e8182860b631e37209e93e543790b7c, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <436b7cc7eae7851c184b671ed7a4a64c750b86f7, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <82abd1c37d3bf2a2658b34772c17a25a6f9cca42, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <c6395e32935d35e6f935e7caf1c2dac5a95943b4, >=b7b1bfce0bb68bd8f6e62a28295922785cc63781 <c7eeba47058532f6077d6a658e38b6698f6ae71a, =3.11, =973d5956f754cfc306f5e274d71503498f4b0324 | df62fdcd004afa72ecbed0e862ebb983acd3aa57, 3.11, 06a0716949c22e2aefb648526580671197151acc, 1f656e483eb4733d62f18dfb206a49b78f60f495, 2ad31ce40e8182860b631e37209e93e543790b7c, 436b7cc7eae7851c184b671ed7a4a64c750b86f7, 82abd1c37d3bf2a2658b34772c17a25a6f9cca42, c6395e32935d35e6f935e7caf1c2dac5a95943b4, c7eeba47058532f6077d6a658e38b6698f6ae71a |
| linux-kernel: Kernel | >=3.11.0 <4.14.322, >=4.15.0 <4.19.291, >=4.20.0 <5.4.251, >=5.11.0 <5.15.121, >=5.16.0 <6.1.40, >=5.5.0 <5.10.188, >=6.2.0 <6.4.5, >=3.10.105 <3.11 | 4.14.322, 4.19.291, 5.4.251, 5.15.121, 6.1.40, 5.10.188, 6.4.5, 3.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket