VDB

CVE-2026-74496

CVE-2026-74496 PUBLISHED CVSS 7.8 HIGH

fou: Fix use-after-free in fou_create()

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: fou: Fix use-after-free in fou_create() fou_create() publishes struct fou through sk_user_data before adding the new FOU port to the per-netns list. If fou_add_to_port_list() fails, the error path frees fou while it is still reachable through sk_user_data. A concurrent receive can then dereference the freed object in fou_from_sock(). This ordering issue was previously noted in the linked discussion. The failure is reachable when local port 0 is requested. Each socket binds to a different ephemeral port, but fou_cfg_cmp() compares the requested port 0 and reports -EALREADY once an entry already exists. Release the tunnel socket before freeing fou so sk_user_data is cleared first, and defer reclamation with kfree_rcu() to protect concurrent RCU readers. This matches the lifetime handling in fou_release().

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernelAmazon Linux1:6.1.189-236.399.amzn2023
python3-perfAmazon Linux1:6.1.189-236.399.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023

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
LinuxLinux23461551c00628c3f3fe9cf837bf53cf8f212b63, 23461551c00628c3f3fe9cf837bf53cf8f212b63, 23461551c00628c3f3fe9cf837bf53cf8f212b63
LinuxLinux3.18, 0, 5.10.271
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023microvm-kernel6.180
amazon:2023microvm-kernel0
amazon:2023perf0
linuxlinux_kernel3.18, 3.18, 3.18
amazon:2023kernel6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-devel0

…and 19 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (8 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Oct 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74496
vulnetix vdb fixes CVE-2026-74496

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-2026-74496/fixes/registry"

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

References

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