Skip to content
Heist/ feed
Back to feed
HighFix available

net/xen-netback: prevent UAF in xenvif_flush_hash()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.227, 5.15.168, 5.4.290, 6.1.113, 6.10.14, 6.11.3, 6.6.55
CVEs
CVE-2024-49936
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:15 UTC · Revision 1

Source evidence

net/xen-netback: prevent UAF in xenvif_flush_hash()

core-osv · Original source

Published 21 Oct 2024, 18:01 UTC

In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.

osv:CVE-2024-49936

Kernel

Fixed versions: 5.4.290, 5.10.227, 5.15.168, 6.1.113, 6.6.55, 6.10.14, 6.11.3

Complete source record
{
  "id": "02cee15a6c8664d8756481a1e8877a91db8134219a68eecb5ecd4db5530ae999",
  "url": "https://osv.dev/vulnerability/CVE-2024-49936",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/xen-netback: prevent UAF in xenvif_flush_hash()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.",
    "evidence": "osv:CVE-2024-49936",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.290",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.227",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.168",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-49936",
      "aliases": [
        "CVE-2024-49936"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "40d8abdee806d496a60ee607a6d01b1cd7fabaf0"
                },
                {
                  "fixed": "3c4423b0c4b98213b3438e15061e1d08220e6982"
                },
                {
                  "fixed": "a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c"
                },
                {
                  "fixed": "a0465723b8581cad27164c9073fd780904cd22d4"
                },
                {
                  "fixed": "efcff6ce7467f01f0753609f420333f3f2ceceda"
                },
                {
                  "fixed": "143edf098b80669d05245b2f2367dd156a83a2c5"
                },
                {
                  "fixed": "d408889d4b54f5501e4becc4dbbb9065143fbf4e"
                },
                {
                  "fixed": "54d8639af5568fc41c0e274fc3ec9cf86c59fcbb"
                },
                {
                  "fixed": "0fa5e94a1811d68fbffa0725efe6d4ca62c03d12"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49936.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.7.0"
                },
                {
                  "fixed": "5.4.290"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.227"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.168"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49936.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.157384475Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12",
        "https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5",
        "https://git.kernel.org/stable/c/3c4423b0c4b98213b3438e15061e1d08220e6982",
        "https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb",
        "https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4",
        "https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c",
        "https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e",
        "https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49936.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49936",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49936.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49936",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509765,
  "published_at": "2024-10-21T18:01:57.066+00:00"
}