CVE-2026-43481

net-shapers: don't free reply skb after genlmsg_reply()

Published May 13, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net-shapers: don't free reply skb after genlmsg_reply()

genlmsg_reply() hands the reply skb to netlink, and
netlink_unicast() consumes it on all return paths, whether the
skb is queued successfully or freed on an error path.

net_shaper_nl_get_doit() and net_shaper_nl_cap_get_doit()
currently jump to free_msg after genlmsg_reply() fails and call
nlmsg_free(msg), which can hit the same skb twice.

Return the genlmsg_reply() error directly and keep free_msg
only for pre-reply failures.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel’s net‑shapers implementation causes a double free of a socket buffer after a genlmsg_reply call fails. The duplicated free can corrupt kernel memory, potentially leading to a kernel panic or local escalation of privilege if an attacker can trigger the failure path. Thus, the primary impact is disruption of system availability or possible local privilege escalation on a vulnerable host.

Affected Systems

The vulnerability affects the Linux kernel, specifically the net‑shapers code path that handles netlink replies. All kernel versions that contain the problematic net_shapers logic and have not yet incorporated the recent patch (identified by commit 57885276cc16a2e2b76282c808a4e84cbecb3aae) are susceptible. No specific version numbers are listed, so the risk applies to any Linux kernel running an unpatched net_shapers implementation.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability. The EPSS score is less than 1%, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed exploits yet. The likely attack vector is local: an attacker with privileges to send crafted netlink messages to the kernel can invoke the buggy path. Due to the lack of publicly reported exploits, the risk is moderate to high for organizations running affected kernels, especially those with exposed netlink interfaces or root access. The potential for denial of service or privilege escalation warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the system to a Linux kernel release that includes the net_shapers double‑free fix
  • Reboot the host after updating the kernel to ensure the patched code is active
  • Verify that any custom net‑shaping modules are removed or updated to avoid the buggy code path

Generated by OpenCVE AI on August 14, 2026 at 03:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net-shapers: don't free reply skb after genlmsg_reply() genlmsg_reply() hands the reply skb to netlink, and netlink_unicast() consumes it on all return paths, whether the skb is queued successfully or freed on an error path. net_shaper_nl_get_doit() and net_shaper_nl_cap_get_doit() currently jump to free_msg after genlmsg_reply() fails and call nlmsg_free(msg), which can hit the same skb twice. Return the genlmsg_reply() error directly and keep free_msg only for pre-reply failures.
Title net-shapers: don't free reply skb after genlmsg_reply()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:28 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 13, 2026, 4:16 PM
Modified
Jun 26, 2026, 8:17 PM
Severity
Moderate
Public date
May 13, 2026, 12:00 AM