# CVE-2026-74496: fou: Fix use-after-free in fou\_create()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T12:27:23.854Z
- **Modified:** 2026-10-16T20:17:32.610Z

## Who should check

- Anyone running Linux \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 0ee628a58d83e571f36ec9f07624d6845e420c50; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a6fca682cfa2041e31aa72cc397c4a1406eb7468; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b3f9c3e60aa25453774f899d25b5e61dd0bec1d5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 99f4d3120b244f92e5df787152041296a2860cb5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 58835985c035a8333742f829ad7e0889a082f9d3; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 9042867d4701728f0c6527215b11471759904d8f; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a28d8903bfe76089ea4bbdbff9976965f9ef8107; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b14361aca6350ff7907b0e9903c7b94dc7d5d4a0
- Anyone running Linux 3.18

## Description

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().

## Affected and fixed versions

- Linux: \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 0ee628a58d83e571f36ec9f07624d6845e420c50; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a6fca682cfa2041e31aa72cc397c4a1406eb7468; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b3f9c3e60aa25453774f899d25b5e61dd0bec1d5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 99f4d3120b244f92e5df787152041296a2860cb5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 58835985c035a8333742f829ad7e0889a082f9d3; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 9042867d4701728f0c6527215b11471759904d8f; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a28d8903bfe76089ea4bbdbff9976965f9ef8107; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b14361aca6350ff7907b0e9903c7b94dc7d5d4a0 (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74496. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74496.md
Affected: Linux >= 23461551c00628c3f3fe9cf837bf53cf8f212b63, < 0ee628a58d83e571f36ec9f07624d6845e420c50; >= 23461551c00628c3f3fe9cf837bf53cf8f212b63, < a6fca682cfa2041e31aa72cc397c4a1406eb7468; >= 23461551c00628c3f3fe9cf837bf53cf8f212b63, < b3f9c3e60aa25453774f899d25b5e61dd0bec1d5; >= 23461551c00628c3f3fe9cf…
Fixed in: Linux 0ee628a58d83e571f36ec9f07624d6845e420c50, Linux 99f4d3120b244f92e5df787152041296a2860cb5, Linux 58835985c035a8333742f829ad7e0889a082f9d3, Linux 9042867d4701728f0c6527215b11471759904d8f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74496 being exploited?

There is no confirmed exploitation: CVE-2026-74496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74496?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74496?

Linux \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 0ee628a58d83e571f36ec9f07624d6845e420c50; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a6fca682cfa2041e31aa72cc397c4a1406eb7468; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b3f9c3e60aa25453774f899d25b5e61dd0bec1d5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 99f4d3120b244f92e5df787152041296a2860cb5; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 58835985c035a8333742f829ad7e0889a082f9d3; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< 9042867d4701728f0c6527215b11471759904d8f; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< a28d8903bfe76089ea4bbdbff9976965f9ef8107; \>= 23461551c00628c3f3fe9cf837bf53cf8f212b63, \< b14361aca6350ff7907b0e9903c7b94dc7d5d4a0; Linux 3.18.

### Is there a fix for CVE-2026-74496?

Yes. Fixed in Linux 0ee628a58d83e571f36ec9f07624d6845e420c50, Linux 99f4d3120b244f92e5df787152041296a2860cb5, Linux 58835985c035a8333742f829ad7e0889a082f9d3, Linux 9042867d4701728f0c6527215b11471759904d8f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74496?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0ee628a58d83e571f36ec9f07624d6845e420c50>
- other: <https://git.kernel.org/stable/c/a6fca682cfa2041e31aa72cc397c4a1406eb7468>
- other: <https://git.kernel.org/stable/c/b3f9c3e60aa25453774f899d25b5e61dd0bec1d5>
- other: <https://git.kernel.org/stable/c/99f4d3120b244f92e5df787152041296a2860cb5>
- other: <https://git.kernel.org/stable/c/58835985c035a8333742f829ad7e0889a082f9d3>
- other: <https://git.kernel.org/stable/c/9042867d4701728f0c6527215b11471759904d8f>
- other: <https://git.kernel.org/stable/c/a28d8903bfe76089ea4bbdbff9976965f9ef8107>
- other: <https://git.kernel.org/stable/c/b14361aca6350ff7907b0e9903c7b94dc7d5d4a0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74496>

HTML: <https://flawdb.com/CVE-2026-74496> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74496>
