VDB

CVE-2023-3776

CVE-2023-3776 PUBLISHED CVSS 7.8 HIGH

Use-after-free in Linux kernel's net/sched: cls_fw component

Reported by google · Published July 21, 2023

A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. If tcf_change_indev() fails, fw_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability. We recommend upgrading past commit 0323bce598eea038714f941ce2b22541c46d488f.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.41-63.109.amzn2023
kernel-toolsAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
python-perfAmazon Linux4.14.320-243.544.amzn2
perfAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
kernel-livepatch-6.1.41-63.109Amazon Linux1.0-0.amzn2023
kernelAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
kernel-libbpfAmazon Linux6.1.41-63.109.amzn2023
kernel-develAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
kernel-tools-develAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
kernel-headersAmazon Linux6.1.41-63.109.amzn2023, 4.14.320-243.544.amzn2
kernel-libbpf-develAmazon Linux6.1.41-63.109.amzn2023
kernel-libbpf-staticAmazon Linux6.1.41-63.109.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxKernel2.6
amazon:2023bpftool0
amazon:2kernel-tools0
amazon:2python-perf0
amazon:2023perf0
amazon:2023kernel-livepatch-6.1.41-63.1090
amazon:2023kernel0
amazon:2023kernel-libbpf0
amazon:2023kernel-devel0
amazon:2kernel-tools-devel0
amazon:2023kernel-headers0
LinuxKernel2.6
amazon:2023kernel-libbpf-devel0
amazon:2kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2kernel0
amazon:2kernel-devel0
amazon:2023python3-perf0
amazon:2kernel-livepatch-4.14.320-243.5440
amazon:2023kernel-tools-devel0

…and 2 more

Timeline

  • Jul 21, 2023 CVE Published
  • Jul 22, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 5, 2025 CVE Updated
  • Mar 11, 2026 Distribution Patch (117 in total, the first dated here)
  • Mar 11, 2026 Security Advisory (124 in total, the first dated here)
  • Aug 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-3776
vulnetix vdb fixes CVE-2023-3776

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-3776/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›