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'
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernelUpgrade kernel-develUpgrade kernel-livepatch-5.10.112-108.499Upgrade python-perf-debuginfoUpgrade kernel-livepatch-4.14.276-211.499Upgrade kernel-tools-debuginfoUpgrade kernel-debuginfoUpgrade kernel-tools-develUpgrade kernel-headersUpgrade perf-debuginfoUpgrade python-perfUpgrade bpftool-debuginfoUpgrade perfUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-debuginfo-common-x86_64 | May 21, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernelUpgrade kernel-tools-libsUpgrade python3-perfUpgrade bpftoolUpgrade kernel-toolsUpgrade kernel-abi-stablelists | Jul 1, 2025 | Feb 26, 2025 |
| Redhat_linux | — | Upgrade kernel-rtNo solution existsUpgrade kernel | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-azureUpgrade linux-aws-hweUpgrade linux-gkeUpgrade linux-bluefieldUpgrade linux-lowlatencyUpgrade linux-intel-iotgUpgrade linux-hwe-5.15Upgrade linux-raspiUpgrade linux-realtimeUpgrade linux-aws-5.4Upgrade linux-fipsUpgrade linux-oracle-5.4Upgrade linux-raspi-5.4Upgrade linux-awsUpgrade linux-lowlatency-hwe-5.15Upgrade linux-gcp-fipsUpgrade linux-azure-5.15Upgrade linux-ibm-5.4Upgrade linux-oracleUpgrade linux-ibmUpgrade linuxUpgrade linux-kvmUpgrade linux-aws-fipsUpgrade linux-azure-fipsUpgrade linux-intel-iotg-5.15Upgrade linux-gcpUpgrade linux-iotUpgrade linux-azure-4.15Upgrade linux-gcp-5.4Upgrade linux-hwe-5.4Upgrade linux-gcp-4.15Upgrade linux-hweUpgrade linux-azure-5.4 | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub