PatchSiren cyber security CVE debrief
CVE-2026-31531 Linux CVE debrief
A vulnerability in the Linux kernel's IPv4 nexthop implementation can cause a warning when querying large nexthop groups. The issue arises from a fixed-size skb allocation that fails for large groups, resulting in a warning splat. The fix dynamically allocates the skb size using nh_nlmsg_size() and nlmsg_new(). This change ensures that the kernel can handle large nexthop groups without overflowing the allocated buffer. Linux kernel maintainers, administrators, and users of large nexthop groups should assess exposure and apply patches to prevent warning splats and potential issues with dynamic skb allocation.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- MEDIUM 5.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-23
- Original CVE updated
- 2026-10-21
- Advisory published
- 2026-04-23
- Advisory updated
- 2026-10-21
Who should care
Linux kernel maintainers, administrators, and users of large nexthop groups should assess exposure and apply patches to prevent warning splats and potential issues with dynamic skb allocation. Defenders should verify patch application, assess exposure in large nexthop group configurations, and monitor for potential issues with dynamic skb allocation.
Why it matters
A vulnerability in the Linux kernel's IPv4 nexthop implementation can cause warning splats in large nexthop groups. Defenders should assess exposure, apply patches, and monitor for potential issues.
- Verify patch application to prevent warning splats
- Assess exposure in large nexthop group configurations
- Monitor for potential issues with dynamic skb allocation
Technical summary
The Linux kernel's IPv4 nexthop implementation has a vulnerability that causes a warning when querying large nexthop groups. The issue arises from a fixed-size skb allocation in rtm_get_nexthop() that fails for large groups. The fix dynamically allocates the skb size using nh_nlmsg_size() and nlmsg_new(). This change ensures that the kernel can handle large nexthop groups without overflowing the allocated buffer. The patch is consistent with nexthop_notify() behavior and adjusts nh_nlmsg_size_grp() to calculate the size needed based on flags passed.
Defensive priority
Medium priority for Linux kernel maintainers and administrators to assess exposure and apply patches.
Recommended defensive actions
- Assess exposure by reviewing Linux kernel versions and configurations
- Apply patches from Linux kernel maintainers
- Monitor for potential warning splats in large nexthop groups
- Verify patch application to prevent warning splats
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The issue is caused by a fixed-size skb allocation in rtm_get_nexthop() that fails for large nexthop groups. The fix adjusts the allocation to use nh_nlmsg_size() and nlmsg_new(). This change is based on the official Linux kernel patch that addresses the vulnerability. The patch dynamically allocates the skb size, ensuring that large nexthop groups can be handled without overflowing the allocated buffer. Defenders should verify patch application and assess exposure in large nexthop group configurations.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-31531 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-31531
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-31531 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31531
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/14cf0cd35361f4e94824bf8a42f72713d7702a73
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/18a4543c1750f96be63e349936d2dfdcb360b2dc
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/40bd39e383a0478fd5c221f393df05fd9d70cfbc
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/615517f3f8d53b0cf41507c7599971e17adfdfa5
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/635038fe19db391117e66b46bdc2b6e447ac801d
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.