Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: net: remove WARN_ON_ONCE() from sk_mc_loop() sk_mc_loop() can be called for sockets that are neither AF_INET nor AF_INET6 (e.g. AF_PACKET sockets when sending packets via raw/packet socket over virtual devices such as VRF or ipvlan). In such cases, sk_family is not AF_INET/AF_INET6 and sk_mc_loop() falls through the switch statement and triggers WARN_ON_ONCE(1). Non-INET sockets do not support IP_MULTICAST_LOOP or IPV6_MULTICAST_LOOP options, so loopback should default to true without generating a warning.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before 97133c4d42654578fab95abe47359ebe784dde18; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before f625c742b33dc137c209dd13d1c5f12b1c18d71c; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before ad7fa2f411cb30f63d6725f111be134064cdb718; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before d2adc4e80b29e58b5162ae09f0f657a215806c8c; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before ad7dbb1d14b1b4406eca8ef9478e8de312ba0cfe; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before c8f256dc849205ccb2bd78bd99a3497b972b44e0; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before 0d75f2c1d0764efa756ad9c1e078d8c09ea8fc1f; affected f60e5990d9c1424af9dbca60a23ba2a1c7c1ce90 before b8a39a09ae4eaae04309e1e38ed6a1101d967496; affected c91f81773cd4bbebfe744e9ab30a7ce093f9b930; affected c8c30b2b17f2133e953850c547e3902c3a3d80e2; affected 3fe207e4637a2e792c46a08666aa722f77d7f8f7; affected 3.14.40 before 3.15; affected 3.18.13 before 3.19; affected 3.19.6 before 3.20 |
| Linux / Linux | affected 4.0; unaffected 0 before 4.0; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.152 through 6.6.*; unaffected 6.12.104 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/97133c4d42654578fab95abe47359ebe784dde18
- https://git.kernel.org/stable/c/f625c742b33dc137c209dd13d1c5f12b1c18d71c
- https://git.kernel.org/stable/c/ad7fa2f411cb30f63d6725f111be134064cdb718
- https://git.kernel.org/stable/c/d2adc4e80b29e58b5162ae09f0f657a215806c8c
- https://git.kernel.org/stable/c/ad7dbb1d14b1b4406eca8ef9478e8de312ba0cfe
- https://git.kernel.org/stable/c/c8f256dc849205ccb2bd78bd99a3497b972b44e0
- https://git.kernel.org/stable/c/0d75f2c1d0764efa756ad9c1e078d8c09ea8fc1f
- https://git.kernel.org/stable/c/b8a39a09ae4eaae04309e1e38ed6a1101d967496