1. Archivio CVE
  2. 2026
  3. CVE-2026-74496

CVE-2026-74496

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 3.18 < 5.10.271 –
linux linux kernel >= 3.18 < 5.15.222 –
linux linux kernel >= 3.18 < 6.1.189 –
linux linux kernel >= 3.18 < 6.6.158 –
linux linux kernel >= 3.18 < 6.12.111 –
linux linux kernel >= 3.18 < 6.18.53 –
linux linux kernel >= 3.18 < 7.1.8 –
linux linux kernel >= 3.18 < 7.2 –
Tutte le 24.085 vulnerabilità di Linux Kernel