CVE-2022-49197af_netlink: Fix shift out of bounds in group mask calculation
- 5.5MediumCVSS base score
- 0.28%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: af_netlink: Fix shift out of bounds in group mask calculation When a netlink message is received, netlink_recvmsg() fills in the address of the sender. One of the fields is the 32-bit bitfield nl_groups, which carries the multicast group on which the message was received. The least significant bit corresponds to group 1, and therefore the highest group that the field can represent is 32. Above that, the UB sanitizer flags the out-of-bounds shift attempts. Which bits end up being set in such case is implementation defined, but it's either going to be a wrong non-zero value, or zero, which is at least not misleading. Make the latter choice deterministic by always setting to 0 for higher-numbered multicast groups. To get information about membership in groups >= 32, userspace is expected to use nl_pktinfo control messages[0], which are enabled by NETLINK_PKTINFO socket option. [0] https://lwn.net/Articles/147608/ The way to trigger this issue is e.g. through monitoring the BRVLAN group: # bridge monitor vlan & # ip link add name br type bridge Which produces the following citation: UBSAN: shift-out-of-bounds in net/netlink/af_netlink.c:162:19 shift exponent 32 is too large for 32-bit type 'int'
Timeline
ID reserved
By Linux
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.28% · top 80% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < e1c5d46f05aa23d740daae5cd3a6472145afac42
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < ac5883a8890a11c00b32a19949a25d4afeaa2f5a
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < f75f4abeec4c04b600a15b50c89a481f1e7435ee
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < 41249fff507387c3323b198d0052faed08b14de4
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < b0898362188e05b2202656058cc32d98fabf3bac
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < 7409ff6393a67ff9838d0ae1bd102fb5f020d07a
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < e8aaf3134bc5e943048eefe9f2ddaabf41d92b1a
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < e23e1e981247feb3c7d0236fe58aceb685f234ae
- affected f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198 – < 0caf6d9922192dd1afa8dc2131abfb4df1443b9f
- affected 2.6.14
- unaffected < 2.6.14
- unaffected 4.9.311 – ≤ 4.9.*
- unaffected 4.14.276 – ≤ 4.14.*
- unaffected 4.19.238 – ≤ 4.19.*
- unaffected 5.4.189 – ≤ 5.4.*
- unaffected 5.10.110 – ≤ 5.10.*
- unaffected 5.15.33 – ≤ 5.15.*
- unaffected 5.16.19 – ≤ 5.16.*
- unaffected 5.17.2 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References
References9
- https://git.kernel.org/stable/c/e1c5d46f05aa23d740daae5cd3a6472145afac42 (opens in a new tab)
- https://git.kernel.org/stable/c/ac5883a8890a11c00b32a19949a25d4afeaa2f5a (opens in a new tab)
- https://git.kernel.org/stable/c/f75f4abeec4c04b600a15b50c89a481f1e7435ee (opens in a new tab)
- https://git.kernel.org/stable/c/41249fff507387c3323b198d0052faed08b14de4 (opens in a new tab)
- https://git.kernel.org/stable/c/b0898362188e05b2202656058cc32d98fabf3bac (opens in a new tab)
- https://git.kernel.org/stable/c/7409ff6393a67ff9838d0ae1bd102fb5f020d07a (opens in a new tab)
- https://git.kernel.org/stable/c/e8aaf3134bc5e943048eefe9f2ddaabf41d92b1a (opens in a new tab)
- https://git.kernel.org/stable/c/e23e1e981247feb3c7d0236fe58aceb685f234ae (opens in a new tab)
- https://git.kernel.org/stable/c/0caf6d9922192dd1afa8dc2131abfb4df1443b9f (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55029 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-49197)Record last updated .